OpenBSD CVS

CVS log for src/share/man/man9/fork1.9


[BACK] Up to [local] / src / share / man / man9

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32 / (download) - annotate - [select for diffs], Thu Dec 29 06:49:34 2022 UTC (17 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

capital letter at sentence start;

Revision 1.31 / (download) - annotate - [select for diffs], Thu Dec 29 06:10:54 2022 UTC (17 months ago) by guenther
Branch: MAIN
Changes since 1.30: +11 -19 lines
Diff to previous 1.30 (colored)

FORK_SIGHAND and the handling of func==NULL disappeared in 2017 in
sys/kern/kern_fork.c rev 1.195.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 11 17:06:27 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.29: +7 -6 lines
Diff to previous 1.29 (colored)

missing .Fn macros; found with mandoc -Tlint

Revision 1.29 / (download) - annotate - [select for diffs], Sun Feb 12 04:55:08 2017 UTC (7 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.28: +23 -53 lines
Diff to previous 1.28 (colored)

Split up fork1():
 - FORK_THREAD handling is a totally separate function, thread_fork(),
   that is only used by sys___tfork() and which loses the flags, func,
   arg, and newprocp parameters and gains tcb parameter to guarantee
   the new thread's TCB is set before the creating thread returns
 - fork1() loses its stack and tidptr parameters
Common bits factor out:
 - struct proc allocation and initialization moves to thread_new()
 - maxthread handling moves to fork_check_maxthread()
 - setting the new thread running moves to fork_thread_start()
The MD cpu_fork() function swaps its unused stacksize parameter for
a tcb parameter.

luna88k testing by aoyama@, alpha testing by dlg@
ok mpi@

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jan 24 07:59:58 2017 UTC (7 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

pfind(9) has been renamed to tfind(9);

Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 30 06:58:06 2016 UTC (8 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

some Xr adjustment to catch up with MLINKS removal;

Revision 1.26 / (download) - annotate - [select for diffs], Mon Sep 14 15:14:55 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Remove useless quoting from .Fo and .Fn function names, to prevent
development of a cargo cult in case people look at existing files
for examples.  This achieves a consistent .Fo and .Fn quoting style
across the whole tree.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jul 7 05:31:42 2014 UTC (9 years, 10 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

fork1: FORK_THREAD requires FORK_SHAREFILES

Now that file descriptor tables have moved from a per-thread resource
to per-process, it's impossible to fork a thread without sharing the
file descriptor table.

ok guenther

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jul 1 05:53:13 2014 UTC (9 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.23: +3 -4 lines
Diff to previous 1.23 (colored)

no more uvm_fork(9);

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 12 05:49:36 2014 UTC (10 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.22: +2 -9 lines
Diff to previous 1.22 (colored)

fork1's exitsig argument just vanished (mwuhahahaha)

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jan 20 07:57:55 2014 UTC (10 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.21: +7 -11 lines
Diff to previous 1.21 (colored)

FORK_CLEANFILES is gone, but FORK_IDLE has been added
Also, the stack parameter is now used by __tfork, so yes, it's tested now.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 14 08:39:28 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.20: +5 -3 lines
Diff to previous 1.20 (colored)

some Bx/Ox conversion;
From: Jan Stary

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jun 4 19:27:06 2013 UTC (10 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

Replace old-fashioned .Fd by new-fangled .In for #include lines.
Diff from Jan Klemkow <j dot klemkow at wemelug dot de> on tech@.
No objection from jmc@ against this type of change.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 13 06:15:23 2012 UTC (11 years, 11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.18: +1 -6 lines
Diff to previous 1.18 (colored)

Remove duplicate description of FORK_TFORK

ok jmc@

Revision 1.18 / (download) - annotate - [select for diffs], Thu Apr 12 19:13:44 2012 UTC (12 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

sort SEE ALSO;

Revision 1.17 / (download) - annotate - [select for diffs], Thu Apr 12 14:25:57 2012 UTC (12 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

more rfork mop-up

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 16 10:05:45 2011 UTC (12 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

do not Xr non-existent man pages;

Revision 1.15 / (download) - annotate - [select for diffs], Sun Oct 16 06:48:38 2011 UTC (12 years, 7 months ago) by guenther
Branch: MAIN
Changes since 1.14: +25 -15 lines
Diff to previous 1.14 (colored)

stacksize argument is gone and replaced with tidptr argument
Document new FORK_TFORK bit and that stack argument is used by compat_linux

ok jmc@

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 29 17:54:12 2010 UTC (13 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.13: +2 -4 lines
Diff to previous 1.13 (colored)

RTHREADS kernel options is gone, spotted by jmc

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 3 01:49:44 2010 UTC (14 years, 2 months ago) by guenther
Branch: MAIN
Changes since 1.12: +22 -2 lines
Diff to previous 1.12 (colored)

Add missing documention:
 - fork1() flags: FORK_SIGHAND, FORK_PTRACE, and FORK_THREAD
 - RTHREADS kernel option
 - rfork() RFTHREAD flag (with a BUGS entry that it's not usable from C)

ok tedu@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jul 28 12:27:03 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.11: +16 -3 lines
Diff to previous 1.11 (colored)

document rnewprocp; based on a diff from Vladimir Kirillov
help/ok art

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:08 2008 UTC (15 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.10: +2 -9 lines
Diff to previous 1.10 (colored)

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 31 19:20:00 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

convert to new .Dd format;

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 15 13:46:24 2004 UTC (19 years, 10 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Remove references to non-existent manuals. From form@.

millert@

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 16 17:48:36 2004 UTC (20 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.7: +24 -3 lines
Diff to previous 1.7 (colored)

reality sync.  started by Sven Dehmlow.  ok jmc@

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 6 20:56:32 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.6: +9 -9 lines
Diff to previous 1.6 (colored)

- section reorder
- macro fixes
- kill whitespace at EOL
- use .Ox for OpenBSD, .Fx for FreeBSD

Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 3 15:21:17 2001 UTC (22 years, 10 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

o) We don't like .Pp before/after .Sh;
o) .Nm always has argument in .Sh SYNOPSIS;
o) We always closes .Bl and .Bd tags;

millert@ ok

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 14 19:43:25 2001 UTC (23 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

create_kthread(9) -> kthread_create(9); overdose@vomitorium.org

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 12 18:05:59 2000 UTC (23 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.3: +25 -19 lines
Diff to previous 1.3 (colored)

General man page cleanups, mostly to remove trailing whitespace, hard
sentence breaks, and other such things.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 7 04:38:38 2000 UTC (24 years, 3 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.2: +35 -44 lines
Diff to previous 1.2 (colored)

Update to reflect recent changes to the interface.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 5 16:23:11 1999 UTC (24 years, 9 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.1: +8 -4 lines
Diff to previous 1.1 (colored)

New man pages, adapted from NetBSD.
Add corresponding cross-references.
Missed some uses of .Dv.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Sep 2 17:24:35 1999 UTC (24 years, 9 months ago) by espie
Branch: MAIN

More manpages.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.