diff options
Diffstat (limited to 'security/dummy.c')
-rw-r--r-- | security/dummy.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/security/dummy.c b/security/dummy.c index e8a00fa80469..5083314e14b1 100644 --- a/security/dummy.c +++ b/security/dummy.c | |||
@@ -270,12 +270,6 @@ static int dummy_inode_create (struct inode *inode, struct dentry *dentry, | |||
270 | return 0; | 270 | return 0; |
271 | } | 271 | } |
272 | 272 | ||
273 | static void dummy_inode_post_create (struct inode *inode, struct dentry *dentry, | ||
274 | int mask) | ||
275 | { | ||
276 | return; | ||
277 | } | ||
278 | |||
279 | static int dummy_inode_link (struct dentry *old_dentry, struct inode *inode, | 273 | static int dummy_inode_link (struct dentry *old_dentry, struct inode *inode, |
280 | struct dentry *new_dentry) | 274 | struct dentry *new_dentry) |
281 | { | 275 | { |
@@ -300,24 +294,12 @@ static int dummy_inode_symlink (struct inode *inode, struct dentry *dentry, | |||
300 | return 0; | 294 | return 0; |
301 | } | 295 | } |
302 | 296 | ||
303 | static void dummy_inode_post_symlink (struct inode *inode, | ||
304 | struct dentry *dentry, const char *name) | ||
305 | { | ||
306 | return; | ||
307 | } | ||
308 | |||
309 | static int dummy_inode_mkdir (struct inode *inode, struct dentry *dentry, | 297 | static int dummy_inode_mkdir (struct inode *inode, struct dentry *dentry, |
310 | int mask) | 298 | int mask) |
311 | { | 299 | { |
312 | return 0; | 300 | return 0; |
313 | } | 301 | } |
314 | 302 | ||
315 | static void dummy_inode_post_mkdir (struct inode *inode, struct dentry *dentry, | ||
316 | int mask) | ||
317 | { | ||
318 | return; | ||
319 | } | ||
320 | |||
321 | static int dummy_inode_rmdir (struct inode *inode, struct dentry *dentry) | 303 | static int dummy_inode_rmdir (struct inode *inode, struct dentry *dentry) |
322 | { | 304 | { |
323 | return 0; | 305 | return 0; |
@@ -329,12 +311,6 @@ static int dummy_inode_mknod (struct inode *inode, struct dentry *dentry, | |||
329 | return 0; | 311 | return 0; |
330 | } | 312 | } |
331 | 313 | ||
332 | static void dummy_inode_post_mknod (struct inode *inode, struct dentry *dentry, | ||
333 | int mode, dev_t dev) | ||
334 | { | ||
335 | return; | ||
336 | } | ||
337 | |||
338 | static int dummy_inode_rename (struct inode *old_inode, | 314 | static int dummy_inode_rename (struct inode *old_inode, |
339 | struct dentry *old_dentry, | 315 | struct dentry *old_dentry, |
340 | struct inode *new_inode, | 316 | struct inode *new_inode, |
@@ -894,17 +870,13 @@ void security_fixup_ops (struct security_operations *ops) | |||
894 | set_to_dummy_if_null(ops, inode_free_security); | 870 | set_to_dummy_if_null(ops, inode_free_security); |
895 | set_to_dummy_if_null(ops, inode_init_security); | 871 | set_to_dummy_if_null(ops, inode_init_security); |
896 | set_to_dummy_if_null(ops, inode_create); | 872 | set_to_dummy_if_null(ops, inode_create); |
897 | set_to_dummy_if_null(ops, inode_post_create); | ||
898 | set_to_dummy_if_null(ops, inode_link); | 873 | set_to_dummy_if_null(ops, inode_link); |
899 | set_to_dummy_if_null(ops, inode_post_link); | 874 | set_to_dummy_if_null(ops, inode_post_link); |
900 | set_to_dummy_if_null(ops, inode_unlink); | 875 | set_to_dummy_if_null(ops, inode_unlink); |
901 | set_to_dummy_if_null(ops, inode_symlink); | 876 | set_to_dummy_if_null(ops, inode_symlink); |
902 | set_to_dummy_if_null(ops, inode_post_symlink); | ||
903 | set_to_dummy_if_null(ops, inode_mkdir); | 877 | set_to_dummy_if_null(ops, inode_mkdir); |
904 | set_to_dummy_if_null(ops, inode_post_mkdir); | ||
905 | set_to_dummy_if_null(ops, inode_rmdir); | 878 | set_to_dummy_if_null(ops, inode_rmdir); |
906 | set_to_dummy_if_null(ops, inode_mknod); | 879 | set_to_dummy_if_null(ops, inode_mknod); |
907 | set_to_dummy_if_null(ops, inode_post_mknod); | ||
908 | set_to_dummy_if_null(ops, inode_rename); | 880 | set_to_dummy_if_null(ops, inode_rename); |
909 | set_to_dummy_if_null(ops, inode_post_rename); | 881 | set_to_dummy_if_null(ops, inode_post_rename); |
910 | set_to_dummy_if_null(ops, inode_readlink); | 882 | set_to_dummy_if_null(ops, inode_readlink); |