diff options
Diffstat (limited to 'security/dummy.c')
-rw-r--r-- | security/dummy.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/security/dummy.c b/security/dummy.c index 4129dcf3daec..c77dec822385 100644 --- a/security/dummy.c +++ b/security/dummy.c | |||
@@ -376,6 +376,16 @@ static int dummy_inode_removexattr (struct dentry *dentry, char *name) | |||
376 | return 0; | 376 | return 0; |
377 | } | 377 | } |
378 | 378 | ||
379 | static int dummy_inode_need_killpriv(struct dentry *dentry) | ||
380 | { | ||
381 | return 0; | ||
382 | } | ||
383 | |||
384 | static int dummy_inode_killpriv(struct dentry *dentry) | ||
385 | { | ||
386 | return 0; | ||
387 | } | ||
388 | |||
379 | static int dummy_inode_getsecurity(const struct inode *inode, const char *name, void *buffer, size_t size, int err) | 389 | static int dummy_inode_getsecurity(const struct inode *inode, const char *name, void *buffer, size_t size, int err) |
380 | { | 390 | { |
381 | return -EOPNOTSUPP; | 391 | return -EOPNOTSUPP; |
@@ -1022,6 +1032,8 @@ void security_fixup_ops (struct security_operations *ops) | |||
1022 | set_to_dummy_if_null(ops, inode_getxattr); | 1032 | set_to_dummy_if_null(ops, inode_getxattr); |
1023 | set_to_dummy_if_null(ops, inode_listxattr); | 1033 | set_to_dummy_if_null(ops, inode_listxattr); |
1024 | set_to_dummy_if_null(ops, inode_removexattr); | 1034 | set_to_dummy_if_null(ops, inode_removexattr); |
1035 | set_to_dummy_if_null(ops, inode_need_killpriv); | ||
1036 | set_to_dummy_if_null(ops, inode_killpriv); | ||
1025 | set_to_dummy_if_null(ops, inode_xattr_getsuffix); | 1037 | set_to_dummy_if_null(ops, inode_xattr_getsuffix); |
1026 | set_to_dummy_if_null(ops, inode_getsecurity); | 1038 | set_to_dummy_if_null(ops, inode_getsecurity); |
1027 | set_to_dummy_if_null(ops, inode_setsecurity); | 1039 | set_to_dummy_if_null(ops, inode_setsecurity); |