提交 fbe74e36 编写于 作者: J Javier Martinez Canillas 提交者: Jiri Kosina

security: struct security_operations kerneldoc fix

unix_may_send hook has the prototype:

int (*unix_may_send) (struct socket *sock, struct socket *other)

so the documentation is wrongly referring to the second argument as @sock.
Signed-off-by: NJavier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 4ff162f0
......@@ -812,7 +812,7 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts)
* Check permissions before connecting or sending datagrams from @sock to
* @other.
* @sock contains the socket structure.
* @sock contains the peer socket structure.
* @other contains the peer socket structure.
* Return 0 if permission is granted.
*
* The @unix_stream_connect and @unix_may_send hooks were necessary because
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册