History log of /src/lib/libsys/fork.2 (Results 1 – 25 of 36)
Revision Date Author Comments
# efadb5c2 17-May-2025 Ricardo Branco <rbranco@suse.de>

Add manpages for O_CLOFORK flag and others

Reviewed by: kib
MFC after: 1 month
Pull Request: https://github.com/freebsd/freebsd-src/pull/1698


# 566c039d 15-Nov-2024 Ed Maste <emaste@FreeBSD.org>

fork: Document _Fork (and fork) as POSIX 2024

Also remove some information from HISTORY that is no longer needed (and
could be confusing), now that _Fork is part of a standard.

Reported by: kib
Rev

fork: Document _Fork (and fork) as POSIX 2024

Also remove some information from HISTORY that is no longer needed (and
could be confusing), now that _Fork is part of a standard.

Reported by: kib
Reviewed by: imp, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47588

show more ...


# 8269e767 14-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

libsys: relocate implementations and manpages

Remove core system call implementations and documentation to lib/libsys
and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>.
Update paths

libsys: relocate implementations and manpages

Remove core system call implementations and documentation to lib/libsys
and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>.
Update paths to allow libc to find them in their new home.

Reviewed by: kib, emaste, imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/908

show more ...


# ba719a0f 25-Sep-2023 Tom Hukins <tom@FreeBSD.org>

Fix "version introduced" in numerous manual pages

MFC after: 1 week
Pull request: https://github.com/freebsd/freebsd-src/pull/853


# dc36d6f9 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

lib: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl s

lib: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix

show more ...


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 2a51e882 05-Aug-2021 Konstantin Belousov <kib@FreeBSD.org>

fork(2): comment about doubtful use of stdio and exit(3) in example

Add fflush(stdout) as the common idiom. Explain the need to use exit()
but advise against it.

Reviewed by: emaste, markj
Sponsor

fork(2): comment about doubtful use of stdio and exit(3) in example

Add fflush(stdout) as the common idiom. Explain the need to use exit()
but advise against it.

Reviewed by: emaste, markj
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential revision: https://reviews.freebsd.org/D31425

show more ...


# 383dbdb2 05-Aug-2021 Ceri Davies <ceri@FreeBSD.org>

fork.2: correct minor typo in manpage.


# 49ad342c 02-Aug-2021 Konstantin Belousov <kib@FreeBSD.org>

Add _Fork()

Current POSIX standard requires fork() to be async-signal safe. Neither
our implementation, nor implementations in other operating systems are,
and practically it is impossible to make

Add _Fork()

Current POSIX standard requires fork() to be async-signal safe. Neither
our implementation, nor implementations in other operating systems are,
and practically it is impossible to make fork() async-signal safe without
too much efforts. Also, that would put undue requirement that all atfork
handlers should be async-signal safe as well, which contradicts its main
use.

As result, Austin Group dropped the requirement, and added a new function
_Fork() that should be async-signal safe, but it does not call atfork
handlers. Basically, _Fork() can be implemented as a raw syscall.

Release of glibc 2.34 added _Fork(), do the same for FreeBSD.
Clarify threading behavior for fork() in the manpage.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D31378

show more ...


# ca904bea 20-Apr-2021 Mateusz Piotrowski <0mp@FreeBSD.org>

fork.2: Fix a typo in an example

Reported by: rpokala
MFC with: c4207d867c201a726aa3157e09262f72166c89c4


# c4207d86 17-Apr-2021 Mateusz Piotrowski <0mp@FreeBSD.org>

fork.2: Add a simple use pattern

It seems to be a nice idea to show how fork() is usually used in
practice. This may act as a guide to developers who want to quickly
recall how to use the fork() fun

fork.2: Add a simple use pattern

It seems to be a nice idea to show how fork() is usually used in
practice. This may act as a guide to developers who want to quickly
recall how to use the fork() function.

Reviewed by: bcr, yuripv
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D27626

show more ...


# aeb71118 01-Dec-2017 Warner Losh <imp@FreeBSD.org>

Mark all the system calls that were in 1st Edition Unix as such in the
HISTORY section. Note: Any system calls that were added prior to v7,
but after v1 weren't changed.

Obtained from: http://www.tu

Mark all the system calls that were in 1st Edition Unix as such in the
HISTORY section. Note: Any system calls that were added prior to v7,
but after v1 weren't changed.

Obtained from: http://www.tuhs.org/cgi-bin/utree.pl?file=V1/man/man2

show more ...


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96

show more ...


# 93c9677b 02-May-2015 Mark Johnston <markj@FreeBSD.org>

fork(2): Add a note to the effect that kqueue descriptors, unlike other
descriptor types, are not inherited from the parent process.

Reported by: kmacy
MFC after: 1 week


# 0bbe34c3 31-May-2013 Jilles Tjoelker <jilles@FreeBSD.org>

fork(2): Add information about fork() in multi-threaded processes.

There is nothing about pthread_atfork(3) or extensions like calling
malloc(3) in the child process as this may be unreliable or bro

fork(2): Add information about fork() in multi-threaded processes.

There is nothing about pthread_atfork(3) or extensions like calling
malloc(3) in the child process as this may be unreliable or broken.

show more ...


# 45100a72 31-May-2013 Jilles Tjoelker <jilles@FreeBSD.org>

fork(2): #include <sys/types.h> is not needed.


# c879ae35 09-Jan-2007 Warner Losh <imp@FreeBSD.org>

Per Regents of the University of Calfornia letter, remove advertising
clause.

# If I've done so improperly on a file, please let me know.


# 1a0a9345 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks.


# 2efeeba5 19-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: "The .Fa argument.".


# 2faeeff4 18-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: Tidy up the syscall language.

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 HISTOR

mdoc(7) police: Tidy up the syscall language.

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.

show more ...


# e3682e19 30-Jul-2002 Mike Silbersack <silby@FreeBSD.org>

Update docs to reflect change in count of procs reserved for root
from 1 to 10.

PR: kern/40515
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 day


# 1f2cec10 15-Jul-2002 Giorgos Keramidas <keramida@FreeBSD.org>

The .Fn function.


# 7f6a22a5 09-Jan-2002 Sheldon Hearn <sheldonh@FreeBSD.org>

Document behaviour with respect to interval timers.

PR: 33156
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>


# 32eef9ae 01-Oct-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: Use the new .In macro for #include statements.


# a307d598 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed HISTORY info from the .Os call.


12