aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-goto.sh
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-09-14 14:48:21 -0700
committerSpiritCroc <dev@spiritcroc.de>2020-10-15 20:10:18 +0200
commit7eea42d446d7aefdf65c655b8ab334329248d01e (patch)
tree570dfad2b02070a9b8855bc2f4a5b4782cc86455 /scripts/gcc-goto.sh
parentd32f7db9b8266a431e2bdd2577498fd6ffb82794 (diff)
vfs: make O_PATH file descriptors usable for 'fstat()'HEADr11.1
We already use them for openat() and friends, but fstat() also wants to be able to use O_PATH file descriptors. This should make it more directly comparable to the O_SEARCH of Solaris. Note that you could already do the same thing with "fstatat()" and an empty path, but just doing "fstat()" directly is simpler and faster, so there is no reason not to just allow it directly. See also commit 332a2e1244bd, which did the same thing for fchdir, for the same reasons. 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> Change-Id: If8b1918b48c027b540bb3745a15c660a478a9b62
Diffstat (limited to 'scripts/gcc-goto.sh')
0 files changed, 0 insertions, 0 deletions