aboutsummaryrefslogtreecommitdiffstats
path: root/security/dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/dummy.c')
-rw-r--r--security/dummy.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/dummy.c b/security/dummy.c
index 1db712d99dc7..c155f08e9dd8 100644
--- a/security/dummy.c
+++ b/security/dummy.c
@@ -194,6 +194,11 @@ static int dummy_sb_kern_mount (struct super_block *sb, void *data)
194 return 0; 194 return 0;
195} 195}
196 196
197static int dummy_sb_show_options(struct seq_file *m, struct super_block *sb)
198{
199 return 0;
200}
201
197static int dummy_sb_statfs (struct dentry *dentry) 202static int dummy_sb_statfs (struct dentry *dentry)
198{ 203{
199 return 0; 204 return 0;
@@ -1088,6 +1093,7 @@ void security_fixup_ops (struct security_operations *ops)
1088 set_to_dummy_if_null(ops, sb_free_security); 1093 set_to_dummy_if_null(ops, sb_free_security);
1089 set_to_dummy_if_null(ops, sb_copy_data); 1094 set_to_dummy_if_null(ops, sb_copy_data);
1090 set_to_dummy_if_null(ops, sb_kern_mount); 1095 set_to_dummy_if_null(ops, sb_kern_mount);
1096 set_to_dummy_if_null(ops, sb_show_options);
1091 set_to_dummy_if_null(ops, sb_statfs); 1097 set_to_dummy_if_null(ops, sb_statfs);
1092 set_to_dummy_if_null(ops, sb_mount); 1098 set_to_dummy_if_null(ops, sb_mount);
1093 set_to_dummy_if_null(ops, sb_check_sb); 1099 set_to_dummy_if_null(ops, sb_check_sb);