Skip to content

Commit 197c61c

Browse files
committed
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
2 parents 6840a3d + ed9b25d commit 197c61c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/security.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ static inline int security_inode_killpriv(struct dentry *dentry)
869869

870870
static inline int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc)
871871
{
872-
return -EOPNOTSUPP;
872+
return cap_inode_getsecurity(inode, name, buffer, alloc);
873873
}
874874

875875
static inline int security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t size, int flags)

0 commit comments

Comments
 (0)