open.2: Mention O_PATH file descriptor use with fexecve(3)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-09-16 15:43:29 +02:00
parent 046a128700
commit e982cebf24
1 changed files with 5 additions and 0 deletions

View File

@ -701,6 +701,11 @@ snprintf(buf, "/proc/self/fd/%d", fd);
execl(buf, "some_prog", (char *) NULL);
.EE
.in
.IP
An
.B O_PATH
file descriptor can also be passed as the argument of
.BR fexecve (3).
.TP
.B O_SYNC
Write operations on the file will complete according to the requirements of