summaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2010-04-21 00:02:11 -0700
committerJames Morris <jmorris@namei.org>2010-04-23 10:10:23 +1000
commitc5b60b5e67af8be4c58d3ffcc36894f69c4fbdc1 (patch)
tree5ca471fad635ee8d91a24c7b5448dbcad3de74ef /security/commoncap.c
parent822cceec7248013821d655545ea45d1c6a9d15b3 (diff)
downloadop-kernel-dev-c5b60b5e67af8be4c58d3ffcc36894f69c4fbdc1.zip
op-kernel-dev-c5b60b5e67af8be4c58d3ffcc36894f69c4fbdc1.tar.gz
security: whitespace coding style fixes
Whitespace coding style fixes. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/commoncap.c')
-rw-r--r--security/commoncap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/commoncap.c b/security/commoncap.c
index c45c4d2..4e01599 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -570,7 +570,7 @@ int cap_inode_setxattr(struct dentry *dentry, const char *name,
}
if (!strncmp(name, XATTR_SECURITY_PREFIX,
- sizeof(XATTR_SECURITY_PREFIX) - 1) &&
+ sizeof(XATTR_SECURITY_PREFIX) - 1) &&
!capable(CAP_SYS_ADMIN))
return -EPERM;
return 0;
@@ -596,7 +596,7 @@ int cap_inode_removexattr(struct dentry *dentry, const char *name)
}
if (!strncmp(name, XATTR_SECURITY_PREFIX,
- sizeof(XATTR_SECURITY_PREFIX) - 1) &&
+ sizeof(XATTR_SECURITY_PREFIX) - 1) &&
!capable(CAP_SYS_ADMIN))
return -EPERM;
return 0;
OpenPOWER on IntegriCloud