/Linux-v6.1/security/apparmor/ |
D | secid.c | 65 int apparmor_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in apparmor_secid_to_secctx() argument 72 AA_BUG(!seclen); in apparmor_secid_to_secctx() 89 *seclen = len; in apparmor_secid_to_secctx() 94 int apparmor_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in apparmor_secctx_to_secid() argument 99 seclen, GFP_KERNEL, false, false); in apparmor_secctx_to_secid() 107 void apparmor_release_secctx(char *secdata, u32 seclen) in apparmor_release_secctx() argument
|
/Linux-v6.1/security/apparmor/include/ |
D | secid.h | 28 int apparmor_secid_to_secctx(u32 secid, char **secdata, u32 *seclen); 29 int apparmor_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid); 30 void apparmor_release_secctx(char *secdata, u32 seclen);
|
/Linux-v6.1/include/net/ |
D | scm.h | 96 u32 seclen; in scm_passec() local 100 err = security_secid_to_secctx(scm->secid, &secdata, &seclen); in scm_passec() 103 put_cmsg(msg, SOL_SOCKET, SCM_SECURITY, seclen, secdata); in scm_passec() 104 security_release_secctx(secdata, seclen); in scm_passec()
|
/Linux-v6.1/drivers/media/dvb-core/ |
D | dvb_demux.c | 152 return feed->cb.sec(feed->feed.sec.secbuf, feed->feed.sec.seclen, in dvb_dmx_swfilter_sectionfilter() 172 demux->check_crc32(feed, sec->secbuf, sec->seclen)) { in dvb_dmx_swfilter_section_feed() 183 sec->seclen = 0; in dvb_dmx_swfilter_section_feed() 209 sec->tsfeedp = sec->secbufp = sec->seclen = 0; in dvb_dmx_swfilter_section_new() 236 u16 limit, seclen, n; in dvb_dmx_swfilter_section_copy_dump() local 266 seclen = section_length(sec->secbuf); in dvb_dmx_swfilter_section_copy_dump() 267 if (seclen <= 0 || seclen > DMX_MAX_SECTION_SIZE in dvb_dmx_swfilter_section_copy_dump() 268 || seclen + sec->secbufp > limit) in dvb_dmx_swfilter_section_copy_dump() 270 sec->seclen = seclen; in dvb_dmx_swfilter_section_copy_dump() 280 sec->secbufp += seclen; /* secbufp and secbuf moving together is */ in dvb_dmx_swfilter_section_copy_dump() [all …]
|
/Linux-v6.1/net/netfilter/ |
D | nfnetlink_queue.c | 306 u32 seclen = 0; in nfqnl_get_sk_secctx() local 314 security_secid_to_secctx(skb->secmark, secdata, &seclen); in nfqnl_get_sk_secctx() 318 return seclen; in nfqnl_get_sk_secctx() 394 u32 seclen = 0; in nfqnl_build_packet_message() local 465 seclen = nfqnl_get_sk_secctx(entskb, &secdata); in nfqnl_build_packet_message() 466 if (seclen) in nfqnl_build_packet_message() 467 size += nla_total_size(seclen); in nfqnl_build_packet_message() 602 if (seclen && nla_put(skb, NFQA_SECCTX, seclen, secdata)) in nfqnl_build_packet_message() 630 if (seclen) in nfqnl_build_packet_message() 631 security_release_secctx(secdata, seclen); in nfqnl_build_packet_message() [all …]
|
/Linux-v6.1/drivers/platform/x86/dell/dell-wmi-sysman/ |
D | sysman.c | 96 u32 *seclen = sectype + 1; in populate_security_buffer() local 99 *seclen = strlen(authentication); in populate_security_buffer() 103 memcpy(auth, authentication, *seclen); in populate_security_buffer()
|
/Linux-v6.1/include/media/ |
D | demux.h | 175 u16 secbufp, seclen, tsfeedp; member
|
/Linux-v6.1/include/linux/ |
D | security.h | 473 int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen); 474 int security_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid); 475 void security_release_secctx(char *secdata, u32 seclen); 1333 static inline int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in security_secid_to_secctx() argument 1339 u32 seclen, in security_secctx_to_secid() argument 1345 static inline void security_release_secctx(char *secdata, u32 seclen) in security_release_secctx() argument
|
D | lsm_hook_defs.h | 262 u32 *seclen) 263 LSM_HOOK(int, 0, secctx_to_secid, const char *secdata, u32 seclen, u32 *secid) 264 LSM_HOOK(void, LSM_RET_VOID, release_secctx, char *secdata, u32 seclen)
|
/Linux-v6.1/drivers/s390/crypto/ |
D | zcrypt_ccamisc.h | 105 u16 seclen; /* section length */ member
|
/Linux-v6.1/security/ |
D | security.c | 2104 int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in security_secid_to_secctx() argument 2114 rc = hp->hook.secid_to_secctx(secid, secdata, seclen); in security_secid_to_secctx() 2123 int security_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in security_secctx_to_secid() argument 2126 return call_int_hook(secctx_to_secid, 0, secdata, seclen, secid); in security_secctx_to_secid() 2130 void security_release_secctx(char *secdata, u32 seclen) in security_release_secctx() argument 2132 call_void_hook(release_secctx, secdata, seclen); in security_release_secctx()
|
/Linux-v6.1/net/ipv4/ |
D | ip_sockglue.c | 134 u32 seclen, secid; 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()
|
/Linux-v6.1/net/sunrpc/auth_gss/ |
D | auth_gss.c | 164 unsigned int seclen; in gss_fill_context() local 204 p = simple_get_bytes(p, end, &seclen, sizeof(seclen)); in gss_fill_context() 207 q = (const void *)((const char *)p + seclen); in gss_fill_context() 212 ret = gss_import_sec_context(p, seclen, gm, &ctx->gc_gss_ctx, NULL, GFP_KERNEL); in gss_fill_context()
|
/Linux-v6.1/security/selinux/ |
D | hooks.c | 6531 static int selinux_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in selinux_secid_to_secctx() argument 6534 secdata, seclen); in selinux_secid_to_secctx() 6537 static int selinux_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in selinux_secctx_to_secid() argument 6539 return security_context_to_sid(&selinux_state, secdata, seclen, in selinux_secctx_to_secid() 6543 static void selinux_release_secctx(char *secdata, u32 seclen) in selinux_release_secctx() argument
|
/Linux-v6.1/security/smack/ |
D | smack_lsm.c | 4577 static int smack_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in smack_secid_to_secctx() argument 4583 *seclen = strlen(skp->smk_known); in smack_secid_to_secctx() 4595 static int smack_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in smack_secctx_to_secid() argument
|