Linux: Emulate fchmodat with AT_SYMLINK_NOFOLLOW using O_PATH [BZ #14578]
authorFlorian Weimer <fweimer@redhat.com>
Wed, 22 Jan 2020 18:01:20 +0000 (19:01 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 12 Feb 2020 07:43:59 +0000 (08:43 +0100)
commit752dd17443e55a4535cb9e6baa4e550ede383540
tree9e7e6a0ab376017674ea8f20c4a9e429f4133418
parent6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d
Linux: Emulate fchmodat with AT_SYMLINK_NOFOLLOW using O_PATH [BZ #14578]

/proc/self/fd files are special and chmod on O_PATH descriptors
in that directory operates on the symbolic link itself (like lchmod).
sysdeps/unix/sysv/linux/fchmodat.c