Age | Commit message (Collapse) | Author |
|
instead of <pthread.h>.
ok guenther@, millert@
|
|
Poul-Henning Kamp, freebsd pr docs/163771;
ok sthen
|
|
1) The close(2) return value and errno are ignored.
2) The errno is set by fchdir(2), not by chdir(2),
which has much less potential for errors.
3) Use .Rv -std.
While here, remove STANDARDS. Keith Bostic added that hope in 1990
and tweaked the wording in 1993, but it didn't come true since then.
ok kettenis@ jmc@
|
|
so prefer it for identifying the current thread
|
|
thread library uses it internally for cancellation.
|
|
|
|
|
|
|
|
|
|
|
|
to new files rthread_rwlock.c, rthread_rwlockattr.c, and rthread_once.c
|
|
new file rthread_mutexattr.c. Add basic implementations of
pthread_mutexattr_{set,get}{protocol,prioceiling}
Requested by aja
|
|
Missed commit pointed out by mikeb@
|
|
ok guenther deraadt
|
|
|
|
ok jmc@
|
|
Written and provided under BSD licence by William A. Rowe Jr.
Originally released in Apache APR-1.4.5.
Merged class matching code from r1.14 and PATH_MAX check from r1.15.
ok miod millert
|
|
|
|
using previously allocated SIGTHR to interrupt in-process syscalls
and fixing the spelling of "cancelled" along the way.
Modeled on FreeBSD's libthr
|
|
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.
ok jmc@ kristaps@
|
|
|
|
kill a C++-style comment.
ok nicm@
|
|
of support in ld.so
|
|
Correct the namespace protections for sigreturn(), sigwait(), and psignal()
ok millert@
|
|
corruption reported by LEVAI Daniel <leva at ecentrum dot hu>. Also
rename "bytes" to "wlen" since bytes is not accurate, suggested by
stsp@.
ok stsp oga
|
|
All facts from http://minnie.tuhs.org/cgi-bin/utree.pl, checked by sobrado@.
Feedback and ok jmc@ jmc@ (sic, Jason checked and ok'ed this twice).
|
|
Mention the predecessor exec() in v1, and remove the bogus "appeared
in 3BSD", just leave "execve() appeared in v7", because:
(1) There is a direct line of inheritance from v7 (Bell, Jan 1979)
via 32v (Bell, May 1979) to 3BSD (UCB, Feb 1980), and it goes without
saying that children include code from their grandparents.
(2) It is impossible that there was parallel development of execve()
at Bell and UCB. The only UCB release before v7 was 1BSD (May 1978),
and even 2BSD (May 1979) did not include any kernel parts but fully
relied on the Bell v6 kernel. When Bell released 32v, the UCB did
not even own a VAX, and Bill Joy was still are pure userland hacker.
Only after the original UCBVAX arrived at Berkeley, Richard Fateman
involved Domenico Ferrari who involved Ozalp Babaoglu who started
kernel work at UCB, based on Bell 32v, later involving Bill Joy.
(3) Genetic analysis of the source code confirms this.
All kernel code involved is in sys1.c. Regarding this file,
the first two UCB releases, VAX 3BSD (based on Bell 32v)
and PDP-11 2.8BSD (Dec 1981, based on Bell v7) are more similar
to their respective Bell parents than to each other.
The Berkeley versions are cousins, not siblings:
v7 -> 32v: 523 +71 -60 = 534
v7 -> 2.8: 523 +305 -24 = 804
32v -> 3: 534 +169 -110 = 593
3 -> 2.8: 593 +413 -202 = 804
References:
http://oreilly.com/catalog/opensources/book/kirkmck.html
http://minnie.tuhs.org/cgi-bin/utree.pl?file=32V
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/sys/sys/sys1.c
http://minnie.tuhs.org/cgi-bin/utree.pl?file=32V/usr/src/sys/sys/sys1.c
http://minnie.tuhs.org/cgi-bin/utree.pl?file=3BSD/usr/src/sys/sys/sys1.c
https://www.mckusick.com/csrg/ - /cdrom1/2.8/usr/kernel/sys/sys/sys1.c
facts checked and ok sobrado@, style and formatting ok jmc@
|
|
ok jmc
|
|
single aucat instance to handle all audio and MIDI services. Since
this partially breaks compatibility, this is a opportunitiy to fix few
other design mistakes (eg ':' being used by inet6, type name vs api
name confusion, etc..). This leads to the following names:
type[@hostname][,unit]/devnum[.option]
The device number is the minor device number for direct hardware
access (ie the 'N' in /dev/audioN). For aucat, this is the occurence
number of the -f (or -M) option.
There's a compatibility hook to keep old names working if only one
aucat server is running.
|
|
_atomic_lock() declaration.
ok deraadt@
|
|
ok guenther@
|
|
thread list
reminded by dhill@
|
|
sscanf()/vsscanf() where locking is unnecessary.
ok millert@
|
|
ok guenther@
|
|
ok guenther@
|
|
executable (by mode or content), which can trip up builds with 'make -j'
(The generic fix is in share/mk/*; some Makefiles have their own INSTALL lines)
ok millert@ deraadt@
|
|
This one is tricky, so i'm giving the sources:
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V1/u2.s
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V4/nsys/ken/sys3.c
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V5/usr/sys/ken/sys4.c
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V6/usr/sys/ken/sys4.c
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/sys/sys/sys4.c
http://www.openbsd.org/plus21.html (lchown)
|
|
All information from http://minnie.tuhs.org/cgi-bin/utree.pl .
All facts checked by sobrado@.
Feedback and ok on an earlier version jmc@.
|
|
netbsd; ok deraadt@
|
|
system calls existing since Version 1 AT&T UNIX (first batch).
All information taken from primary sources at the UNIX tree of the
UNIX heritage society, http://minnie.tuhs.org/cgi-bin/utree.pl .
The number of errors in the existing manuals is astonishing.
All facts checked by sobrado@.
Feedback and ok on wording and formatting by jmc@.
|
|
Requested by many to ease substitution of librthread for libpthread
|
|
|
|
plus merge differences between two pages.
ok guenther jmc
|
|
|
|
p* versions, as well as fix a couple other cases
|
|
|
|
|
|
|
|
.Fd -> .In, .Li -> .Vt, and remove various other gratuitous differences.
feedback and ok stsp@, ok jmc@
|
|
the IPC_RMID flag.
This is permitted as an extension beyond the standards and this is similar
to what other operating systems like linux do.
Because compat_linux(8) was emulating this already, remove that code
since now this is the default.
input from oga@, guenther@, jmc@, deraadt@
ok deraadt@
|