Home
last modified time | relevance | path

Searched refs:seclen (Results 1 – 5 of 5) sorted by relevance

/security/apparmor/
Dsecid.c70 int apparmor_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in apparmor_secid_to_secctx() argument
76 AA_BUG(!seclen); in apparmor_secid_to_secctx()
93 *seclen = len; in apparmor_secid_to_secctx()
98 int apparmor_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in apparmor_secctx_to_secid() argument
103 seclen, GFP_KERNEL, false, false); in apparmor_secctx_to_secid()
111 void apparmor_release_secctx(char *secdata, u32 seclen) in apparmor_release_secctx() argument
/security/apparmor/include/
Dsecid.h25 int apparmor_secid_to_secctx(u32 secid, char **secdata, u32 *seclen);
26 int apparmor_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid);
27 void apparmor_release_secctx(char *secdata, u32 seclen);
/security/
Dsecurity.c2114 int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in security_secid_to_secctx() argument
2124 rc = hp->hook.secid_to_secctx(secid, secdata, seclen); in security_secid_to_secctx()
2133 int security_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in security_secctx_to_secid() argument
2136 return call_int_hook(secctx_to_secid, 0, secdata, seclen, secid); in security_secctx_to_secid()
2140 void security_release_secctx(char *secdata, u32 seclen) in security_release_secctx() argument
2142 call_void_hook(release_secctx, secdata, seclen); in security_release_secctx()
/security/smack/
Dsmack_lsm.c4591 static int smack_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in smack_secid_to_secctx() argument
4597 *seclen = strlen(skp->smk_known); in smack_secid_to_secctx()
4609 static int smack_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in smack_secctx_to_secid() argument
/security/selinux/
Dhooks.c6688 static int selinux_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in selinux_secid_to_secctx() argument
6691 secdata, seclen); in selinux_secid_to_secctx()
6694 static int selinux_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in selinux_secctx_to_secid() argument
6696 return security_context_to_sid(&selinux_state, secdata, seclen, in selinux_secctx_to_secid()
6700 static void selinux_release_secctx(char *secdata, u32 seclen) in selinux_release_secctx() argument