Home
last modified time | relevance | path

Searched refs:mnt_opts (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/include/linux/
Dsecurity.h156 char **mnt_opts; member
163 opts->mnt_opts = NULL; in security_init_mnt_opts()
171 if (opts->mnt_opts) in security_free_mnt_opts()
173 kfree(opts->mnt_opts[i]); in security_free_mnt_opts()
174 kfree(opts->mnt_opts); in security_free_mnt_opts()
175 opts->mnt_opts = NULL; in security_free_mnt_opts()
/linux-4.4.14/security/smack/
Dsmack_lsm.c695 opts->mnt_opts = kcalloc(NUM_SMK_MNT_OPTS, sizeof(char *), GFP_ATOMIC); in smack_parse_opts_str()
696 if (!opts->mnt_opts) in smack_parse_opts_str()
702 kfree(opts->mnt_opts); in smack_parse_opts_str()
707 opts->mnt_opts[num_mnt_opts] = fsdefault; in smack_parse_opts_str()
711 opts->mnt_opts[num_mnt_opts] = fsfloor; in smack_parse_opts_str()
715 opts->mnt_opts[num_mnt_opts] = fshat; in smack_parse_opts_str()
719 opts->mnt_opts[num_mnt_opts] = fsroot; in smack_parse_opts_str()
723 opts->mnt_opts[num_mnt_opts] = fstransmute; in smack_parse_opts_str()
777 skp = smk_import_entry(opts->mnt_opts[i], 0); in smack_set_mnt_opts()
783 skp = smk_import_entry(opts->mnt_opts[i], 0); in smack_set_mnt_opts()
[all …]
/linux-4.4.14/security/selinux/
Dhooks.c533 opts->mnt_opts = kcalloc(opts->num_mnt_opts, sizeof(char *), GFP_ATOMIC); in selinux_get_mnt_opts()
534 if (!opts->mnt_opts) { in selinux_get_mnt_opts()
550 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()
557 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()
564 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()
574 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()
578 opts->mnt_opts[i] = NULL; in selinux_get_mnt_opts()
628 char **mount_options = opts->mnt_opts; in selinux_set_mnt_opts()
1009 opts->mnt_opts = kcalloc(NUM_SEL_MNT_OPTS, sizeof(char *), GFP_ATOMIC); in selinux_parse_opts_str()
1010 if (!opts->mnt_opts) in selinux_parse_opts_str()
[all …]