forked from luck/tmp_suning_uos_patched
[SELINUX]: selinux_socket_getpeer_{stream,dgram} fixup
Signed-off-by: Catherine Zhang <cxzhang@watson.ibm.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
parent
543d9cfeec
commit
e6f507196c
|
@ -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_ */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user