mirror of
https://github.com/golang/sys.git
synced 2026-02-09 12:16:04 +03:00
Linux kernel 5.8 added the faccessat2 syscall taking a flags argument. Attempt to use it in Faccessat and fall back to the existing implementation mimicking glibc faccessat. Tested on Debian Buster with manually built Linux kernel 5.8 Suggested by Ian Lance Taylor. Change-Id: Ia14f744a63dde7ff2dea34935cabc62937de9cb5 Reviewed-on: https://go-review.googlesource.com/c/sys/+/246537 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
46 KiB
46 KiB