summaryrefslogtreecommitdiff
path: root/lib/kstrtox.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-07-07 17:17:00 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-08 00:19:02 (GMT)
commit332a2e1244bd08b9e3ecd378028513396a004a24 (patch)
tree7524ffece22d3a7db3555d1df2e1d1d9370da9dd /lib/kstrtox.h
parentcd6407fe220c5cf26c117457f5bcdfd6a81fbef8 (diff)
downloadlinux-fsl-qoriq-332a2e1244bd08b9e3ecd378028513396a004a24.tar.xz
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: ольга крыжановская <olga.kryzhanovska@gmail.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: stable@kernel.org # O_PATH introduced in 3.0+ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/kstrtox.h')
0 files changed, 0 insertions, 0 deletions