Home
last modified time | relevance | path

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

/security/
Dsecurity.c833 void security_free_mnt_opts(void **mnt_opts) in security_free_mnt_opts() argument
835 if (!*mnt_opts) in security_free_mnt_opts()
837 call_void_hook(sb_free_mnt_opts, *mnt_opts); in security_free_mnt_opts()
838 *mnt_opts = NULL; in security_free_mnt_opts()
842 int security_sb_eat_lsm_opts(char *options, void **mnt_opts) in security_sb_eat_lsm_opts() argument
844 return call_int_hook(sb_eat_lsm_opts, 0, options, mnt_opts); in security_sb_eat_lsm_opts()
849 void *mnt_opts) in security_sb_remount() argument
851 return call_int_hook(sb_remount, 0, sb, mnt_opts); in security_sb_remount()
887 void *mnt_opts, in security_sb_set_mnt_opts() argument
892 mnt_opts ? -EOPNOTSUPP : 0, sb, in security_sb_set_mnt_opts()
[all …]
/security/smack/
Dsmack_lsm.c575 static void smack_free_mnt_opts(void *mnt_opts) in smack_free_mnt_opts() argument
577 struct smack_mnt_opts *opts = mnt_opts; in smack_free_mnt_opts()
586 static int smack_add_opt(int token, const char *s, void **mnt_opts) in smack_add_opt() argument
588 struct smack_mnt_opts *opts = *mnt_opts; in smack_add_opt()
594 *mnt_opts = opts; in smack_add_opt()
720 static int smack_sb_eat_lsm_opts(char *options, void **mnt_opts) in smack_sb_eat_lsm_opts() argument
738 rc = smack_add_opt(token, arg, mnt_opts); in smack_sb_eat_lsm_opts()
741 if (*mnt_opts) in smack_sb_eat_lsm_opts()
742 smack_free_mnt_opts(*mnt_opts); in smack_sb_eat_lsm_opts()
743 *mnt_opts = NULL; in smack_sb_eat_lsm_opts()
[all …]
/security/selinux/
Dhooks.c399 static void selinux_free_mnt_opts(void *mnt_opts) in selinux_free_mnt_opts() argument
401 struct selinux_mnt_opts *opts = mnt_opts; in selinux_free_mnt_opts()
648 void *mnt_opts, in selinux_set_mnt_opts() argument
655 struct selinux_mnt_opts *opts = mnt_opts; in selinux_set_mnt_opts()
998 static int selinux_add_opt(int token, const char *s, void **mnt_opts) in selinux_add_opt() argument
1000 struct selinux_mnt_opts *opts = *mnt_opts; in selinux_add_opt()
1013 *mnt_opts = opts; in selinux_add_opt()
1043 *mnt_opts = NULL; in selinux_add_opt()
1050 void **mnt_opts) in selinux_add_mnt_opt() argument
1072 rc = selinux_add_opt(token, val, mnt_opts); in selinux_add_mnt_opt()
[all …]