Home
last modified time | relevance | path

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

/security/
Dsecurity.c931 void security_free_mnt_opts(void **mnt_opts) in security_free_mnt_opts() argument
933 if (!*mnt_opts) in security_free_mnt_opts()
935 call_void_hook(sb_free_mnt_opts, *mnt_opts); in security_free_mnt_opts()
936 *mnt_opts = NULL; in security_free_mnt_opts()
940 int security_sb_eat_lsm_opts(char *options, void **mnt_opts) in security_sb_eat_lsm_opts() argument
942 return call_int_hook(sb_eat_lsm_opts, 0, options, mnt_opts); in security_sb_eat_lsm_opts()
947 void *mnt_opts) in security_sb_mnt_opts_compat() argument
949 return call_int_hook(sb_mnt_opts_compat, 0, sb, mnt_opts); in security_sb_mnt_opts_compat()
954 void *mnt_opts) in security_sb_remount() argument
956 return call_int_hook(sb_remount, 0, sb, mnt_opts); in security_sb_remount()
[all …]
/security/selinux/
Dhooks.c364 static void selinux_free_mnt_opts(void *mnt_opts) in selinux_free_mnt_opts() argument
366 struct selinux_mnt_opts *opts = mnt_opts; in selinux_free_mnt_opts()
634 void *mnt_opts, in selinux_set_mnt_opts() argument
641 struct selinux_mnt_opts *opts = mnt_opts; in selinux_set_mnt_opts()
986 static int selinux_add_opt(int token, const char *s, void **mnt_opts) in selinux_add_opt() argument
988 struct selinux_mnt_opts *opts = *mnt_opts; in selinux_add_opt()
1001 *mnt_opts = opts; in selinux_add_opt()
1039 *mnt_opts = NULL; in selinux_add_opt()
1046 void **mnt_opts) in selinux_add_mnt_opt() argument
1068 rc = selinux_add_opt(token, val, mnt_opts); in selinux_add_mnt_opt()
[all …]
/security/smack/
Dsmack_lsm.c555 static void smack_free_mnt_opts(void *mnt_opts) in smack_free_mnt_opts() argument
557 struct smack_mnt_opts *opts = mnt_opts; in smack_free_mnt_opts()
566 static int smack_add_opt(int token, const char *s, void **mnt_opts) in smack_add_opt() argument
568 struct smack_mnt_opts *opts = *mnt_opts; in smack_add_opt()
574 *mnt_opts = opts; in smack_add_opt()
695 static int smack_sb_eat_lsm_opts(char *options, void **mnt_opts) in smack_sb_eat_lsm_opts() argument
713 rc = smack_add_opt(token, arg, mnt_opts); in smack_sb_eat_lsm_opts()
716 if (*mnt_opts) in smack_sb_eat_lsm_opts()
717 smack_free_mnt_opts(*mnt_opts); in smack_sb_eat_lsm_opts()
718 *mnt_opts = NULL; in smack_sb_eat_lsm_opts()
[all …]
/security/landlock/
Dfs.c531 static int hook_sb_remount(struct super_block *const sb, void *const mnt_opts) in hook_sb_remount() argument