Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[SELINUX]: selinux_socket_getpeer_{stream,dgram} fixup

parent 543d9cfe
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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_ */