diff mbox

lsm: export the security_skb_owned_by() function

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

Commit Message

Paul Moore April 12, 2013, 3:43 p.m. UTC
Another bit we missed when adding the skb_owned_by() hook.

Signed-off-by: Paul Moore <pmoore@redhat.com>
---
 security/security.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


--
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 12, 2013, 5:39 p.m. UTC | #1
From: Paul Moore <pmoore@redhat.com>
Date: Fri, 12 Apr 2013 11:43:00 -0400

> Another bit we missed when adding the skb_owned_by() hook.
> 
> Signed-off-by: Paul Moore <pmoore@redhat.com>

CONFIG_SECURITY is a bool, as is ipv4, so neither the definition
nor the call sites can be modular.

Therefore no export is needed.
--
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
Paul Moore April 12, 2013, 6:51 p.m. UTC | #2
On Friday, April 12, 2013 01:39:43 PM David Miller wrote:
> From: Paul Moore <pmoore@redhat.com>
> Date: Fri, 12 Apr 2013 11:43:00 -0400
> 
> > Another bit we missed when adding the skb_owned_by() hook.
> > 
> > Signed-off-by: Paul Moore <pmoore@redhat.com>
> 
> CONFIG_SECURITY is a bool, as is ipv4, so neither the definition
> nor the call sites can be modular.
> 
> Therefore no export is needed.

Yep, sorry about that.
diff mbox

Patch

diff --git a/security/security.c b/security/security.c
index 03f248b..9eebd6b 100644
--- a/security/security.c
+++ b/security/security.c
@@ -1294,7 +1294,7 @@  void security_skb_owned_by(struct sk_buff *skb, struct sock *sk)
 {
 	security_ops->skb_owned_by(skb, sk);
 }
-
+EXPORT_SYMBOL(security_skb_owned_by);
 #endif	/* CONFIG_SECURITY_NETWORK */
 
 #ifdef CONFIG_SECURITY_NETWORK_XFRM