diff options
author | 2014-06-07 23:24:07 -0700 | |
---|---|---|
committer | 2014-06-07 23:24:07 -0700 | |
commit | a292241cccb7e20e8b997a9a44177e7c98141859 (patch) | |
tree | a0b0bb95e7dce3233a2d8b203f9e326cdec7a00e /security/capability.c | |
parent | Input: synaptics - fix resolution for manually provided min/max (diff) | |
parent | Input: atmel_mxt_ts - fix invalid return from mxt_get_bootloader_version (diff) | |
download | wireguard-linux-a292241cccb7e20e8b997a9a44177e7c98141859.tar.xz wireguard-linux-a292241cccb7e20e8b997a9a44177e7c98141859.zip |
Merge branch 'next' into for-linus
Prepare input updates for 3.16.
Diffstat (limited to 'security/capability.c')
-rw-r--r-- | security/capability.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/security/capability.c b/security/capability.c index 8b4f24ae4338..ad0d4de69944 100644 --- a/security/capability.c +++ b/security/capability.c @@ -116,7 +116,7 @@ static int cap_dentry_init_security(struct dentry *dentry, int mode, struct qstr *name, void **ctx, u32 *ctxlen) { - return 0; + return -EOPNOTSUPP; } static int cap_inode_alloc_security(struct inode *inode) @@ -757,7 +757,8 @@ static void cap_skb_owned_by(struct sk_buff *skb, struct sock *sk) #ifdef CONFIG_SECURITY_NETWORK_XFRM static int cap_xfrm_policy_alloc_security(struct xfrm_sec_ctx **ctxp, - struct xfrm_user_sec_ctx *sec_ctx) + struct xfrm_user_sec_ctx *sec_ctx, + gfp_t gfp) { return 0; } |