/Linux-v6.1/include/linux/ |
D | security.h | 301 void security_free_mnt_opts(void **mnt_opts); 302 int security_sb_eat_lsm_opts(char *options, void **mnt_opts); 303 int security_sb_mnt_opts_compat(struct super_block *sb, void *mnt_opts); 304 int security_sb_remount(struct super_block *sb, void *mnt_opts); 313 void *mnt_opts, 498 static inline void security_free_mnt_opts(void **mnt_opts) in security_free_mnt_opts() argument 651 void **mnt_opts) in security_sb_eat_lsm_opts() argument 657 void *mnt_opts) in security_sb_remount() argument 663 void *mnt_opts) in security_sb_mnt_opts_compat() argument 704 void *mnt_opts, in security_sb_set_mnt_opts() argument
|
D | lsm_hook_defs.h | 64 LSM_HOOK(void, LSM_RET_VOID, sb_free_mnt_opts, void *mnt_opts) 65 LSM_HOOK(int, 0, sb_eat_lsm_opts, char *orig, void **mnt_opts) 66 LSM_HOOK(int, 0, sb_mnt_opts_compat, struct super_block *sb, void *mnt_opts) 67 LSM_HOOK(int, 0, sb_remount, struct super_block *sb, void *mnt_opts) 76 LSM_HOOK(int, 0, sb_set_mnt_opts, struct super_block *sb, void *mnt_opts,
|
/Linux-v6.1/security/ |
D | security.c | 932 void security_free_mnt_opts(void **mnt_opts) in security_free_mnt_opts() argument 934 if (!*mnt_opts) in security_free_mnt_opts() 936 call_void_hook(sb_free_mnt_opts, *mnt_opts); in security_free_mnt_opts() 937 *mnt_opts = NULL; in security_free_mnt_opts() 941 int security_sb_eat_lsm_opts(char *options, void **mnt_opts) in security_sb_eat_lsm_opts() argument 943 return call_int_hook(sb_eat_lsm_opts, 0, options, mnt_opts); in security_sb_eat_lsm_opts() 948 void *mnt_opts) in security_sb_mnt_opts_compat() argument 950 return call_int_hook(sb_mnt_opts_compat, 0, sb, mnt_opts); in security_sb_mnt_opts_compat() 955 void *mnt_opts) in security_sb_remount() argument 957 return call_int_hook(sb_remount, 0, sb, mnt_opts); in security_sb_remount() [all …]
|
/Linux-v6.1/fs/ |
D | proc_namespace.c | 66 static const struct proc_fs_opts mnt_opts[] = { in show_mnt_opts() local 78 for (fs_infop = mnt_opts; fs_infop->flag; fs_infop++) { in show_mnt_opts()
|
/Linux-v6.1/security/smack/ |
D | smack_lsm.c | 556 static void smack_free_mnt_opts(void *mnt_opts) in smack_free_mnt_opts() argument 558 struct smack_mnt_opts *opts = mnt_opts; in smack_free_mnt_opts() 567 static int smack_add_opt(int token, const char *s, void **mnt_opts) in smack_add_opt() argument 569 struct smack_mnt_opts *opts = *mnt_opts; in smack_add_opt() 575 *mnt_opts = opts; in smack_add_opt() 696 static int smack_sb_eat_lsm_opts(char *options, void **mnt_opts) in smack_sb_eat_lsm_opts() argument 714 rc = smack_add_opt(token, arg, mnt_opts); in smack_sb_eat_lsm_opts() 717 if (*mnt_opts) in smack_sb_eat_lsm_opts() 718 smack_free_mnt_opts(*mnt_opts); in smack_sb_eat_lsm_opts() 719 *mnt_opts = NULL; in smack_sb_eat_lsm_opts() [all …]
|
/Linux-v6.1/security/selinux/ |
D | hooks.c | 349 static void selinux_free_mnt_opts(void *mnt_opts) in selinux_free_mnt_opts() argument 351 kfree(mnt_opts); in selinux_free_mnt_opts() 603 void *mnt_opts, in selinux_set_mnt_opts() argument 610 struct selinux_mnt_opts *opts = mnt_opts; in selinux_set_mnt_opts() 951 static int selinux_add_opt(int token, const char *s, void **mnt_opts) in selinux_add_opt() argument 953 struct selinux_mnt_opts *opts = *mnt_opts; in selinux_add_opt() 972 *mnt_opts = opts; in selinux_add_opt() 2570 static int selinux_sb_eat_lsm_opts(char *options, void **mnt_opts) in selinux_sb_eat_lsm_opts() argument 2600 rc = selinux_add_opt(token, arg, mnt_opts); in selinux_sb_eat_lsm_opts() 2624 if (*mnt_opts) { in selinux_sb_eat_lsm_opts() [all …]
|
/Linux-v6.1/security/landlock/ |
D | fs.c | 1064 static int hook_sb_remount(struct super_block *const sb, void *const mnt_opts) in hook_sb_remount() argument
|