#1057079 faccessat(2): man page does not mention AT_EMPTY_PATH flag

#1057079#5
Date:
2023-11-29 11:22:18 UTC
From:
To:
Dear Maintainer,

faccessat supports the flag AT_EMPTY_PATH since Linux 5.8 but
this option is still missing in the man page.

(actually Linux 5.8 added faccessat2: glibc wrapper for faccessat
 uses faccessat2, and faccessat2 does support AT_EMPTY_PATH).

I think the standard text used in many other -at man page could fit
here, too.

AT_EMPTY_PATH (since Linux 5.8)
	If  pathname is an empty string, operate on the file referred to
	by dirfd (which may have been obtained using the open(2)  O_PATH
	flag).   In  this case, dirfd can refer to any type of file, not
	just a directory.  If dirfd is AT_FDCWD, the  call  operates  on
	the current working directory.  This flag is Linux-specific;
	define _GNU_SOURCE to obtain its definition.

Thank you
	renzo