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.c800 int security_fs_context_dup(struct fs_context *fc, struct fs_context *src_fc) in security_fs_context_dup() argument
802 return call_int_hook(fs_context_dup, 0, fc, src_fc); in security_fs_context_dup()
805 int security_fs_context_parse_param(struct fs_context *fc, in security_fs_context_parse_param() argument
814 trc = hp->hook.fs_context_parse_param(fc, param); in security_fs_context_parse_param()
/security/apparmor/
Dapparmorfs.c136 static int apparmorfs_fill_super(struct super_block *sb, struct fs_context *fc) in apparmorfs_fill_super() argument
149 static int apparmorfs_get_tree(struct fs_context *fc) in apparmorfs_get_tree() argument
151 return get_tree_single(fc, apparmorfs_fill_super); in apparmorfs_get_tree()
158 static int apparmorfs_init_fs_context(struct fs_context *fc) in apparmorfs_init_fs_context() argument
160 fc->ops = &apparmorfs_context_ops; in apparmorfs_init_fs_context()
/security/selinux/
Dselinuxfs.c1953 static int sel_fill_super(struct super_block *sb, struct fs_context *fc) in sel_fill_super() argument
2079 static int sel_get_tree(struct fs_context *fc) in sel_get_tree() argument
2081 return get_tree_single(fc, sel_fill_super); in sel_get_tree()
2088 static int sel_init_fs_context(struct fs_context *fc) in sel_init_fs_context() argument
2090 fc->ops = &sel_context_ops; in sel_init_fs_context()
Dhooks.c2800 static int selinux_fs_context_dup(struct fs_context *fc, in selinux_fs_context_dup() argument
2809 fc->security = kzalloc(sizeof(struct selinux_mnt_opts), GFP_KERNEL); in selinux_fs_context_dup()
2810 if (!fc->security) in selinux_fs_context_dup()
2813 opts = fc->security; in selinux_fs_context_dup()
2852 static int selinux_fs_context_parse_param(struct fs_context *fc, in selinux_fs_context_parse_param() argument
2858 opt = fs_parse(fc, &selinux_fs_parameters, param, &result); in selinux_fs_context_parse_param()
2862 rc = selinux_add_opt(opt, param->string, &fc->security); in selinux_fs_context_parse_param()
/security/smack/
Dsmackfs.c2869 static int smk_fill_super(struct super_block *sb, struct fs_context *fc) in smk_fill_super() argument
2946 static int smk_get_tree(struct fs_context *fc) in smk_get_tree() argument
2948 return get_tree_single(fc, smk_fill_super); in smk_get_tree()
2959 static int smk_init_fs_context(struct fs_context *fc) in smk_init_fs_context() argument
2961 fc->ops = &smk_context_ops; in smk_init_fs_context()
Dsmack_lsm.c640 static int smack_fs_context_dup(struct fs_context *fc, in smack_fs_context_dup() argument
648 fc->security = kzalloc(sizeof(struct smack_mnt_opts), GFP_KERNEL); in smack_fs_context_dup()
649 if (!fc->security) in smack_fs_context_dup()
651 dst = fc->security; in smack_fs_context_dup()
704 static int smack_fs_context_parse_param(struct fs_context *fc, in smack_fs_context_parse_param() argument
710 opt = fs_parse(fc, &smack_fs_parameters, param, &result); in smack_fs_context_parse_param()
714 rc = smack_add_opt(opt, param->string, &fc->security); in smack_fs_context_parse_param()