Re: [PATCH v2 2/2] vfs: add fchmodat2 syscall

2020-09-16 Thread Greg KH
On Tue, Sep 15, 2020 at 08:23:38PM -0400, Rich Felker wrote: > POSIX defines fchmodat as having a 4th argument, flags, that can be > AT_SYMLINK_NOFOLLOW. Support for changing the access mode of symbolic > links is optional (EOPNOTSUPP allowed if not supported), but this flag > is important even on

Re: [PATCH v2 2/2] vfs: add fchmodat2 syscall

2020-09-16 Thread Aleksa Sarai
On 2020-09-15, Rich Felker wrote: > POSIX defines fchmodat as having a 4th argument, flags, that can be > AT_SYMLINK_NOFOLLOW. Support for changing the access mode of symbolic > links is optional (EOPNOTSUPP allowed if not supported), but this flag > is important even on systems where symlinks do

[PATCH v2 2/2] vfs: add fchmodat2 syscall

2020-09-15 Thread Rich Felker
POSIX defines fchmodat as having a 4th argument, flags, that can be AT_SYMLINK_NOFOLLOW. Support for changing the access mode of symbolic links is optional (EOPNOTSUPP allowed if not supported), but this flag is important even on systems where symlinks do not have access modes, since it's the only