: selinux_socket_getpeer_{stream,dgram} fixup
PATCH 7/9 : selinux_socket_getpeer_{stream,dgram} fixup
Signed-off-by Catherine Zhang <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
---
security/selinux/include/xfrm.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
4efa8434cce5535cefea8e9f44fada7136159722
security/selinux/include/xfrm.h +10 -0
@@ -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