summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-01-11fix a typomrg
2004-01-09- add deadlock check to pthread_rwlock_wrlock and pthread_rwlock_timedwrlockcl
- return EPERM when unlocking a lock which isn't held => prevent the failure in PR 24023, where the citrus code had a deadlocking code path - remove deadlock check in pthread_rwlock_tryrdlock, return EBUSY instead => makes pthread_rwlock_tryrdlock standards compliant
2004-01-08PR/24023: Min Sik Kim: Don't deadlock while closing mappers. The modulechristos
uninit function can call close again, which will try to obtain a held lock. Unlock the lock before calling the actual close function, since we already disassociated cm from the rest of the data structures.
2004-01-08There is no sysctl(9) (yet?), comment it out;wiz
fix a typo.
2004-01-08Fix some spacing nits, an Xref section, and a long line.wiz
Bump date for previous.
2004-01-07Add descriptions of flags.atatat
2004-01-07- Describe all system threads.christos
- Mention all MI threads that are not device specific; i.e. mention scsibus, usb, raidframe, nfs, but not pms.
2004-01-06Make this compile, and, as a side-effect, LP64 clean.agc
2004-01-06kill strcpyitojun
2004-01-05sys/types.h is not needed here. kevlo@openbsditojun
2004-01-05The report size is not a local item, so don't clear it when clearing local ↵augustss
items.
2004-01-05Document F_MAXFD, F_CLOSEMchristos
2004-01-03Fix a cast for little endian archsmartin
2004-01-03When writing/reading longs use explicit 32bit temporary values (this ismartin
what "long" means in xdr context). Fixes PR lib/23960.
2004-01-03Uppercase CPU; mark up NULL; remove superfluous word; simplify macro usage.wiz
2004-01-03At long last, add descriptions of new "dynamic" operations.atatat
2004-01-02Fix two inverted comparisions and a few comments.martin
This makes sparc64 pass the sigsetjmp regression tests.
2004-01-02minor KNFitojun
2004-01-02KNFitojun
2004-01-02make siglongjmp out of a signal handler work:cl
- strong alias __sigprocmask14 to pthread_sigmask - call _sys___sigprocmask14 where appropriate - make pthread_sigmask not set the signal mask lazily when pthreads aren't started yet
2004-01-02userland part of no-syscall upcall stack returncl
- add pt_stackinfo to struct __pthread_st - add pthread__stackinfo_offset returning the offset from ss_sp to pt_stackinfo - pass stackinfo_offset to sa_register and set SA_FLAG_STACKINFO to make the kernel use it - call pthread__sa_recycle in pthread__resolve_locks; g/c recycleq and pthread__recycle_bulk - return stack in pthread__sa_recycle by incrementing sasi_stackgen - make pthread__sa_recycle debugging output formatting conditional on pthread__debug_newline
2004-01-02- libc.so.12.109 and libpthread.so.0.4cl
- add ssize_t stackinfo_offset argument to sa_register syscall - remove sa_unblockyield syscall - make __sigprocmask14 syscall weak - in pthread__sa_start: catch up with 4-argument sa_register syscall
2004-01-02Fix typo; from Aidan Kehoe in PR lib/23951.jmmv
2004-01-02Fix typo; from Aidan Kehoe in PR lib/23950.jmmv
2004-01-02Restore stack frames on error return.martin
2004-01-02pthread__upcall: output LWPid in SA_UPCALL_BLOCKED casecl
2004-01-02logging/debugging changes:cl
- add PTHREAD_PID_DEBUG which prints the pid before each debuglog line - output thread returned in pthread__next - add asserts in pthread__sched akin to asserts in pthread__sched_bulk: check if scheduled thread is at front/end of queue - pthread__upcall: output event/interrupted LWP count instead of LWPid of the first event/interrupted LWP (since unblock upcalls can have multiple event LWPs). - pthread__find_interrupted: output LWPid here
2004-01-02Restore stack frames on error exit. This makes us pass dynamic and staticmartin
linked versions of the clonetest regression test. While here, some cosmetics: branch prediction, avoid depreceated instructions.
2004-01-02comment on values from 0x80000000 to 0xffffffffitojun
2004-01-02safer reallocitojun
2004-01-02safer realloc, some KNF. noted by deraadt@openbsditojun
2004-01-02use strlcpyitojun
2004-01-02Add dependencies to assym.h on:lukem
pthread.h pthread_int.h pthread_md.h Should help prevent the problem I raised in [kern/23946], based on a hint from Christian Limpach. Add MAKEVERBOSE support.
2003-12-31catch up with block/unblock changes in libpthreadcl
2003-12-31Handle block/unblock for threads in critical section withoutcl
sa_unblockyield. XXX g/c sa_unblockyield in kernel later
2003-12-31Use CC64FSZ instead of magic constant for stack frame size.martin
Frob the clone's stack pointer to be BIASed - it is 64 bit code too. Use "carry set" as test for a failed syscall.
2003-12-30In case of underflow, return -0.0 or +0.0, depending on the sign ofmartin
the argument. This makes sparc64 pass regress/lib/libc/ldexp.
2003-12-30Add support for scanf "hh" format modifiers - we use it in int_fmtio.hmartin
for SCNd8 and friends - so we should support it properly (and not only by pure luck on alignment blind little endian archs - it used the "h" code path, storing a 16bit int via a byte pointer). This makes sparc64 pass regress/lib/libc/int_fmtio.
2003-12-30When storing data size as 32bit int in an overflow page, copy themartin
length to a temporary u_int32_t variable and memmove from there to the final destination - instead of copying the first four 0 bytes from a 64bit variable directly on big endian 64 bit platforms. This makes sparc64 pass regress/lib/libc/db.
2003-12-29_citrus_iconv_std_iconv_convert:yamt
- allow 0 byte input. PR/23889 (Valeriy E. Ushakov) - remove redundant E2BIG check, which should be done by each encoding modules anyway.
2003-12-29_citrus_MSKanji_wcrtomb_priv: return E2BIG correctly.yamt
2003-12-29_citrus_NONE_stdenc_cstomb: return E2BIG correctly.yamt
2003-12-29Remove sentence about this being an alphawiz
version -- after twelve years it is at least beta ;) The BUGS section is extensive enough even without it.
2003-12-26Niels Provos kindly agreed to drop clauses 3 and 4 from thewiz
license -- thanks. Based on OpenBSD commit and hints by itojun.
2003-12-26Don't ever add a ".0" to a single digit number.simonb
XXX: Should (for example) 1024 be 1.0K or 1K when the HN_DECIMAL flag is passed? Should there be a separate option that says "use the HN_DECIMAL behaviour unless we are exactly equal to the suffix"?
2003-12-26Use an unsigned comparison against minbrk.martin
From Steve Woodford, inspired by a similar change to other archs from OpenBSD.
2003-12-26Use an unsigned comparison against minbrk.martin
From OpenBSD, changed by Miod Vallat.
2003-12-25bootparams, not bootparms.wiz
2003-12-23Avoid array type is char warning.christos
2003-12-22Add MD_CALL_STATIC_FUNCTION. This allows crt* to compiled with -g.matt