diff options
Diffstat (limited to 'security/selinux/include/netlabel.h')
-rw-r--r-- | security/selinux/include/netlabel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/security/selinux/include/netlabel.h b/security/selinux/include/netlabel.h index 982bac0ac328..b913c8d06038 100644 --- a/security/selinux/include/netlabel.h +++ b/security/selinux/include/netlabel.h | |||
@@ -41,6 +41,7 @@ void selinux_netlbl_cache_invalidate(void); | |||
41 | 41 | ||
42 | void selinux_netlbl_err(struct sk_buff *skb, int error, int gateway); | 42 | void selinux_netlbl_err(struct sk_buff *skb, int error, int gateway); |
43 | 43 | ||
44 | void selinux_netlbl_sk_security_free(struct sk_security_struct *ssec); | ||
44 | void selinux_netlbl_sk_security_reset(struct sk_security_struct *ssec, | 45 | void selinux_netlbl_sk_security_reset(struct sk_security_struct *ssec, |
45 | int family); | 46 | int family); |
46 | 47 | ||
@@ -77,6 +78,12 @@ static inline void selinux_netlbl_err(struct sk_buff *skb, | |||
77 | return; | 78 | return; |
78 | } | 79 | } |
79 | 80 | ||
81 | static inline void selinux_netlbl_sk_security_free( | ||
82 | struct sk_security_struct *ssec) | ||
83 | { | ||
84 | return; | ||
85 | } | ||
86 | |||
80 | static inline void selinux_netlbl_sk_security_reset( | 87 | static inline void selinux_netlbl_sk_security_reset( |
81 | struct sk_security_struct *ssec, | 88 | struct sk_security_struct *ssec, |
82 | int family) | 89 | int family) |