Home
last modified time | relevance | path

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

/net/netfilter/
Dxt_SECMARK.c33 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),
Dnft_meta.c793 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/
Dnetlabel_unlabeled.c69 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 …]
Dnetlabel_user.c101 if (audit_info->secid != 0 && in netlbl_audit_start_common()
102 security_secid_to_secctx(audit_info->secid, in netlbl_audit_start_common()
Dnetlabel_user.h35 security_task_getsecid_subj(current, &audit_info->secid); in netlbl_netlink_auditinfo()
Dnetlabel_unlabeled.h214 u32 secid,
Dnetlabel_kapi.c213 u32 secid, in netlbl_cfg_unlbl_static_add() argument
233 secid, audit_info); in netlbl_cfg_unlbl_static_add()
/net/unix/
Daf_unix.c142 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/
Dip_sockglue.c134 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()
Dcipso_ipv4.c1465 *(u32 *)&buffer[2] = secattr->attr.secid; in cipso_v4_gentag_loc()
1485 secattr->attr.secid = *(u32 *)&tag[2]; in cipso_v4_parsetag_loc()