Searched refs:mnt_opts_flags (Results 1 – 3 of 3) sorted by relevance
157 int *mnt_opts_flags; member164 opts->mnt_opts_flags = NULL; in security_init_mnt_opts()176 kfree(opts->mnt_opts_flags); in security_free_mnt_opts()177 opts->mnt_opts_flags = NULL; in security_free_mnt_opts()
539 opts->mnt_opts_flags = kcalloc(opts->num_mnt_opts, sizeof(int), GFP_ATOMIC); in selinux_get_mnt_opts()540 if (!opts->mnt_opts_flags) { in selinux_get_mnt_opts()551 opts->mnt_opts_flags[i++] = FSCONTEXT_MNT; in selinux_get_mnt_opts()558 opts->mnt_opts_flags[i++] = CONTEXT_MNT; in selinux_get_mnt_opts()565 opts->mnt_opts_flags[i++] = DEFCONTEXT_MNT; in selinux_get_mnt_opts()575 opts->mnt_opts_flags[i++] = ROOTCONTEXT_MNT; in selinux_get_mnt_opts()579 opts->mnt_opts_flags[i++] = SBLABEL_MNT; in selinux_get_mnt_opts()629 int *flags = opts->mnt_opts_flags; in selinux_set_mnt_opts()1013 opts->mnt_opts_flags = kcalloc(NUM_SEL_MNT_OPTS, sizeof(int), GFP_ATOMIC); in selinux_parse_opts_str()1014 if (!opts->mnt_opts_flags) { in selinux_parse_opts_str()[all …]
699 opts->mnt_opts_flags = kcalloc(NUM_SMK_MNT_OPTS, sizeof(int), in smack_parse_opts_str()701 if (!opts->mnt_opts_flags) { in smack_parse_opts_str()708 opts->mnt_opts_flags[num_mnt_opts++] = FSDEFAULT_MNT; in smack_parse_opts_str()712 opts->mnt_opts_flags[num_mnt_opts++] = FSFLOOR_MNT; in smack_parse_opts_str()716 opts->mnt_opts_flags[num_mnt_opts++] = FSHAT_MNT; in smack_parse_opts_str()720 opts->mnt_opts_flags[num_mnt_opts++] = FSROOT_MNT; in smack_parse_opts_str()724 opts->mnt_opts_flags[num_mnt_opts++] = FSTRANS_MNT; in smack_parse_opts_str()775 switch (opts->mnt_opts_flags[i]) { in smack_set_mnt_opts()