Commit e6f50719 authored by Catherine Zhang's avatar Catherine Zhang Committed by David S. Miller

[SELINUX]: selinux_socket_getpeer_{stream,dgram} fixup

Signed-off-by: default avatarCatherine Zhang <cxzhang@watson.ibm.com>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@mandriva.com>
parent 543d9cfe
......@@ -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_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment