mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
posix_spawn(3): document POSIX_SPAWN_DISABLE_ASLR_NP
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
822042fdfc
commit
a725a7a24d
|
@ -32,7 +32,7 @@
|
|||
.\" the referee document. The original Standard can be obtained online at
|
||||
.\" http://www.opengroup.org/unix/online.html.
|
||||
.\"
|
||||
.Dd November 28, 2021
|
||||
.Dd March 4, 2024
|
||||
.Dt POSIX_SPAWN 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -297,6 +297,15 @@ and the signals being indicated in the spawn-sigdefault attribute
|
|||
of the object referenced by
|
||||
.Fa attrp .
|
||||
.Pp
|
||||
The Address Space Layout Randomization for the newly spawned process
|
||||
can be disabled by specifying the
|
||||
.Dv POSIX_SPAWN_DISABLE_ASLR_NP
|
||||
flag in the spawn-flags attribute.
|
||||
This setting is inherited by future children of the child as well.
|
||||
See
|
||||
.Xr procctl 2
|
||||
for more details.
|
||||
.Pp
|
||||
If the value of the
|
||||
.Fa attrp
|
||||
pointer is NULL, then the default values are used.
|
||||
|
@ -432,6 +441,7 @@ action.
|
|||
.Xr execve 2 ,
|
||||
.Xr fcntl 2 ,
|
||||
.Xr open 2 ,
|
||||
.Xr procctl 2 ,
|
||||
.Xr sched_setparam 2 ,
|
||||
.Xr sched_setscheduler 2 ,
|
||||
.Xr setpgid 2 ,
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
.\" the referee document. The original Standard can be obtained online at
|
||||
.\" http://www.opengroup.org/unix/online.html.
|
||||
.\"
|
||||
.Dd March 24, 2008
|
||||
.Dd March 4, 2024
|
||||
.Dt POSIX_SPAWNATTR_GETFLAGS 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -75,6 +75,7 @@ It is the bitwise-inclusive OR of zero or more of the following flags
|
|||
.It Dv POSIX_SPAWN_SETSIGMASK
|
||||
.It Dv POSIX_SPAWN_SETSCHEDPARAM
|
||||
.It Dv POSIX_SPAWN_SETSCHEDULER
|
||||
.It Dv POSIX_SPAWN_DISABLE_ASLR_NP
|
||||
.El
|
||||
.Pp
|
||||
These flags are defined in
|
||||
|
|
Loading…
Reference in a new issue