mirror of https://git.musl-libc.org/git/musl
Browse Source
commit 0dc4824479 worked around for lack
of flags argument in syscall for fchmodat.
linux 6.6 introduced a new syscall, SYS_fchmodat2, fixing this
deficiency. use it if any flags are passed, and fallback to the old
strategy on ENOSYS. continue using the old syscall when there are no
flags. this is the exact same strategy used when SYS_faccessat2 was used
to implement faccessat with flags.
master
committed by
Rich Felker
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue