/linux-6.12.1/security/apparmor/ |
D | secid.c | 64 int apparmor_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in apparmor_secid_to_secctx() argument 79 if (secdata) in apparmor_secid_to_secctx() 80 len = aa_label_asxprint(secdata, root_ns, label, in apparmor_secid_to_secctx() 93 int apparmor_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in apparmor_secctx_to_secid() argument 97 label = aa_label_strn_parse(&root_ns->unconfined->label, secdata, in apparmor_secctx_to_secid() 106 void apparmor_release_secctx(char *secdata, u32 seclen) in apparmor_release_secctx() argument 108 kfree(secdata); in apparmor_release_secctx()
|
/linux-6.12.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-6.12.1/include/net/ |
D | scm.h | 108 char *secdata; in scm_passec() local 113 err = security_secid_to_secctx(scm->secid, &secdata, &seclen); in scm_passec() 116 put_cmsg(msg, SOL_SOCKET, SCM_SECURITY, seclen, secdata); in scm_passec() 117 security_release_secctx(secdata, seclen); in scm_passec()
|
/linux-6.12.1/net/netfilter/ |
D | nfnetlink_queue.c | 473 static u32 nfqnl_get_sk_secctx(struct sk_buff *skb, char **secdata) in nfqnl_get_sk_secctx() argument 483 security_secid_to_secctx(skb->secmark, secdata, &seclen); in nfqnl_get_sk_secctx() 570 char *secdata = NULL; in nfqnl_build_packet_message() local 645 seclen = nfqnl_get_sk_secctx(entskb, &secdata); in nfqnl_build_packet_message() 785 if (seclen && nla_put(skb, NFQA_SECCTX, seclen, secdata)) in nfqnl_build_packet_message() 814 security_release_secctx(secdata, seclen); in nfqnl_build_packet_message() 823 security_release_secctx(secdata, seclen); in nfqnl_build_packet_message()
|
/linux-6.12.1/include/linux/ |
D | security.h | 517 int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen); 518 int security_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid); 519 void security_release_secctx(char *secdata, u32 seclen); 1471 static inline int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in security_secid_to_secctx() argument 1476 static inline int security_secctx_to_secid(const char *secdata, in security_secctx_to_secid() argument 1483 static inline void security_release_secctx(char *secdata, u32 seclen) in security_release_secctx() argument
|
D | lsm_hook_defs.h | 295 LSM_HOOK(int, -EOPNOTSUPP, secid_to_secctx, u32 secid, char **secdata, 297 LSM_HOOK(int, 0, secctx_to_secid, const char *secdata, u32 seclen, u32 *secid) 298 LSM_HOOK(void, LSM_RET_VOID, release_secctx, char *secdata, u32 seclen)
|
/linux-6.12.1/net/ipv4/ |
D | ip_sockglue.c | 131 char *secdata; in ip_cmsg_recv_security() local 139 err = security_secid_to_secctx(secid, &secdata, &seclen); in ip_cmsg_recv_security() 143 put_cmsg(msg, SOL_IP, SCM_SECURITY, seclen, secdata); in ip_cmsg_recv_security() 144 security_release_secctx(secdata, seclen); in ip_cmsg_recv_security()
|
/linux-6.12.1/security/ |
D | security.c | 4310 int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in security_secid_to_secctx() argument 4312 return call_int_hook(secid_to_secctx, secid, secdata, seclen); in security_secid_to_secctx() 4326 int security_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in security_secctx_to_secid() argument 4329 return call_int_hook(secctx_to_secid, secdata, seclen, secid); in security_secctx_to_secid() 4340 void security_release_secctx(char *secdata, u32 seclen) in security_release_secctx() argument 4342 call_void_hook(release_secctx, secdata, seclen); in security_release_secctx()
|
/linux-6.12.1/security/smack/ |
D | smack_lsm.c | 4821 static int smack_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in smack_secid_to_secctx() argument 4825 if (secdata) in smack_secid_to_secctx() 4826 *secdata = skp->smk_known; in smack_secid_to_secctx() 4839 static int smack_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in smack_secctx_to_secid() argument 4841 struct smack_known *skp = smk_find_entry(secdata); in smack_secctx_to_secid()
|
/linux-6.12.1/security/selinux/ |
D | hooks.c | 6602 static int selinux_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in selinux_secid_to_secctx() argument 6605 secdata, seclen); in selinux_secid_to_secctx() 6608 static int selinux_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in selinux_secctx_to_secid() argument 6610 return security_context_to_sid(secdata, seclen, in selinux_secctx_to_secid() 6614 static void selinux_release_secctx(char *secdata, u32 seclen) in selinux_release_secctx() argument 6616 kfree(secdata); in selinux_release_secctx()
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sdx75.dtsi | 349 secdata_mem: secdata@87f30000 {
|
D | sm8450.dtsi | 455 /* secdata region can be reused by apps */
|
D | sa8775p.dtsi | 516 secdata_apss_mem: secdata-apss@908fe000 {
|
D | sm8550.dtsi | 481 /* secdata region can be reused by apps */
|
D | x1e80100.dtsi | 508 secdata_apss_mem: secdata-apss@81cff000 {
|