diff options
author | Catherine Zhang <cxzhang@watson.ibm.com> | 2006-03-21 01:49:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:49:00 -0500 |
commit | e6f507196c2b50243beb09b1bfa4639f999d4d1e (patch) | |
tree | 216886fba2700aa01970046e4c7412dce6638fa1 /security | |
parent | 543d9cfeec4d58ad3fd974db5531b06b6b95deb4 (diff) |
[SELINUX]: selinux_socket_getpeer_{stream,dgram} fixup
Signed-off-by: Catherine Zhang <cxzhang@watson.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/include/xfrm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/security/selinux/include/xfrm.h b/security/selinux/include/xfrm.h index a7f388bff3f..c10f1fc4150 100644 --- a/security/selinux/include/xfrm.h +++ b/security/selinux/include/xfrm.h | |||
@@ -51,6 +51,16 @@ static inline int selinux_xfrm_postroute_last(u32 isec_sid, struct sk_buff *skb) | |||
51 | { | 51 | { |
52 | return NF_ACCEPT; | 52 | return NF_ACCEPT; |
53 | } | 53 | } |
54 | |||
55 | static inline int selinux_socket_getpeer_stream(struct sock *sk) | ||
56 | { | ||
57 | return SECSID_NULL; | ||
58 | } | ||
59 | |||
60 | static inline int selinux_socket_getpeer_dgram(struct sk_buff *skb) | ||
61 | { | ||
62 | return SECSID_NULL; | ||
63 | } | ||
54 | #endif | 64 | #endif |
55 | 65 | ||
56 | #endif /* _SELINUX_XFRM_H_ */ | 66 | #endif /* _SELINUX_XFRM_H_ */ |