Searched refs:secdata (Results 1 – 2 of 2) sorted by relevance
/net/netfilter/ |
D | nfnetlink_queue.c | 304 static u32 nfqnl_get_sk_secctx(struct sk_buff *skb, char **secdata) in nfqnl_get_sk_secctx() argument 314 security_secid_to_secctx(skb->secmark, secdata, &seclen); in nfqnl_get_sk_secctx() 393 char *secdata = NULL; in nfqnl_build_packet_message() local 462 seclen = nfqnl_get_sk_secctx(entskb, &secdata); in nfqnl_build_packet_message() 595 if (seclen && nla_put(skb, NFQA_SECCTX, seclen, secdata)) in nfqnl_build_packet_message() 624 security_release_secctx(secdata, seclen); in nfqnl_build_packet_message() 633 security_release_secctx(secdata, seclen); in nfqnl_build_packet_message()
|
/net/ipv4/ |
D | ip_sockglue.c | 133 char *secdata; in ip_cmsg_recv_security() local 141 err = security_secid_to_secctx(secid, &secdata, &seclen); in ip_cmsg_recv_security() 145 put_cmsg(msg, SOL_IP, SCM_SECURITY, seclen, secdata); in ip_cmsg_recv_security() 146 security_release_secctx(secdata, seclen); in ip_cmsg_recv_security()
|