Home
last modified time | relevance | path

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

/security/
Dsecurity.c1070 int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in security_secid_to_secctx() argument
1072 return security_ops->secid_to_secctx(secid, secdata, seclen); in security_secid_to_secctx()
1076 int security_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in security_secctx_to_secid() argument
1078 return security_ops->secctx_to_secid(secdata, seclen, secid); in security_secctx_to_secid()
1082 void security_release_secctx(char *secdata, u32 seclen) in security_release_secctx() argument
1084 security_ops->release_secctx(secdata, seclen); in security_release_secctx()
Dcapability.c839 static int cap_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in cap_secid_to_secctx() argument
844 static int cap_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in cap_secctx_to_secid() argument
850 static void cap_release_secctx(char *secdata, u32 seclen) in cap_release_secctx() argument
/security/smack/
Dsmack_lsm.c3339 static int smack_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in smack_secid_to_secctx() argument
3343 if (secdata) in smack_secid_to_secctx()
3344 *secdata = sp; in smack_secid_to_secctx()
3357 static int smack_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in smack_secctx_to_secid() argument
3359 *secid = smack_to_secid(secdata); in smack_secctx_to_secid()
3370 static void smack_release_secctx(char *secdata, u32 seclen) in smack_release_secctx() argument
/security/selinux/
Dhooks.c2481 char *secdata, **mount_options; in selinux_sb_remount() local
2494 secdata = alloc_secdata(); in selinux_sb_remount()
2495 if (!secdata) in selinux_sb_remount()
2497 rc = selinux_sb_copy_data(data, secdata); in selinux_sb_remount()
2501 rc = selinux_parse_opts_str(secdata, &opts); in selinux_sb_remount()
2553 free_secdata(secdata); in selinux_sb_remount()
5604 static int selinux_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in selinux_secid_to_secctx() argument
5606 return security_sid_to_context(secid, secdata, seclen); in selinux_secid_to_secctx()
5609 static int selinux_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in selinux_secctx_to_secid() argument
5611 return security_context_to_sid(secdata, seclen, secid); in selinux_secctx_to_secid()
[all …]