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.c1916 int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in security_secid_to_secctx() argument
1919 seclen); in security_secid_to_secctx()
1923 int security_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in security_secctx_to_secid() argument
1926 return call_int_hook(secctx_to_secid, 0, secdata, seclen, secid); in security_secctx_to_secid()
1930 void security_release_secctx(char *secdata, u32 seclen) in security_release_secctx() argument
1932 call_void_hook(release_secctx, secdata, seclen); in security_release_secctx()
/security/smack/
Dsmack_lsm.c4458 static int smack_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in smack_secid_to_secctx() argument
4464 *seclen = strlen(skp->smk_known); in smack_secid_to_secctx()
4476 static int smack_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in smack_secctx_to_secid() argument
/security/selinux/
Dhooks.c6464 static int selinux_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in selinux_secid_to_secctx() argument
6467 secdata, seclen); in selinux_secid_to_secctx()
6470 static int selinux_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in selinux_secctx_to_secid() argument
6472 return security_context_to_sid(&selinux_state, secdata, seclen, in selinux_secctx_to_secid()
6476 static void selinux_release_secctx(char *secdata, u32 seclen) in selinux_release_secctx() argument