Home
last modified time | relevance | path

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

/linux-6.12.1/security/selinux/
Dxfrm.c213 return SECSID_NULL; in selinux_xfrm_skb_sid_egress()
216 return SECSID_NULL; in selinux_xfrm_skb_sid_egress()
224 u32 sid_session = SECSID_NULL; in selinux_xfrm_skb_sid_ingress()
235 if (sid_session == SECSID_NULL) { in selinux_xfrm_skb_sid_ingress()
240 *sid = SECSID_NULL; in selinux_xfrm_skb_sid_ingress()
259 *sid = SECSID_NULL; in selinux_xfrm_decode_session()
270 if (rc == 0 && *sid == SECSID_NULL) in selinux_xfrm_skb_sid()
Dnetlabel.c204 *sid = SECSID_NULL; in selinux_netlbl_skbuff_getsid()
214 *sid = SECSID_NULL; in selinux_netlbl_skbuff_getsid()
Dhooks.c4570 if (skb_sid != SECSID_NULL) in selinux_conn_sid()
4584 if (tsec->sockcreate_sid > SECSID_NULL) { in socket_sockcreate_sid()
5180 u32 peer_sid = SECSID_NULL; in selinux_socket_getpeersec_stream()
5186 if (peer_sid == SECSID_NULL) in selinux_socket_getpeersec_stream()
5210 u32 peer_secid = SECSID_NULL; in selinux_socket_getpeersec_dgram()
5220 *secid = SECSID_NULL; in selinux_socket_getpeersec_dgram()
5232 if (peer_secid == SECSID_NULL) in selinux_socket_getpeersec_dgram()
5310 asoc->peer_secid = SECSID_NULL; in selinux_sctp_process_new_assoc()
5319 if (asoc->peer_secid == SECSID_NULL) in selinux_sctp_process_new_assoc()
5867 if (skb_sid == SECSID_NULL) { in selinux_ip_postroute()
[all …]
/linux-6.12.1/security/selinux/include/
Dxfrm.h79 *sid = SECSID_NULL; in selinux_xfrm_decode_session()
89 *sid = SECSID_NULL; in selinux_xfrm_skb_sid()
Dnetlabel.h81 *sid = SECSID_NULL; in selinux_netlbl_skbuff_getsid()
Dsecurity.h24 #define SECSID_NULL 0x00000000 /* unspecified SID */ macro
/linux-6.12.1/security/selinux/ss/
Dmls.c245 if (oldc && def_sid == SECSID_NULL) in mls_context_to_sid()
257 if (def_sid == SECSID_NULL) in mls_context_to_sid()
369 SECSID_NULL); in mls_from_string()
Dservices.c1537 *sid = SECSID_NULL; in security_context_to_sid_core()
1594 sid, SECSID_NULL, gfp, 0); in security_context_to_sid()
1633 sid, SECSID_NULL, GFP_KERNEL, 1); in security_context_to_sid_force()
2018 rc = string_to_context_struct(args->newp, NULL, s, newc, SECSID_NULL); in services_convert_context()
3277 *peer_sid = SECSID_NULL; in security_net_peersid_resolve()
3282 if (xfrm_sid == SECSID_NULL) { in security_net_peersid_resolve()
3289 if (nlbl_sid == SECSID_NULL || nlbl_type == NETLBL_NLTYPE_UNLABELED) { in security_net_peersid_resolve()
3829 *sid = SECSID_NULL; in security_netlbl_secattr_to_sid()
3877 *sid = SECSID_NULL; in security_netlbl_secattr_to_sid()
Dpolicydb.c878 if (sid == SECSID_NULL) { in policydb_load_isids()