Searched refs:mnt_opts (Results 1 – 3 of 3) sorted by relevance
186 char **mnt_opts; member197 opts->mnt_opts = NULL; in security_init_mnt_opts()205 if (opts->mnt_opts) in security_free_mnt_opts()207 kfree(opts->mnt_opts[i]); in security_free_mnt_opts()208 kfree(opts->mnt_opts); in security_free_mnt_opts()209 opts->mnt_opts = NULL; in security_free_mnt_opts()
693 opts->mnt_opts = kcalloc(NUM_SMK_MNT_OPTS, sizeof(char *), GFP_KERNEL); in smack_parse_opts_str()694 if (!opts->mnt_opts) in smack_parse_opts_str()703 opts->mnt_opts[num_mnt_opts] = fsdefault; in smack_parse_opts_str()707 opts->mnt_opts[num_mnt_opts] = fsfloor; in smack_parse_opts_str()711 opts->mnt_opts[num_mnt_opts] = fshat; in smack_parse_opts_str()715 opts->mnt_opts[num_mnt_opts] = fsroot; in smack_parse_opts_str()719 opts->mnt_opts[num_mnt_opts] = fstransmute; in smack_parse_opts_str()798 skp = smk_import_entry(opts->mnt_opts[i], 0); in smack_set_mnt_opts()804 skp = smk_import_entry(opts->mnt_opts[i], 0); in smack_set_mnt_opts()810 skp = smk_import_entry(opts->mnt_opts[i], 0); in smack_set_mnt_opts()[all …]
631 opts->mnt_opts = kcalloc(opts->num_mnt_opts, sizeof(char *), GFP_ATOMIC); in selinux_get_mnt_opts()632 if (!opts->mnt_opts) { in selinux_get_mnt_opts()649 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()658 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()666 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()677 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()681 opts->mnt_opts[i] = NULL; in selinux_get_mnt_opts()731 char **mount_options = opts->mnt_opts; in selinux_set_mnt_opts()1167 opts->mnt_opts = kcalloc(NUM_SEL_MNT_OPTS, sizeof(char *), GFP_KERNEL); in selinux_parse_opts_str()1168 if (!opts->mnt_opts) in selinux_parse_opts_str()[all …]