| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Described in [1], signal handlers running in a vfork child have
opportunities to corrupt the parent's state. Address this by adding a new
rfork(2) flag, RFSPAWN, that has vfork(2) semantics but also resets signal
handlers in the child during creation.
x86 uses rfork_thread(3) instead of a direct rfork(2) because rfork with
RFMEM/RFSPAWN cannot work when the return address is stored on the stack --
further information about this problem is described under RFMEM in the
rfork(2) man page.
Addressing this has been identified as a prerequisite to using posix_spawn
in subprocess on FreeBSD [2].
[1] https://ewontfix.com/7/
[2] https://bugs.python.org/issue35823
Reviewed by: jilles, kib
Differential Revision: https://reviews.freebsd.org/D19058
Notes:
svn path=/head/; revision=352712
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When RFSPAWN is passed, rfork exhibits vfork(2) semantics but also resets
signal handlers in the child during creation to avoid a point of corruption
of parent state from the child.
This flag will be used by posix_spawn(3) to handle potential signal issues.
Reviewed by: jilles, kib
Differential Revision: https://reviews.freebsd.org/D19058
Notes:
svn path=/head/; revision=352711
|
| |
|
|
|
|
|
|
|
| |
delivered, not returned.
MFC after: 1 week
Notes:
svn path=/head/; revision=223967
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Calling rfork_thread(3) does not interoperate with pthreads and global state
is not properly protected.
Remove the BUGS section suggesting LinuxThreads entirely. With the current
pthread library libthr, all threads are kernel-level entities so there seems
little reason to use LinuxThreads.
Notes:
svn path=/head/; revision=219682
|
| |
|
|
|
|
|
|
|
| |
PR: docs/78915
Submitted by: Marc Olzheim <marcolz@stack.nl>
MFC after: 1 week
Notes:
svn path=/head/; revision=169550
|
| |
|
|
| |
Notes:
svn path=/head/; revision=141846
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140505
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131504
|
| |
|
|
|
|
|
| |
manual page function prototypes.
Notes:
svn path=/head/; revision=114131
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111285
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110135
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110134
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110133
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108087
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Stop calling system calls "function calls".
Use "The .Fn system call" a-la "The .Nm utility".
When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.
Notes:
svn path=/head/; revision=108028
|
| |
|
|
|
|
|
|
|
|
|
| |
from 1 to 10.
PR: kern/40515
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 day
Notes:
svn path=/head/; revision=100907
|
| |
|
|
|
|
|
| |
manpage are passed in.
Notes:
svn path=/head/; revision=88158
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84306
|
| |
|
|
| |
Notes:
svn path=/head/; revision=81462
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79754
|
| |
|
|
|
|
|
| |
Submitted by: okazaki
Notes:
svn path=/head/; revision=74369
|
| |
|
|
| |
Notes:
svn path=/head/; revision=69857
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68948
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68716
|
| |
|
|
| |
Notes:
svn path=/head/; revision=64042
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63851
|
| |
|
|
|
|
|
| |
initially suggested by mdoc(7) style, but was broken over the years
Notes:
svn path=/head/; revision=59954
|
| |
|
|
|
|
|
| |
More libraries manpages updates following.
Notes:
svn path=/head/; revision=59460
|
| |
|
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
Notes:
svn path=/head/; revision=57686
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
Notes:
svn path=/head/; revision=48794
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This takes the conditionals out of the code that has been tested by
various people for a while.
ps and friends (libkvm) will need a recompile as some proc structure
changes are made.
Submitted by: "Richard Seaman, Jr." <dick@tar.com>
Notes:
svn path=/head/; revision=43208
|
| |
|
|
| |
Notes:
svn path=/head/; revision=29176
|
| |
|
|
| |
Notes:
svn path=/head/; revision=21907
|
| |
|
|
| |
Notes:
svn path=/head/; revision=21579
|
| |
|
|
|
|
|
| |
Changed the error name width for rfork to match fork.
Notes:
svn path=/head/; revision=18562
|
| |
|
|
|
|
|
| |
Plan9 specific flags.
Notes:
svn path=/head/; revision=15303
|
| |
|
|
|
|
|
|
| |
converted them into .Fn macros where appropriate. Also fixed
up some minor formatting problems.
Notes:
svn path=/head/; revision=14855
|
|
|
man pages adapted from OpenBSD's versions.
Notes:
svn path=/head/; revision=14224
|