Lines Matching refs:secdata
2775 char *secdata, **mount_options; in selinux_sb_remount() local
2788 secdata = alloc_secdata(); in selinux_sb_remount()
2789 if (!secdata) in selinux_sb_remount()
2791 rc = selinux_sb_copy_data(data, secdata); in selinux_sb_remount()
2795 rc = selinux_parse_opts_str(secdata, &opts); in selinux_sb_remount()
2845 free_secdata(secdata); in selinux_sb_remount()
6120 static int selinux_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) in selinux_secid_to_secctx() argument
6122 return security_sid_to_context(secid, secdata, seclen); in selinux_secid_to_secctx()
6125 static int selinux_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) in selinux_secctx_to_secid() argument
6127 return security_context_to_sid(secdata, seclen, secid, GFP_KERNEL); in selinux_secctx_to_secid()
6130 static void selinux_release_secctx(char *secdata, u32 seclen) in selinux_release_secctx() argument
6132 kfree(secdata); in selinux_release_secctx()