netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] lsm: add the missing documentation for the security_skb_owned_by() hook
@ 2013-04-10 19:34 Paul Moore
  2013-04-10 19:41 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Moore @ 2013-04-10 19:34 UTC (permalink / raw)
  To: netdev, linux-security-module

Unfortunately we didn't catch the missing comments earlier when the
patch was merged.

Signed-off-by: Paul Moore <pmoore@redhat.com>
---
 include/linux/security.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/linux/security.h b/include/linux/security.h
index eee7478..9284c84 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.
  *


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-10 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-10 19:34 [PATCH] lsm: add the missing documentation for the security_skb_owned_by() hook Paul Moore
2013-04-10 19:41 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).