Home
last modified time | relevance | path

Searched refs:mnt_opts_flags (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/security/selinux/
Dhooks.c494 opts->mnt_opts_flags = kcalloc(opts->num_mnt_opts, sizeof(int), GFP_ATOMIC); in selinux_get_mnt_opts()
495 if (!opts->mnt_opts_flags) { in selinux_get_mnt_opts()
506 opts->mnt_opts_flags[i++] = FSCONTEXT_MNT; in selinux_get_mnt_opts()
513 opts->mnt_opts_flags[i++] = CONTEXT_MNT; in selinux_get_mnt_opts()
520 opts->mnt_opts_flags[i++] = DEFCONTEXT_MNT; in selinux_get_mnt_opts()
530 opts->mnt_opts_flags[i++] = ROOTCONTEXT_MNT; in selinux_get_mnt_opts()
534 opts->mnt_opts_flags[i++] = SE_SBLABELSUPP; in selinux_get_mnt_opts()
582 int *flags = opts->mnt_opts_flags; in selinux_set_mnt_opts()
914 opts->mnt_opts_flags = kcalloc(NUM_SEL_MNT_OPTS, sizeof(int), GFP_ATOMIC); in selinux_parse_opts_str()
915 if (!opts->mnt_opts_flags) { in selinux_parse_opts_str()
[all …]
/linux-3.4.99/include/linux/
Dsecurity.h161 int *mnt_opts_flags; member
168 opts->mnt_opts_flags = NULL; in security_init_mnt_opts()
180 kfree(opts->mnt_opts_flags); in security_free_mnt_opts()
181 opts->mnt_opts_flags = NULL; in security_free_mnt_opts()