Home
last modified time | relevance | path

Searched refs:secid (Results 1 – 12 of 12) sorted by relevance

/net/netlabel/
Dnetlabel_unlabeled.c83 u32 secid; member
91 u32 secid; member
318 u32 secid) in netlbl_unlhsh_add_addr4() argument
331 entry->secid = secid; in netlbl_unlhsh_add_addr4()
360 u32 secid) in netlbl_unlhsh_add_addr6() argument
377 entry->secid = secid; in netlbl_unlhsh_add_addr6()
458 u32 secid, in netlbl_unlhsh_add() argument
502 ret_val = netlbl_unlhsh_add_addr4(iface, addr4, mask4, secid); in netlbl_unlhsh_add()
516 ret_val = netlbl_unlhsh_add_addr6(iface, addr6, mask6, secid); in netlbl_unlhsh_add()
533 if (security_secid_to_secctx(secid, in netlbl_unlhsh_add()
[all …]
Dnetlabel_user.c114 if (audit_info->secid != 0 && in netlbl_audit_start_common()
115 security_secid_to_secctx(audit_info->secid, in netlbl_audit_start_common()
Dnetlabel_user.h52 audit_info->secid = NETLINK_CB(skb).sid; in netlbl_netlink_auditinfo()
Dnetlabel_unlabeled.h230 u32 secid,
Dnetlabel_kapi.c219 u32 secid, in netlbl_cfg_unlbl_static_add() argument
237 secid, audit_info); in netlbl_cfg_unlbl_static_add()
/net/xfrm/
Dxfrm_policy.c740 audit_info->secid); in xfrm_policy_flush_secctx_check()
756 audit_info->secid); in xfrm_policy_flush_secctx_check()
797 audit_info->secid); in xfrm_policy_flush()
818 audit_info->secid); in xfrm_policy_flush()
917 ret = security_xfrm_policy_lookup(pol->security, fl->secid, in xfrm_policy_match()
1037 fl->secid, in xfrm_sk_policy_lookup()
1857 err = security_xfrm_decode_session(skb, &fl->secid); in __xfrm_decode_session()
2451 audit_info.secid = 0; in xfrm_policy_fini()
2456 audit_info.secid = 0; in xfrm_policy_fini()
2561 uid_t auid, u32 sessionid, u32 secid) in xfrm_audit_policy_add() argument
[all …]
Dxfrm_state.c582 audit_info->secid); in xfrm_state_flush_secctx_check()
621 audit_info->secid); in xfrm_state_flush()
854 error = security_xfrm_state_alloc_acquire(x, pol->security, fl->secid); in xfrm_state_find()
2137 audit_info.secid = 0; in xfrm_state_fini()
2202 uid_t auid, u32 sessionid, u32 secid) in xfrm_audit_state_add() argument
2209 xfrm_audit_helper_usrinfo(auid, sessionid, secid, audit_buf); in xfrm_audit_state_add()
2217 uid_t auid, u32 sessionid, u32 secid) in xfrm_audit_state_delete() argument
2224 xfrm_audit_helper_usrinfo(auid, sessionid, secid, audit_buf); in xfrm_audit_state_delete()
Dxfrm_user.c1413 audit_info.secid = NETLINK_CB(skb).sid; in xfrm_flush_sa()
1565 audit_info.secid = NETLINK_CB(skb).sid; in xfrm_flush_policy()
/net/ipv4/
Dip_sockglue.c115 u32 seclen, secid; in ip_cmsg_recv_security() local
118 err = security_socket_getpeersec_dgram(NULL, skb, &secid); in ip_cmsg_recv_security()
122 err = security_secid_to_secctx(secid, &secdata, &seclen); in ip_cmsg_recv_security()
Dcipso_ipv4.c1573 *(u32 *)&buffer[2] = secattr->attr.secid; in cipso_v4_gentag_loc()
1593 secattr->attr.secid = *(u32 *)&tag[2]; in cipso_v4_parsetag_loc()
/net/unix/
Daf_unix.c129 memcpy(UNIXSID(skb), &scm->secid, sizeof(u32)); in unix_get_secdata()
134 scm->secid = *UNIXSID(skb); in unix_set_secdata()
/net/key/
Daf_key.c1750 audit_info.secid = 0; in pfkey_flush()
2712 audit_info.secid = 0; in pfkey_spdflush()