提交 e6f50719 编写于 作者: C Catherine Zhang 提交者: David S. Miller

[SELINUX]: selinux_socket_getpeer_{stream,dgram} fixup

Signed-off-by: NCatherine Zhang <cxzhang@watson.ibm.com>
Signed-off-by: NArnaldo Carvalho de Melo <acme@mandriva.com>
上级 543d9cfe
...@@ -51,6 +51,16 @@ static inline int selinux_xfrm_postroute_last(u32 isec_sid, struct sk_buff *skb) ...@@ -51,6 +51,16 @@ static inline int selinux_xfrm_postroute_last(u32 isec_sid, struct sk_buff *skb)
{ {
return NF_ACCEPT; 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
#endif /* _SELINUX_XFRM_H_ */ #endif /* _SELINUX_XFRM_H_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册