summaryrefslogtreecommitdiffstats
path: root/lib/libc_r (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bye-bye libc_r sources.marc2003-01-20244-25476/+0
| | | | the sources have been moved (with history) to /usr/src/lib/libpthread
* return (func(...)) not needed when the current function and funcmarc2003-01-192-5/+11
| | | | | | are both void. The select call is a cancellation point per IEEE Std 1003.1-2001. This should fix a problem espie@ found in kde.
* make it compilemickey2003-01-161-1/+3
|
* use ldl_l/stl_c instead of ldq_l and ldq_c as _spinlock_lock_tmarc2002-12-121-3/+6
| | | | | is defined as an int. This solves several alpha/pthread problems as repoted by various ports people.
* add a debugging function not normally calledmarc2002-12-112-3/+63
|
* remove unused data member from pthread_cond.marc2002-12-081-2/+1
|
* Crank all library major numbers. Needed due to the fact that wemillert2002-12-031-2/+2
| | | | | | | | now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@
* Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackmiod2002-12-021-1/+1
| | | | | | | | | | | | | | | attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
* Foward; torh@bogus.netderaadt2002-11-291-2/+2
|
* Add strerror_r and functions versions of getchar_unlocked andmarc2002-11-211-1/+1
| | | | putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@
* get rid of compiler warningsmarc2002-11-123-6/+6
|
* Fix the C version of atomic lock so that the compiler will not sharedrahn2002-11-121-3/+4
| | | | registers. ok marc@
* remove unused manpages (already in libc) and reorder SEE ALSO; marc@ ok.fgsch2002-11-093-78/+2
|
* kill two compiler warnings; ok marc@todd2002-11-081-4/+6
|
* Do not try to initialize entries in the fd table before the tablemarc2002-11-081-10/+1
| | | | is created.
* Add needed table of strong functions that override weak functionsmarc2002-11-072-22/+97
| | | | | | in libc so static linking works with -lpthreads. There is a (linker?) problem that still shows up with static -pthread, though. Solution to problem from freebsd.
* type func(...) -> type\nfunc(...) for function definitionsmarc2002-11-0712-24/+36
|
* thread safe libc -- 2nd try. OK miod@, millert@marc2002-11-054-35/+26
| | | | Thanks to miod@ for m68k and vax fixes
* test locks against _SPINLOCK_UNLOCKED, not 0. _SPINLOCK_UNLOCKED ismarc2002-11-041-4/+7
| | | | not zero on all arches
* back out previous patch.. there are still some vax/m68k issuesmarc2002-11-034-26/+35
|
* libc changes for thread safety. Tested on:marc2002-11-034-35/+26
| | | | | | | alpha (millert@), i386 (marc@), m68k (millert@ and miod@), powerpc (drahn@ and dhartmei@), sparc (millert@ and marc@), sparc64 (marc@), and vax (millert@ and miod@). Thanks to millert@, miod@, and mickey@ for fixes along the way.
* Include string.h to get memcpy() prototype; OK marc@millert2002-11-021-1/+2
|
* Working atomic locks on vax for libc_r.miod2002-11-011-2/+30
| | | | ok marc@
* md part for hppa should look like this, at the first lookmickey2002-11-012-1/+158
|
* Minor bump for [gs]etres[ug]id(2)millert2002-10-301-1/+1
|
* removes duplicate functions and factor out common code so the needed (butmarc2002-10-303-480/+231
| | | | | | | | missing) _thread_fd_unlock_owned function can be added with minimal pain. The incorrect special handling of the stdio fds was also removed. Tested with the libc_r regression tests and the mysql regression tests. No complaints from any developers
* signal handling changes. This corrects several signalmarc2002-10-3011-243/+253
| | | | | | | handling errors in the threads library. Most of the libc_r regression tests are now ok. thread specific kill semantics are still not correct. No negative comments after posting to tech@ a week or so ago. siginfo test fails on sparc64 due to sparc64 oddity.
* Check for null pointer before deref in info output. Based uponmarc2002-10-212-9/+16
| | | | | a freebsd patch forwarded to me by millert@ (thanks!). Change also applied to uthread_info.c even though we do not use it
* Implement isfdtype(3) as per the POSIX.1g draft; requested by David Hillmillert2002-10-161-1/+1
|
* remove unused/unreferenced code.marc2002-10-1110-86/+10
| | | | ok fgs@
* handle the SA_RESETHAND flag.marc2002-10-071-2/+10
| | | | | Part of the prep for SA_SIGINFO support. With this change the new siginfo regression test will fail instead of loop on all arches.
* remove erroneous commentmarc2002-09-121-3/+2
|
* fix comment.brad2002-08-251-2/+4
| | | | | -- Ok'd by: jason@
* 'sez' is not an english word; ok deraadt@jsyn2002-07-101-2/+2
|
* minor bump for readpassphrase() flag additionmillert2002-06-281-1/+1
|
* put back in the assert changes for ISO C 99 (put __func__ in it)espie2002-06-101-1/+1
|
* Implement _atomic_lock in assembler to make it more readable.art2002-06-062-37/+19
| | | | | | plus some various assembler improvements. Tested by various people a few months ago and in my tree for almost 6 months now.
* spelling; raj@cerias.purdue.eduderaadt2002-06-042-5/+5
|
* Cast u_int64_t explicitly, not long. (cosmetic)art2002-05-101-4/+5
|
* return EBUSY, not EWOULDBLOCK for error when calling thread would blockpvalchev2002-05-071-3/+3
| | | | for pthread_rwlock_wrlock & sie says Single Unix Specification; ok fgs
* Make sure calls to pthread_cancel() do not take effect if the targetpvalchev2002-05-071-3/+5
| | | | thread is already exiting, from archie@FreeBSD, ok fgs
* o) start new sentence on a new line;mpech2002-05-0125-131/+176
| | | | | | | o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
* Initial cleanup:mpech2002-04-306-14/+13
| | | | | | | | | | | | o) remove extra space in the end of line; o) remove extra blank lines in the end of file; o) remove .Pp before .Ss; o) CAVEAT -> CAVEATS; o) fix usage of .Fa; o) <blank-line> -> .Pp; o) wrap long lines; millert@ ok
* avoid cranking libc minors for another few weeksderaadt2002-04-191-1/+1
|
* Use __func__ in assert.espie2002-04-171-1/+1
| | | | ok millert@
* ANSI'fy.fgsch2002-03-071-10/+5
|
* From FreeBSD:fgsch2002-03-072-3/+6
| | | | | Properly clear the status of a join operation if the joining thread is canceled or the joinee is detached.
* bump minor, EA support was added to libc.drahn2002-02-231-1/+1
|
* update Python listing and remove Squid.brad2002-02-221-4/+3
|
* account for the process signal mask when dealing with signals; testedfgsch2002-02-215-25/+99
| | | | a while ago by marc@ and brad@