Home
last modified time | relevance | path

Searched refs:SECSID_NULL (Results 1 – 9 of 9) sorted by relevance

/security/selinux/
Dxfrm.c218 return SECSID_NULL; in selinux_xfrm_skb_sid_egress()
221 return SECSID_NULL; in selinux_xfrm_skb_sid_egress()
229 u32 sid_session = SECSID_NULL; in selinux_xfrm_skb_sid_ingress()
240 if (sid_session == SECSID_NULL) { in selinux_xfrm_skb_sid_ingress()
245 *sid = SECSID_NULL; in selinux_xfrm_skb_sid_ingress()
264 *sid = SECSID_NULL; in selinux_xfrm_decode_session()
275 if (rc == 0 && *sid == SECSID_NULL) in selinux_xfrm_skb_sid()
Dnetlabel.c197 *sid = SECSID_NULL; in selinux_netlbl_skbuff_getsid()
207 *sid = SECSID_NULL; in selinux_netlbl_skbuff_getsid()
Dhooks.c4449 if (skb_sid != SECSID_NULL) in selinux_conn_sid()
4463 if (tsec->sockcreate_sid > SECSID_NULL) { in socket_sockcreate_sid()
5062 u32 peer_sid = SECSID_NULL; in selinux_socket_getpeersec_stream()
5068 if (peer_sid == SECSID_NULL) in selinux_socket_getpeersec_stream()
5093 u32 peer_secid = SECSID_NULL; in selinux_socket_getpeersec_dgram()
5114 if (peer_secid == SECSID_NULL) in selinux_socket_getpeersec_dgram()
5209 if (peer_sid == SECSID_NULL) in selinux_sctp_assoc_request()
5800 if (skb_sid == SECSID_NULL) { in selinux_ip_postroute()
/security/selinux/include/
Dxfrm.h77 *sid = SECSID_NULL; in selinux_xfrm_decode_session()
87 *sid = SECSID_NULL; in selinux_xfrm_skb_sid()
Dnetlabel.h91 *sid = SECSID_NULL; in selinux_netlbl_skbuff_getsid()
Dsecurity.h20 #define SECSID_NULL 0x00000000 /* unspecified SID */ macro
/security/selinux/ss/
Dmls.c252 if (oldc && def_sid == SECSID_NULL) in mls_context_to_sid()
264 if (def_sid == SECSID_NULL) in mls_context_to_sid()
375 NULL, SECSID_NULL); in mls_from_string()
Dservices.c1531 *sid = SECSID_NULL; in security_context_to_sid_core()
1578 sid, SECSID_NULL, gfp, 0); in security_context_to_sid()
1619 sid, SECSID_NULL, GFP_KERNEL, 1); in security_context_to_sid_force()
1994 newc, SECSID_NULL); in convert_context()
3120 *peer_sid = SECSID_NULL; in security_net_peersid_resolve()
3125 if (xfrm_sid == SECSID_NULL) { in security_net_peersid_resolve()
3132 if (nlbl_sid == SECSID_NULL || nlbl_type == NETLBL_NLTYPE_UNLABELED) { in security_net_peersid_resolve()
3644 *sid = SECSID_NULL; in security_netlbl_secattr_to_sid()
3682 *sid = SECSID_NULL; in security_netlbl_secattr_to_sid()
Dpolicydb.c870 if (c->sid[0] == SECSID_NULL || c->sid[0] > SECINITSID_NUM) { in policydb_load_isids()