Sanitize exec_permission_lite()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 06:01:38 +0000 (01:01 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 17:16:45 +0000 (12:16 -0500)
commitb75b5086be6504132eadb22a907854e0bf52e365
treeb9859bcb09d12bb2a1dcfd5c3cecf303c2c02d1b
parent6e6b1bd1e739faf4fa259fc0d8bfcadea2493222
Sanitize exec_permission_lite()

Use the sucker in other places in pathname resolution
that check MAY_EXEC for directories; lose the _lite
from name, it's equivalent of full-blown inode_permission()
for its callers (albeit still lighter, since large parts
of generic_permission() do not apply for pure MAY_EXEC).

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