aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include/netlabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/include/netlabel.h')
-rw-r--r--security/selinux/include/netlabel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/security/selinux/include/netlabel.h b/security/selinux/include/netlabel.h
index 487a7d81fe20..d4e3ac8a7fbf 100644
--- a/security/selinux/include/netlabel.h
+++ b/security/selinux/include/netlabel.h
@@ -39,6 +39,8 @@
39#ifdef CONFIG_NETLABEL 39#ifdef CONFIG_NETLABEL
40void selinux_netlbl_cache_invalidate(void); 40void selinux_netlbl_cache_invalidate(void);
41 41
42void selinux_netlbl_err(struct sk_buff *skb, int error, int gateway);
43
42void selinux_netlbl_sk_security_reset(struct sk_security_struct *ssec, 44void selinux_netlbl_sk_security_reset(struct sk_security_struct *ssec,
43 int family); 45 int family);
44 46
@@ -63,6 +65,13 @@ static inline void selinux_netlbl_cache_invalidate(void)
63 return; 65 return;
64} 66}
65 67
68static inline void selinux_netlbl_err(struct sk_buff *skb,
69 int error,
70 int gateway)
71{
72 return;
73}
74
66static inline void selinux_netlbl_sk_security_reset( 75static inline void selinux_netlbl_sk_security_reset(
67 struct sk_security_struct *ssec, 76 struct sk_security_struct *ssec,
68 int family) 77 int family)