|author||Linus Torvalds <email@example.com>||2012-07-07 10:17:00 -0700|
|committer||Linus Torvalds <firstname.lastname@example.org>||2012-07-07 17:19:02 -0700|
vfs: make O_PATH file descriptors usable for 'fchdir()'
We already use them for openat() and friends, but fchdir() also wants to be able to use O_PATH file descriptors. This should make it comparable to the O_SEARCH of Solaris. In particular, O_PATH allows you to access (not-quite-open) a directory you don't have read persmission to, only execute permission. Noticed during development of multithread support for ksh93. Reported-by: ольга крыжановская <email@example.com> Cc: Al Viro <firstname.lastname@example.org> Cc: email@example.com # O_PATH introduced in 3.0+ Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions