Package: manpages-dev
Version: 6.7-2
Severity: normal
File: /usr/share/man/man2/execveat.2.gz
Tags: patch

Hi,

I was looking why execveat(..., ..., ..., ..., AT_EMPTY_PATH) was
returning -ENOENT for me and figured that the ERRORS section of the
manual page would not provide the correct explanation. Lower in the
NOTES section, I eventually discovered the cause, but I think it would
be useful to have this noted in the ERRORS section directly. Hence, I
am proposing a patch to add this reference.

Helmut
--- manpages-6.8.orig/man/man2/execveat.2
+++ manpages-6.8/man/man2/execveat.2
@@ -140,6 +140,16 @@ flag, with the result that
 the program file is inaccessible to the launched interpreter.
 See BUGS.
 .TP
+.B ENOENT
+The program identified by
+.I dirfd
+and
+.I pathname
+is a dynamically linked executable and the path
+.I /dev/fd/N
+does not exist.
+See NOTES.
+.TP
 .B ENOTDIR
 .I pathname
 is relative and

Reply via email to