diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-02-15 05:58:54 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-02-28 10:01:55 -0500 |
commit | fbe74e361c6586cdd996bc2805033999dd469e99 (patch) | |
tree | 76ce4479bbb4391181b8f5bf4f558953ca367074 /include/linux/security.h | |
parent | 4ff162f0795ae962d90f7b0931db03221fa0ac18 (diff) |
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: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index 83c18e8c846d..c8949385e56e 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -812,7 +812,7 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts) | |||
812 | * Check permissions before connecting or sending datagrams from @sock to | 812 | * Check permissions before connecting or sending datagrams from @sock to |
813 | * @other. | 813 | * @other. |
814 | * @sock contains the socket structure. | 814 | * @sock contains the socket structure. |
815 | * @sock contains the peer socket structure. | 815 | * @other contains the peer socket structure. |
816 | * Return 0 if permission is granted. | 816 | * Return 0 if permission is granted. |
817 | * | 817 | * |
818 | * The @unix_stream_connect and @unix_may_send hooks were necessary because | 818 | * The @unix_stream_connect and @unix_may_send hooks were necessary because |