summaryrefslogtreecommitdiff
path: root/include/linux/security.h
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2013-04-10 15:34:14 -0400
committerDavid S. Miller <davem@davemloft.net>2013-04-10 15:40:39 -0400
commit6b07a24fc38476e04f591cc17594bc1835b9efdd (patch)
tree6c8cb322a5782f7b6fae5e4c1bd7f7c2c55ec165 /include/linux/security.h
parentfea75645342c7ad574214497a78e562db12dfd7b (diff)
downloadlwn-6b07a24fc38476e04f591cc17594bc1835b9efdd.tar.gz
lwn-6b07a24fc38476e04f591cc17594bc1835b9efdd.zip
lsm: add the missing documentation for the security_skb_owned_by() hook
Unfortunately we didn't catch the missing comments earlier when the patch was merged. Signed-off-by: Paul Moore <pmoore@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r--include/linux/security.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index 6c3a78ace051..032c366ef1c6 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -1012,6 +1012,10 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts)
* This hook can be used by the module to update any security state
* associated with the TUN device's security structure.
* @security pointer to the TUN devices's security structure.
+ * @skb_owned_by:
+ * This hook sets the packet's owning sock.
+ * @skb is the packet.
+ * @sk the sock which owns the packet.
*
* Security hooks for XFRM operations.
*