.BR faccessat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EINVAL
Invalid flag specified in
.BR fchmodat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EINVAL
Invalid flag specified in
.BR fchownat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EINVAL
Invalid flag specified in
The following additional errors can occur for
.BR execveat ():
.TP
-.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EINVAL
Invalid flag specified in
.BR futimesat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B ENOTDIR
.I pathname
.BR linkat ():
.TP
.B EBADF
+.I oldpath
+.RI ( newpath )
+is relative but
.I olddirfd
-or
-.I newdirfd
-is not a valid file descriptor.
+.RI ( newdirfd )
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EINVAL
An invalid flag value was specified in
.BR mkdirat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B ENOTDIR
.I pathname
.BR mknodat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B ENOTDIR
.I pathname
.SH ERRORS
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EBADF
.I userns_fd
.BR openat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B ENOTDIR
.I pathname
.TP
.B EBADF
.I pathname
-is relative and
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EFAULT
.IR handle
.BR readlinkat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B ENOTDIR
.I pathname
.BR renameat2 ():
.TP
.B EBADF
+.I oldpath
+.RI ( newpath )
+is relative but
.I olddirfd
-or
-.I newdirfd
+.RI ( newdirfd )
is not a valid file descriptor.
.TP
.B ENOTDIR
.BR fstatat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EINVAL
Invalid flag specified in
.BR path_resolution (7).)
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid open file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EFAULT
.I pathname
.BR symlinkat ():
.TP
.B EBADF
+.I linkpath
+is relative but
.I newdirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B ENOENT
.I linkpath
.BR unlinkat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EINVAL
An invalid flag value was specified in
.B EBADF
.RB ( utimensat ())
.I pathname
-is a relative pathname, but
+is relative but
.I dirfd
is neither
.BR AT_FDCWD
.BR mkfifoat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B ENOTDIR
.I pathname
.BR scandirat ():
.TP
.B EBADF
+.I dirp
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B ENOTDIR
.I dirp