aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/capability.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/capability.c b/security/capability.c
index 1728d4e375db..83efc90b344d 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -843,7 +843,7 @@ static int cap_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen)
843 843
844static int cap_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) 844static int cap_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen)
845{ 845{
846 return 0; 846 return -EOPNOTSUPP;
847} 847}
848#ifdef CONFIG_KEYS 848#ifdef CONFIG_KEYS
849static int cap_key_alloc(struct key *key, const struct cred *cred, 849static int cap_key_alloc(struct key *key, const struct cred *cred,