diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2007-10-17 08:27:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 17:42:52 +0200 |
commit | 1a159dd229e6a70e3ffd3f785cb51fa61b232279 (patch) | |
tree | 25d7596b718b37dccedc1a4486e4afc45e29a772 /REPORTING-BUGS | |
parent | fix execute checking in permission() (diff) | |
download | linux-1a159dd229e6a70e3ffd3f785cb51fa61b232279.tar.xz linux-1a159dd229e6a70e3ffd3f785cb51fa61b232279.zip |
exec: remove unnecessary check for MNT_NOEXEC
vfs_permission(MAY_EXEC) checks if the filesystem is mounted with "noexec", so
there's no need to repeat this check in sys_uselib() and open_exec().
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions