diff options
Diffstat (limited to 'security/capability.c')
-rw-r--r-- | security/capability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/capability.c b/security/capability.c index d32e16e3c6ae..32b515766df1 100644 --- a/security/capability.c +++ b/security/capability.c | |||
@@ -858,7 +858,7 @@ static int cap_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) | |||
858 | 858 | ||
859 | static int cap_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) | 859 | static int cap_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) |
860 | { | 860 | { |
861 | return 0; | 861 | return -EOPNOTSUPP; |
862 | } | 862 | } |
863 | #ifdef CONFIG_KEYS | 863 | #ifdef CONFIG_KEYS |
864 | static int cap_key_alloc(struct key *key, const struct cred *cred, | 864 | static int cap_key_alloc(struct key *key, const struct cred *cred, |