Searched refs:mnt_opts_flags (Results 1 – 3 of 3) sorted by relevance
187 int *mnt_opts_flags; member198 opts->mnt_opts_flags = NULL; in security_init_mnt_opts()210 kfree(opts->mnt_opts_flags); in security_free_mnt_opts()211 opts->mnt_opts_flags = NULL; in security_free_mnt_opts()
637 opts->mnt_opts_flags = kcalloc(opts->num_mnt_opts, sizeof(int), GFP_ATOMIC); in selinux_get_mnt_opts()638 if (!opts->mnt_opts_flags) { in selinux_get_mnt_opts()650 opts->mnt_opts_flags[i++] = FSCONTEXT_MNT; in selinux_get_mnt_opts()659 opts->mnt_opts_flags[i++] = CONTEXT_MNT; in selinux_get_mnt_opts()667 opts->mnt_opts_flags[i++] = DEFCONTEXT_MNT; in selinux_get_mnt_opts()678 opts->mnt_opts_flags[i++] = ROOTCONTEXT_MNT; in selinux_get_mnt_opts()682 opts->mnt_opts_flags[i++] = SBLABEL_MNT; in selinux_get_mnt_opts()732 int *flags = opts->mnt_opts_flags; in selinux_set_mnt_opts()1171 opts->mnt_opts_flags = kcalloc(NUM_SEL_MNT_OPTS, sizeof(int), in selinux_parse_opts_str()1173 if (!opts->mnt_opts_flags) in selinux_parse_opts_str()[all …]
697 opts->mnt_opts_flags = kcalloc(NUM_SMK_MNT_OPTS, sizeof(int), in smack_parse_opts_str()699 if (!opts->mnt_opts_flags) in smack_parse_opts_str()704 opts->mnt_opts_flags[num_mnt_opts++] = FSDEFAULT_MNT; in smack_parse_opts_str()708 opts->mnt_opts_flags[num_mnt_opts++] = FSFLOOR_MNT; in smack_parse_opts_str()712 opts->mnt_opts_flags[num_mnt_opts++] = FSHAT_MNT; in smack_parse_opts_str()716 opts->mnt_opts_flags[num_mnt_opts++] = FSROOT_MNT; in smack_parse_opts_str()720 opts->mnt_opts_flags[num_mnt_opts++] = FSTRANS_MNT; in smack_parse_opts_str()796 switch (opts->mnt_opts_flags[i]) { in smack_set_mnt_opts()