* [PATCH] lsm: export the security_skb_owned_by() function
@ 2013-04-12 15:43 Paul Moore
2013-04-12 17:39 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Paul Moore @ 2013-04-12 15:43 UTC (permalink / raw)
To: linux-security-module; +Cc: netdev
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(-)
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] lsm: export the security_skb_owned_by() function
2013-04-12 15:43 [PATCH] lsm: export the security_skb_owned_by() function Paul Moore
@ 2013-04-12 17:39 ` David Miller
2013-04-12 18:51 ` Paul Moore
0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2013-04-12 17:39 UTC (permalink / raw)
To: pmoore; +Cc: linux-security-module, netdev
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] lsm: export the security_skb_owned_by() function
2013-04-12 17:39 ` David Miller
@ 2013-04-12 18:51 ` Paul Moore
0 siblings, 0 replies; 3+ messages in thread
From: Paul Moore @ 2013-04-12 18:51 UTC (permalink / raw)
To: David Miller; +Cc: linux-security-module, netdev
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.
--
paul moore
security and virtualization @ redhat
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-12 18:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-12 15:43 [PATCH] lsm: export the security_skb_owned_by() function Paul Moore
2013-04-12 17:39 ` David Miller
2013-04-12 18:51 ` Paul Moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox