projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
543d9cf
)
[SELINUX]: selinux_socket_getpeer_{stream,dgram} fixup
author
Catherine Zhang
<cxzhang@watson.ibm.com>
Tue, 21 Mar 2006 06:49:00 +0000
(22:49 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 21 Mar 2006 06:49:00 +0000
(22:49 -0800)
Signed-off-by: Catherine Zhang <cxzhang@watson.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
security/selinux/include/xfrm.h
patch
|
blob
|
history
diff --git
a/security/selinux/include/xfrm.h
b/security/selinux/include/xfrm.h
index a7f388bff3f2e4a703fc4f3c2e8cbffa65c19565..c10f1fc415026257cdec73e7a1bd99eefb8b876d 100644
(file)
--- 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)
{
return NF_ACCEPT;
}
+
+static inline int selinux_socket_getpeer_stream(struct sock *sk)
+{
+ return SECSID_NULL;
+}
+
+static inline int selinux_socket_getpeer_dgram(struct sk_buff *skb)
+{
+ return SECSID_NULL;
+}
#endif
#endif /* _SELINUX_XFRM_H_ */