Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 7 of 7) sorted by relevance

/security/
Dinode.c40 static int securityfs_fill_super(struct super_block *sb, struct fs_context *fc) in securityfs_fill_super() argument
54 static int securityfs_get_tree(struct fs_context *fc) in securityfs_get_tree() argument
56 return get_tree_single(fc, securityfs_fill_super); in securityfs_get_tree()
63 static int securityfs_init_fs_context(struct fs_context *fc) in securityfs_init_fs_context() argument
65 fc->ops = &securityfs_context_ops; in securityfs_init_fs_context()
Dsecurity.c884 int security_fs_context_dup(struct fs_context *fc, struct fs_context *src_fc) in security_fs_context_dup() argument
886 return call_int_hook(fs_context_dup, 0, fc, src_fc); in security_fs_context_dup()
889 int security_fs_context_parse_param(struct fs_context *fc, in security_fs_context_parse_param() argument
898 trc = hp->hook.fs_context_parse_param(fc, param); in security_fs_context_parse_param()
/security/smack/
Dsmackfs.c2874 static int smk_fill_super(struct super_block *sb, struct fs_context *fc) in smk_fill_super() argument
2951 static int smk_get_tree(struct fs_context *fc) in smk_get_tree() argument
2953 return get_tree_single(fc, smk_fill_super); in smk_get_tree()
2964 static int smk_init_fs_context(struct fs_context *fc) in smk_init_fs_context() argument
2966 fc->ops = &smk_context_ops; in smk_init_fs_context()
Dsmack_lsm.c620 static int smack_fs_context_dup(struct fs_context *fc, in smack_fs_context_dup() argument
628 fc->security = kzalloc(sizeof(struct smack_mnt_opts), GFP_KERNEL); in smack_fs_context_dup()
629 if (!fc->security) in smack_fs_context_dup()
631 dst = fc->security; in smack_fs_context_dup()
679 static int smack_fs_context_parse_param(struct fs_context *fc, in smack_fs_context_parse_param() argument
685 opt = fs_parse(fc, smack_fs_parameters, param, &result); in smack_fs_context_parse_param()
689 rc = smack_add_opt(opt, param->string, &fc->security); in smack_fs_context_parse_param()
/security/selinux/
Dselinuxfs.c2055 static int sel_fill_super(struct super_block *sb, struct fs_context *fc) in sel_fill_super() argument
2184 static int sel_get_tree(struct fs_context *fc) in sel_get_tree() argument
2186 return get_tree_single(fc, sel_fill_super); in sel_get_tree()
2193 static int sel_init_fs_context(struct fs_context *fc) in sel_init_fs_context() argument
2195 fc->ops = &sel_context_ops; in sel_init_fs_context()
Dhooks.c2860 static int selinux_fs_context_dup(struct fs_context *fc, in selinux_fs_context_dup() argument
2869 fc->security = kzalloc(sizeof(struct selinux_mnt_opts), GFP_KERNEL); in selinux_fs_context_dup()
2870 if (!fc->security) in selinux_fs_context_dup()
2873 opts = fc->security; in selinux_fs_context_dup()
2907 static int selinux_fs_context_parse_param(struct fs_context *fc, in selinux_fs_context_parse_param() argument
2913 opt = fs_parse(fc, selinux_fs_parameters, param, &result); in selinux_fs_context_parse_param()
2917 rc = selinux_add_opt(opt, param->string, &fc->security); in selinux_fs_context_parse_param()
/security/apparmor/
Dapparmorfs.c166 static int apparmorfs_fill_super(struct super_block *sb, struct fs_context *fc) in apparmorfs_fill_super() argument
179 static int apparmorfs_get_tree(struct fs_context *fc) in apparmorfs_get_tree() argument
181 return get_tree_single(fc, apparmorfs_fill_super); in apparmorfs_get_tree()
188 static int apparmorfs_init_fs_context(struct fs_context *fc) in apparmorfs_init_fs_context() argument
190 fc->ops = &apparmorfs_context_ops; in apparmorfs_init_fs_context()