diff options
author | Serge Hallyn <shallyn@cisco.com> | 2020-11-15 21:55:31 -0600 |
---|---|---|
committer | Serge Hallyn <shallyn@cisco.com> | 2020-11-15 21:55:31 -0600 |
commit | 7d70f1635bf9a8db98d8297fbe957ae562f9ff13 (patch) | |
tree | 8e7b6344d34614476323f2163fc6cad23bc4c715 | |
parent | 09162bc32c880a791c6c0668ce0745cf7958f576 (diff) | |
download | linux-2020-11-15/fix-nscaps.tar.gz |
fix namespaced fscaps when !CONFIG_SECURITY2020-11-15/fix-nscaps
fixes https://bugzilla.kernel.org/show_bug.cgi?id=209689
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
-rw-r--r-- | include/linux/security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index bc272549156089..39642626a707ca 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -869,7 +869,7 @@ static inline int security_inode_killpriv(struct dentry *dentry) static inline int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc) { - return -EOPNOTSUPP; + return cap_inode_getsecurity(inode, name, buffer, alloc); } static inline int security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t size, int flags) |