Home
last modified time | relevance | path

Searched refs:secdata (Results 1 – 4 of 4) sorted by relevance

/security/
Dsecurity.c942 int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in security_secid_to_secctx() argument
944 return security_ops->secid_to_secctx(secid, secdata, seclen); in security_secid_to_secctx()
948 int security_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in security_secctx_to_secid() argument
950 return security_ops->secctx_to_secid(secdata, seclen, secid); in security_secctx_to_secid()
954 void security_release_secctx(char *secdata, u32 seclen) in security_release_secctx() argument
956 security_ops->release_secctx(secdata, seclen); in security_release_secctx()
Dcapability.c794 static int cap_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in cap_secid_to_secctx() argument
799 static int cap_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in cap_secctx_to_secid() argument
804 static void cap_release_secctx(char *secdata, u32 seclen) in cap_release_secctx() argument
/security/smack/
Dsmack_lsm.c2760 static int smack_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in smack_secid_to_secctx() argument
2764 *secdata = sp; in smack_secid_to_secctx()
2777 static int smack_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in smack_secctx_to_secid() argument
2779 *secid = smack_to_secid(secdata); in smack_secctx_to_secid()
2791 static void smack_release_secctx(char *secdata, u32 seclen) in smack_release_secctx() argument
/security/selinux/
Dhooks.c5483 static int selinux_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in selinux_secid_to_secctx() argument
5485 return security_sid_to_context(secid, secdata, seclen); in selinux_secid_to_secctx()
5488 static int selinux_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in selinux_secctx_to_secid() argument
5490 return security_context_to_sid(secdata, seclen, secid); in selinux_secctx_to_secid()
5493 static void selinux_release_secctx(char *secdata, u32 seclen) in selinux_release_secctx() argument
5495 kfree(secdata); in selinux_release_secctx()