Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The fchmodat2 syscall was added in Linux kernel 6.6. Use it in Fchmodat if flags are given. It will return ENOSYS on older kernels (or EINVAL or any other bogus error in some container implementations). Fixes golang/go#61636 Change-Id: Ibbc9a08733b7186907b2fe5837cb997446c38357 Reviewed-on: https://go-review.googlesource.com/c/sys/+/539635 Reviewed-by: Heschi Kreinick <heschi@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
- Loading branch information