Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dtoken.c115 struct bpf_mount_opts *mnt_opts; in bpf_token_create() local
153 mnt_opts = sb->s_fs_info; in bpf_token_create()
154 if (mnt_opts->delegate_cmds == 0 && in bpf_token_create()
155 mnt_opts->delegate_maps == 0 && in bpf_token_create()
156 mnt_opts->delegate_progs == 0 && in bpf_token_create()
157 mnt_opts->delegate_attachs == 0) in bpf_token_create()
183 token->allowed_cmds = mnt_opts->delegate_cmds; in bpf_token_create()
184 token->allowed_maps = mnt_opts->delegate_maps; in bpf_token_create()
185 token->allowed_progs = mnt_opts->delegate_progs; in bpf_token_create()
186 token->allowed_attachs = mnt_opts->delegate_attachs; in bpf_token_create()
/linux/security/
H A Dsecurity.c969 void security_free_mnt_opts(void **mnt_opts) in security_free_mnt_opts() argument
971 if (!*mnt_opts) in security_free_mnt_opts()
973 call_void_hook(sb_free_mnt_opts, *mnt_opts); in security_free_mnt_opts()
974 *mnt_opts = NULL; in security_free_mnt_opts()
987 int security_sb_eat_lsm_opts(char *options, void **mnt_opts) in security_sb_eat_lsm_opts() argument
989 return call_int_hook(sb_eat_lsm_opts, options, mnt_opts); in security_sb_eat_lsm_opts()
1004 void *mnt_opts) in security_sb_mnt_opts_compat() argument
1006 return call_int_hook(sb_mnt_opts_compat, sb, mnt_opts); in security_sb_mnt_opts_compat()
1021 void *mnt_opts) in security_sb_remount() argument
1023 return call_int_hook(sb_remount, sb, mnt_opts); in security_sb_remount()
[all …]
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h159 __u32 mnt_opts; /* [str] Options (comma separated, escaped) */
225 #define STATMOUNT_MNT_OPTS 0x00000080U /* Want/got mnt_opts */
158 __u32 mnt_opts; /* [str] Options (comma separated, escaped) */ global() member
/linux/security/smack/
H A Dsmack_lsm.c554 static void smack_free_mnt_opts(void *mnt_opts) in smack_free_mnt_opts() argument
556 kfree(mnt_opts); in smack_free_mnt_opts()
559 static int smack_add_opt(int token, const char *s, void **mnt_opts) in smack_add_opt() argument
561 struct smack_mnt_opts *opts = *mnt_opts; in smack_add_opt()
568 *mnt_opts = opts; in smack_add_opt()
724 static int smack_sb_eat_lsm_opts(char *options, void **mnt_opts) in smack_sb_eat_lsm_opts() argument
742 rc = smack_add_opt(token, arg, mnt_opts); in smack_sb_eat_lsm_opts()
745 if (*mnt_opts) in smack_sb_eat_lsm_opts()
746 smack_free_mnt_opts(*mnt_opts); in smack_sb_eat_lsm_opts()
747 *mnt_opts in smack_sb_eat_lsm_opts()
781 smack_set_mnt_opts(struct super_block * sb,void * mnt_opts,unsigned long kern_flags,unsigned long * set_kern_flags) smack_set_mnt_opts() argument
[all...]
/linux/samples/vfs/
H A Dmountinfo.c164 printf(",%s", &buf->str[buf->mnt_opts]); in dump_mountinfo()
/linux/security/selinux/
H A Dhooks.c388 static void selinux_free_mnt_opts(void *mnt_opts) in selinux_free_mnt_opts() argument
390 kfree(mnt_opts); in selinux_free_mnt_opts()
640 void *mnt_opts, in selinux_set_mnt_opts() argument
647 struct selinux_mnt_opts *opts = mnt_opts; in selinux_set_mnt_opts()
1015 static int selinux_add_opt(int token, const char *s, void **mnt_opts) in selinux_add_opt() argument
1017 struct selinux_mnt_opts *opts = *mnt_opts; in selinux_add_opt()
1036 *mnt_opts = opts; in selinux_add_opt()
2637 static int selinux_sb_eat_lsm_opts(char *options, void **mnt_opts) in selinux_sb_eat_lsm_opts() argument
2667 rc = selinux_add_opt(token, arg, mnt_opts); in selinux_sb_eat_lsm_opts()
2691 if (*mnt_opts) { in selinux_sb_eat_lsm_opts()
[all …]
/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c504 statmount_opts = sm->str + sm->mnt_opts; in test_statmount_mnt_opts()
/linux/security/landlock/
H A Dfs.c1468 static int hook_sb_remount(struct super_block *const sb, void *const mnt_opts)
1469 hook_sb_remount(struct super_block * const sb,void * const mnt_opts) hook_sb_remount() argument
/linux/fs/
H A Dnamespace.c5577 offp = &sm->mnt_opts; in statmount_string()