Skip to contentSkip to conversation

: selinux_socket_getpeer_{stream,dgram} fixup

PATCH In review Arnaldo Carvalho de Melo 1 participant 1 message Mar 10, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 7/9 : selinux_socket_getpeer_{stream,dgram} fixup

---

 security/selinux/include/xfrm.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

4efa8434cce5535cefea8e9f44fada7136159722

security/selinux/include/xfrm.h +10 -0
index a7f388b..c10f1fc 100644
@@ -51,6 +51,16 @@ static inline int selinux_xfrm_postroute
 {
 	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_ */
Signature · 1 line
1.2.2.gd27d