Searched refs:secctx (Results 1 – 5 of 5) sorted by relevance
/net/netfilter/ |
D | xt_SECMARK.c | 47 info->secctx[SECMARK_SECCTX_MAX - 1] = '\0'; in checkentry_lsm() 50 err = security_secctx_to_secid(info->secctx, strlen(info->secctx), in checkentry_lsm() 55 info->secctx); in checkentry_lsm() 61 info->secctx); in checkentry_lsm() 126 memcpy(newinfo.secctx, info->secctx, SECMARK_SECCTX_MAX); in secmark_tg_check_v0()
|
D | nf_conntrack_standalone.c | 180 char *secctx; in ct_show_secctx() local 182 ret = security_secid_to_secctx(ct->secmark, &secctx, &len); in ct_show_secctx() 186 seq_printf(s, "secctx=%s ", secctx); in ct_show_secctx() 188 security_release_secctx(secctx, len); in ct_show_secctx()
|
D | nf_conntrack_netlink.c | 349 char *secctx; in ctnetlink_dump_secctx() local 351 ret = security_secid_to_secctx(ct->secmark, &secctx, &len); in ctnetlink_dump_secctx() 360 if (nla_put_string(skb, CTA_SECCTX_NAME, secctx)) in ctnetlink_dump_secctx() 366 security_release_secctx(secctx, len); in ctnetlink_dump_secctx()
|
/net/netlabel/ |
D | netlabel_user.c | 87 char *secctx; in netlbl_audit_start_common() local 103 &secctx, in netlbl_audit_start_common() 105 audit_log_format(audit_buf, " subj=%s", secctx); in netlbl_audit_start_common() 106 security_release_secctx(secctx, secctx_len); in netlbl_audit_start_common()
|
D | netlabel_unlabeled.c | 377 char *secctx = NULL; in netlbl_unlhsh_add() local 442 &secctx, in netlbl_unlhsh_add() 444 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_add() 445 security_release_secctx(secctx, secctx_len); in netlbl_unlhsh_add() 476 char *secctx; in netlbl_unlhsh_remove_addr4() local 498 &secctx, &secctx_len) == 0) { in netlbl_unlhsh_remove_addr4() 499 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_remove_addr4() 500 security_release_secctx(secctx, secctx_len); in netlbl_unlhsh_remove_addr4() 537 char *secctx; in netlbl_unlhsh_remove_addr6() local 558 &secctx, &secctx_len) == 0) { in netlbl_unlhsh_remove_addr6() [all …]
|