Commit Graph

5038 Commits

Author SHA1 Message Date
nathanw 6003a24dd4 Use recursive mutexes from libpthread rather than implementing
our own with normal mutexes and condition variables.
2003-01-21 23:26:02 +00:00
kleink 8b314175ec Add ns32k ucontext userland portions. Untested, but compiled in the
recent past and presumed working.
2003-01-21 21:03:25 +00:00
kleink 7a9f64971b Add swapcontext() lint stub. 2003-01-21 20:26:10 +00:00
kleink cd9f53e12c Add swapcontext() lint stub. 2003-01-21 20:14:07 +00:00
kleink a26c2fe5e2 A function wrapper cannot be used for getcontext(), so error out
if neither weak aliases nor indirect references are available.
2003-01-21 19:15:05 +00:00
wiz 9b5abffe9d Add makecontext(3) from Klaus Klein. 2003-01-21 12:39:08 +00:00
scw fd2dcace1f Make these compile. 2003-01-21 11:29:29 +00:00
christos 90135cf7e8 add support for p1003.1b semaphores. From FreeBSD 2003-01-20 20:10:19 +00:00
scw 11e9fa3a9b Initialise the FPSCR to a sane value. 2003-01-20 20:09:59 +00:00
christos 111839200d Add _ksem stubs. 2003-01-20 20:09:27 +00:00
dsl c673281c37 Fix lib/17248 properly
'ls -l-' now reports unknown option -- -
'env -' and 'su -' both work ok
(change approved by christos)
2003-01-20 09:06:35 +00:00
simonb d7b879c6ec Grrr. So much for my ability to use grep(1) effectively. Pointed out
by Stephen Degler in private mail.
2003-01-20 07:12:12 +00:00
simonb 276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
thorpej d504e2bb9c Simple TSD implementation, since some thread-safe libraries want
to use it.
2003-01-20 01:58:54 +00:00
thorpej 71b91cf442 Make thr_self() not return NULL. 2003-01-20 01:30:15 +00:00
thorpej c7e237f26a Merge the nathanw_sa branch. 2003-01-20 00:26:39 +00:00
matt 21375ddf92 Make sure r0 in the saved context is 0. 2003-01-20 00:24:07 +00:00
matt 94face2f9c Use _ALIGN_TEXT.
Make sure R0 is 0 in the saved context.
2003-01-20 00:18:06 +00:00
kleink 13a5336c66 Move getcontext.S from gen to sys, where it belongs. 2003-01-19 23:49:12 +00:00
scw bcbbc4f87e SH5 libc ucontext/lwp support.
Untested for now, until I get the libpthread stuff done and
an SA userland built.
2003-01-19 23:05:01 +00:00
thorpej 7dc01dbfab Add some threadlib stubs that are used by X:
* thr_create() (stub in libc aborts)
* thr_exit() (stub in libc calls exit())
* thr_yield() (stub in libc does nothing)

Also make the libc thr_self() stub not abort.

XXX Should we add thrattr_*() stubs for setting the detach-state?
2003-01-19 21:58:21 +00:00
thorpej 592409d356 Add mutexattr_init(), mutexattr_destroy(), and mutexattr_settype() (recursive
mutexes are used by the X libraries).
2003-01-19 20:46:11 +00:00
jdolecek 3d8d8663b9 g/c the NEXTRELEASE comment tag now that the next version number is decided 2003-01-19 20:12:31 +00:00
thorpej 036383cc03 Make the libc thr_once() stub functional. 2003-01-19 19:48:45 +00:00
matt 95b5cce5c6 Add getcontext(2) stub. 2003-01-19 19:32:39 +00:00
wiz 29192bf866 Fix typo. 2003-01-19 19:31:10 +00:00
thorpej 96bb0ae126 Use <threadlib.h>. 2003-01-19 19:25:05 +00:00
wiz 65d34efcf9 Drop trailing comma in SEE ALSO. 2003-01-19 19:15:36 +00:00
wiz 0163abbccb Bx Open -> Ox. 2003-01-19 19:14:22 +00:00
matt 8c295614ea Add the VAX versions of these. 2003-01-19 19:07:30 +00:00
dsl fa36c8783f Ignore groups beyond _SC_NGROUPS_MAX (as man page)
Ensure kernel doesn't pick up random numbers (would happen if _SC_NGROUPS_MAX
> NGROUPS)
(change agreed by christos)
2003-01-19 18:26:16 +00:00
matt bdde89628b Cast with uintptr_t instead of u_long. 2003-01-19 08:53:36 +00:00
thorpej c7cb871964 These files are obsolete; setlogin() is now implemented in C with a
small syscall stub.
2003-01-18 18:28:44 +00:00
christos af26d1a576 s/_REENT/_REENTRANT/ 2003-01-18 17:20:04 +00:00
christos 7c8015e7ec s/_REENT/_REENTRANT/ 2003-01-18 17:10:56 +00:00
thorpej 3fdac2b8c5 Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
kleink f18fe39c3f Pasto; from Thomas Klausner. 2003-01-16 00:46:58 +00:00
wiz ec87827023 typo fixes. 2003-01-16 00:33:12 +00:00
kleink 140dae96a7 Rename auto variable shading global sigset(). 2003-01-15 23:58:03 +00:00
kleink 42b44c12f9 Bump to 12.92: sighold, sigignore, sigrelse, sigset. 2003-01-15 23:56:35 +00:00
kleink 30a90a73b4 Add sighold(3), sigignore(3), sigrelse(3) and sigset(3) to libc.
Fixes PR lib/19212, now redesignated standards/19212, from David Laight.
2003-01-15 23:55:41 +00:00
tsarna 350f955e57 There is no adjust(), so adjust adjtime(2) to adjust for adjust really
being adjtime.
2003-01-14 21:01:03 +00:00
wiz 078d3d03c9 Remove superfluous word. 2003-01-07 17:12:54 +00:00
wiz 1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz 4824190751 transmission, not transmition. 2003-01-06 13:17:01 +00:00
wiz 6d8cbf7e43 descriptor with a c. 2003-01-06 12:14:26 +00:00
kristerw a505fc7826 Fix two bugs:
1. snprintf(foo, 0. "XXX") is guaranteed not to write in foo by the
   standard (ISO/IEC 9899 7.19.6.5) but our implementation handles this
   as if the buffer has a size of (size_t)-1.

2. snprintf(NULL, 0, "XXX") leaks memory since cantwrite() allocates
   memory if _bf._base == NULL, and this buffer is never freed
   (PR 16483).
2003-01-05 11:05:47 +00:00
wiz 1388941754 free's -> frees, from PR 19652. 2003-01-04 00:40:20 +00:00
mjl 71b7c0b242 Fix typos (from PR 19650) 2003-01-03 21:41:28 +00:00
wiz e3594b05a2 Drop trailing spaces; sort SEE ALSO. 2003-01-02 09:39:34 +00:00