lsm: export the security_skb_owned_by() function
Subsystems (3)
PATCH 1/1 lsm: export the security_skb_owned_by() function
Another bit we missed when adding the skb_owned_by() hook.
Signed-off-by Paul Moore <[email protected]>
--- security/security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
security/security.c +1 -1
@@ -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
David Miller
maintainerFrom: Paul Moore <[email protected]>
Date: Fri, 12 Apr 2013 11:43:00 -0400
Quoted 3 lines
Another bit we missed when adding the
skb_owned_by()hook.Signed-off-by Paul Moore <[email protected]>
CONFIG_SECURITY is a bool, as is ipv4, so neither the definition nor the call sites can be modular.
Therefore no export is needed.
Quoted 11 lines · David Miller
From: Paul Moore <[email protected]>
Date: Fri, 12 Apr 2013 11:43:00 -0400Quoted 3 lines
Another bit we missed when adding the
skb_owned_by()hook.Signed-off-by Paul Moore <[email protected]>
CONFIG_SECURITYis 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.
Signature · 2 lines
paul moore security and virtualization @ redhat