Searched refs:secid (Results 1 – 10 of 10) sorted by relevance
/net/netfilter/ |
D | xt_SECMARK.c | 33 secmark = info->secid; in secmark_tg() 48 info->secid = 0; in checkentry_lsm() 51 &info->secid); in checkentry_lsm() 59 if (!info->secid) { in checkentry_lsm() 65 err = security_secmark_relabel_packet(info->secid); in checkentry_lsm() 129 info->secid = newinfo.secid; in secmark_tg_check_v0() 139 .secid = info->secid, in secmark_tg_v0() 175 .usersize = offsetof(struct xt_secmark_target_info_v1, secid),
|
D | nft_meta.c | 793 u32 secid; member 817 priv->secid = tmp_secid; in nft_secmark_compute_secid() 827 skb->secmark = priv->secid; in nft_secmark_obj_eval()
|
/net/netlabel/ |
D | netlabel_unlabeled.c | 69 u32 secid; member 77 u32 secid; member 234 u32 secid) in netlbl_unlhsh_add_addr4() argument 246 entry->secid = secid; in netlbl_unlhsh_add_addr4() 274 u32 secid) in netlbl_unlhsh_add_addr6() argument 290 entry->secid = secid; in netlbl_unlhsh_add_addr6() 369 u32 secid, in netlbl_unlhsh_add() argument 411 ret_val = netlbl_unlhsh_add_addr4(iface, addr4, mask4, secid); in netlbl_unlhsh_add() 424 ret_val = netlbl_unlhsh_add_addr6(iface, addr6, mask6, secid); in netlbl_unlhsh_add() 441 if (security_secid_to_secctx(secid, in netlbl_unlhsh_add() [all …]
|
D | netlabel_user.c | 101 if (audit_info->secid != 0 && in netlbl_audit_start_common() 102 security_secid_to_secctx(audit_info->secid, in netlbl_audit_start_common()
|
D | netlabel_user.h | 35 security_task_getsecid_subj(current, &audit_info->secid); in netlbl_netlink_auditinfo()
|
D | netlabel_unlabeled.h | 214 u32 secid,
|
D | netlabel_kapi.c | 213 u32 secid, in netlbl_cfg_unlbl_static_add() argument 233 secid, audit_info); in netlbl_cfg_unlbl_static_add()
|
/net/unix/ |
D | af_unix.c | 142 UNIXCB(skb).secid = scm->secid; in unix_get_secdata() 147 scm->secid = UNIXCB(skb).secid; in unix_set_secdata() 152 return (scm->secid == UNIXCB(skb).secid); in unix_secdata_eq()
|
/net/ipv4/ |
D | ip_sockglue.c | 134 u32 seclen, secid; in ip_cmsg_recv_security() local 137 err = security_socket_getpeersec_dgram(NULL, skb, &secid); in ip_cmsg_recv_security() 141 err = security_secid_to_secctx(secid, &secdata, &seclen); in ip_cmsg_recv_security()
|
D | cipso_ipv4.c | 1465 *(u32 *)&buffer[2] = secattr->attr.secid; in cipso_v4_gentag_loc() 1485 secattr->attr.secid = *(u32 *)&tag[2]; in cipso_v4_parsetag_loc()
|