sync code with last fixes and improvements from OpenBSD
This commit is contained in:
parent
62073e0295
commit
0f55503fed
72 changed files with 797 additions and 1127 deletions
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: execv.3,v 1.1 2019/08/11 15:48:08 deraadt Exp $
|
||||
.\" $OpenBSD: execv.3,v 1.2 2023/05/13 16:36:40 kn Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -27,7 +27,7 @@
|
|||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd $Mdocdate: August 11 2019 $
|
||||
.Dd $Mdocdate: May 13 2023 $
|
||||
.Dt EXECV 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -136,8 +136,14 @@ If this variable isn't specified,
|
|||
.Dv _PATH_DEFPATH
|
||||
from
|
||||
.In paths.h
|
||||
is used instead, its value being:
|
||||
.Pa /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin
|
||||
is used instead, consisting of
|
||||
.Pa /usr/bin ,
|
||||
.Pa /bin ,
|
||||
.Pa /usr/sbin ,
|
||||
.Pa /sbin ,
|
||||
.Pa /usr/X11R6/bin ,
|
||||
.Pa /usr/local/bin ,
|
||||
.Pa /usr/local/sbin .
|
||||
.Pp
|
||||
In addition, certain errors are treated specially.
|
||||
.Pp
|
||||
|
@ -201,7 +207,9 @@ Historically, the default path for the
|
|||
and
|
||||
.Fn execvp
|
||||
functions was
|
||||
.Pa \&.:/bin:/usr/bin .
|
||||
.Pa \&. ,
|
||||
.Pa /bin ,
|
||||
.Pa /usr/bin .
|
||||
This was changed to improve security and behaviour.
|
||||
.Pp
|
||||
The behavior of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue