diff mbox

lsm: add the missing documentation for the security_skb_owned_by() hook

Message ID 20130410193414.11364.7314.stgit@localhost
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Paul Moore April 10, 2013, 7:34 p.m. UTC
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(+)


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller April 10, 2013, 7:41 p.m. UTC | #1
From: Paul Moore <pmoore@redhat.com>
Date: Wed, 10 Apr 2013 15:34:14 -0400

> Unfortunately we didn't catch the missing comments earlier when the
> patch was merged.
> 
> Signed-off-by: Paul Moore <pmoore@redhat.com>

Good timing, I was about to send Linus a pull request :-)

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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.
  *