openat2
On success, a new file descriptor is returned. On error, -1 is returned, and errno is set to indicate the error.