Searched refs:mnt_opts (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/include/linux/ |
D | security.h | 284 void security_free_mnt_opts(void **mnt_opts); 285 int security_sb_eat_lsm_opts(char *options, void **mnt_opts); 286 int security_sb_remount(struct super_block *sb, void *mnt_opts); 295 void *mnt_opts, 303 int len, void **mnt_opts); 463 static inline void security_free_mnt_opts(void **mnt_opts) in security_free_mnt_opts() argument 607 void **mnt_opts) in security_sb_eat_lsm_opts() argument 613 void *mnt_opts) in security_sb_remount() argument 653 void *mnt_opts, in security_sb_set_mnt_opts() argument 669 int len, void **mnt_opts) in security_add_mnt_opt() argument
|
D | lsm_hooks.h | 1497 void (*sb_free_mnt_opts)(void *mnt_opts); 1498 int (*sb_eat_lsm_opts)(char *orig, void **mnt_opts); 1499 int (*sb_remount)(struct super_block *sb, void *mnt_opts); 1508 void *mnt_opts, 1516 void **mnt_opts);
|
/Linux-v5.4/security/ |
D | security.c | 820 void security_free_mnt_opts(void **mnt_opts) in security_free_mnt_opts() argument 822 if (!*mnt_opts) in security_free_mnt_opts() 824 call_void_hook(sb_free_mnt_opts, *mnt_opts); in security_free_mnt_opts() 825 *mnt_opts = NULL; in security_free_mnt_opts() 829 int security_sb_eat_lsm_opts(char *options, void **mnt_opts) in security_sb_eat_lsm_opts() argument 831 return call_int_hook(sb_eat_lsm_opts, 0, options, mnt_opts); in security_sb_eat_lsm_opts() 836 void *mnt_opts) in security_sb_remount() argument 838 return call_int_hook(sb_remount, 0, sb, mnt_opts); in security_sb_remount() 874 void *mnt_opts, in security_sb_set_mnt_opts() argument 879 mnt_opts ? -EOPNOTSUPP : 0, sb, in security_sb_set_mnt_opts() [all …]
|
/Linux-v5.4/security/smack/ |
D | smack_lsm.c | 576 static void smack_free_mnt_opts(void *mnt_opts) in smack_free_mnt_opts() argument 578 struct smack_mnt_opts *opts = mnt_opts; in smack_free_mnt_opts() 587 static int smack_add_opt(int token, const char *s, void **mnt_opts) in smack_add_opt() argument 589 struct smack_mnt_opts *opts = *mnt_opts; in smack_add_opt() 595 *mnt_opts = opts; in smack_add_opt() 721 static int smack_sb_eat_lsm_opts(char *options, void **mnt_opts) in smack_sb_eat_lsm_opts() argument 739 rc = smack_add_opt(token, arg, mnt_opts); in smack_sb_eat_lsm_opts() 742 if (*mnt_opts) in smack_sb_eat_lsm_opts() 743 smack_free_mnt_opts(*mnt_opts); in smack_sb_eat_lsm_opts() 744 *mnt_opts = NULL; in smack_sb_eat_lsm_opts() [all …]
|
/Linux-v5.4/security/selinux/ |
D | hooks.c | 399 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() 647 void *mnt_opts, in selinux_set_mnt_opts() argument 654 struct selinux_mnt_opts *opts = mnt_opts; in selinux_set_mnt_opts() 995 static int selinux_add_opt(int token, const char *s, void **mnt_opts) in selinux_add_opt() argument 997 struct selinux_mnt_opts *opts = *mnt_opts; in selinux_add_opt() 1006 *mnt_opts = opts; in selinux_add_opt() 1039 void **mnt_opts) in selinux_add_mnt_opt() argument 1061 rc = selinux_add_opt(token, val, mnt_opts); in selinux_add_mnt_opt() 1069 if (*mnt_opts) { in selinux_add_mnt_opt() [all …]
|