->permission() sanitizing: don't pass flags to exec_permission()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Jun 2011 23:48:41 +0000 (19:48 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:43:29 +0000 (01:43 -0400)
commiteecdd358b467405a084d400d5ec571bbdbfe97a3
tree357332873b909a19964e77dbae3c4aed5c100dc6
parentcf1dd1dae851ce5765cda5de16aa965eef7c2dbf
->permission() sanitizing: don't pass flags to exec_permission()

pass mask instead; kill security_inode_exec_permission() since we can use
security_inode_permission() instead.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
include/linux/security.h
security/security.c