summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2016-03-27 02:07:46 +0000
committermillert <millert@openbsd.org>2016-03-27 02:07:46 +0000
commita9e823a3b741acd9094588031c6eaab62bbd3d20 (patch)
tree3511838b0ae23cad08e2c538e6c29d07118b68a0 /lib/libc
parentMerge a memleak fix from BoringSSL 6b6e0b2: (diff)
downloadwireguard-openbsd-a9e823a3b741acd9094588031c6eaab62bbd3d20.tar.xz
wireguard-openbsd-a9e823a3b741acd9094588031c6eaab62bbd3d20.zip
Add EISDIR to ERRORS and fix ETXTBSY description; from Piotr Durlej.
OK jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/execve.28
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 53d3a2be848..177ac515c4e 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: execve.2,v 1.47 2015/10/11 09:51:26 guenther Exp $
+.\" $OpenBSD: execve.2,v 1.48 2016/03/27 02:07:46 millert Exp $
.\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)execve.2 8.3 (Berkeley) 1/24/94
.\"
-.Dd $Mdocdate: October 11 2015 $
+.Dd $Mdocdate: March 27 2016 $
.Dt EXECVE 2
.Os
.Sh NAME
@@ -250,6 +250,8 @@ bytes.
The new process file does not exist.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
+.It Bq Er EISDIR
+The new process file is a directory.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er EACCES
@@ -267,7 +269,7 @@ The new process file has the appropriate access
permission, but has an invalid magic number in its header.
.It Bq Er ETXTBSY
The new process file is a pure procedure (shared text)
-file that is currently open for writing or reading by some process.
+file that is currently open for writing by some process.
.It Bq Er ENOMEM
The new process requires more virtual memory than
is allowed by the imposed maximum