summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/execve.2
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-10-24 19:31:56 +0000
committerschwarze <schwarze@openbsd.org>2011-10-24 19:31:56 +0000
commit6f058f55bb93c823a021c428ec749a798ccc97ee (patch)
treee3022996899b4b307b396c67712e498328509c90 /lib/libc/sys/execve.2
parentThe cgtwo control registers only support 16-bit accesses, and respond with (diff)
downloadwireguard-openbsd-6f058f55bb93c823a021c428ec749a798ccc97ee.tar.xz
wireguard-openbsd-6f058f55bb93c823a021c428ec749a798ccc97ee.zip
Update POSIX references for chdir(2) and chmod(2) from 1988 to 2008.
Add POSIX references for fchdir(2), fchmod(2), fchmodat(2), fchown(2), lchown(2) and execve(2). State that fchmod(2) can return EPERM as required by POSIX 2008 (tested). Requested by sobrado@; ok guenther@ jmc@ sobrado@.
Diffstat (limited to 'lib/libc/sys/execve.2')
-rw-r--r--lib/libc/sys/execve.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index b4e8f573c7c..fb10ff55a0e 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: execve.2,v 1.36 2011/09/03 22:59:07 jmc Exp $
+.\" $OpenBSD: execve.2,v 1.37 2011/10/24 19:31:56 schwarze 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: September 3 2011 $
+.Dd $Mdocdate: October 24 2011 $
.Dt EXECVE 2
.Os
.Sh NAME
@@ -315,6 +315,10 @@ the system file table was found to be full.
.Xr environ 7
.Sh STANDARDS
The
+.Fn execve
+function is expected to conform to
+.St -p1003.1-2008 .
+The
.Fn exect
function should not be used in portable applications.
.Sh HISTORY