diff options
author | 2019-12-01 18:17:31 +0000 | |
---|---|---|
committer | 2019-12-01 18:17:31 +0000 | |
commit | 11dfcec84175da73b57ac3a57ff06a8912b35576 (patch) | |
tree | bc6b9e490cab600ae3603f3c3894331ced849291 /lib/libc | |
parent | Tweak variable names to be consistent with 'pg_code' and 'pg_length' (diff) | |
download | wireguard-openbsd-11dfcec84175da73b57ac3a57ff06a8912b35576.tar.xz wireguard-openbsd-11dfcec84175da73b57ac3a57ff06a8912b35576.zip |
comply with POSIX and make execve() return EACCES for directories
ok millert@ deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/execve.2 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index 05d0530ff66..998958d1162 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: execve.2,v 1.52 2019/07/29 23:14:06 deraadt Exp $ +.\" $OpenBSD: execve.2,v 1.53 2019/12/01 18:17:31 naddy 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: July 29 2019 $ +.Dd $Mdocdate: December 1 2019 $ .Dt EXECVE 2 .Os .Sh NAME @@ -250,8 +250,6 @@ 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 |