https://github.com/torvalds/linux
Revision a343bb7750e6a098909c34f5c5dfddbc4fa40053 authored by Trond Myklebust on 23 August 2006, 00:06:03 UTC, committed by Trond Myklebust on 24 August 2006, 19:54:58 UTC
Currently, the access() call will return incorrect information on NFS if
there exists an ACL that grants execute access to the user on a regular
file. The reason the information is incorrect is that the VFS overrides
this execute access in open_exec() by checking (inode->i_mode & 0111).

This patch propagates the VFS execute bit check back into the generic
permission() call.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from 64cbae98848c4c99851cb0a405f0b4982cd76c1e commit)
1 parent 16b4289
History
Tip revision: a343bb7750e6a098909c34f5c5dfddbc4fa40053 authored by Trond Myklebust on 23 August 2006, 00:06:03 UTC
VFS: Fix access("file", X_OK) in the presence of ACLs
Tip revision: a343bb7
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 521 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.4 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 70.9 KB
Makefile -rw-r--r-- 46.5 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top