commit | e74f71eb78a4a8b9eaf1bc65f20f761648e85f76 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Jun 20 19:38:15 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Jul 20 01:43:26 2011 -0400 |
tree | 7bc7fc1344f5ed6e3ce8132b36125ef5cec6407c | |
parent | 10556cb21a0d0b24d95f00ea6df16f599a3345b2 [diff] [blame] |
->permission() sanitizing: don't pass flags to ->inode_permission() pass that via mask instead. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/security/capability.c b/security/capability.c index bbb5115..2984ea4 100644 --- a/security/capability.c +++ b/security/capability.c
@@ -181,7 +181,7 @@ return 0; } -static int cap_inode_permission(struct inode *inode, int mask, unsigned flags) +static int cap_inode_permission(struct inode *inode, int mask) { return 0; }