diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-12-11 03:01:47 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-12-11 03:01:47 +0300 |
commit | 197c61cb176a40f5877c3caf8249722e77b7d989 (patch) | |
tree | 4cb31709e4f1614ac89dcb71c3ba8da223449b34 /include | |
parent | 6840a3dcc2447188e7bb8464b31a7620bc4423ee (diff) | |
parent | ed9b25d1970a4787ac6a39c2091e63b127ecbfc1 (diff) | |
download | linux-197c61cb176a40f5877c3caf8249722e77b7d989.tar.xz |
Merge tag 'fixes-v5.10a' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull namespaced fscaps fix from James Morris:
"Fix namespaced fscaps when !CONFIG_SECURITY (Serge Hallyn)"
* tag 'fixes-v5.10a' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
[SECURITY] fix namespaced fscaps when !CONFIG_SECURITY
Diffstat (limited to 'include')
-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 bc2725491560..39642626a707 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) |