]> git.ipfire.org Git - thirdparty/man-pages.git/commit - man2/statx.2
access.2, chmod.2, chown.2, execveat.2, futimesat.2, link.2, mkdir.2, mknod.2, mount_...
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 12 Aug 2021 02:05:59 +0000 (04:05 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 12 Aug 2021 03:45:21 +0000 (05:45 +0200)
commit9f4e736ad072ee9b539fa55a6eeb012b98cdded7
tree408e879b0440446862024bd8a36f92b9b0c9b42b
parent38a350061eead6bf6d22db413f8d6b2fbcf08c96
access.2, chmod.2, chown.2, execveat.2, futimesat.2, link.2, mkdir.2, mknod.2, mount_setattr.2, open.2, open_by_handle_at.2, readlink.2, rename.2, stat.2, statx.2, symlink.2, unlink.2, utimensat.2, mkfifo.3, scandir.3: Fix EBADF error description

Make the description of the EBADF error for invalid 'dirfd' more
uniform. In particular, note that the error only occurs when the
pathname is relative, and that it occurs when the 'dirfd' is
neither valid *nor* has the value AT_FDCWD.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
20 files changed:
man2/access.2
man2/chmod.2
man2/chown.2
man2/execveat.2
man2/futimesat.2
man2/link.2
man2/mkdir.2
man2/mknod.2
man2/mount_setattr.2
man2/open.2
man2/open_by_handle_at.2
man2/readlink.2
man2/rename.2
man2/stat.2
man2/statx.2
man2/symlink.2
man2/unlink.2
man2/utimensat.2
man3/mkfifo.3
man3/scandir.3