Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bye-bye libc_r sources. | 2003-01-20 | 244 | -25476/+0 | |
| | | | | the sources have been moved (with history) to /usr/src/lib/libpthread | ||||
* | return (func(...)) not needed when the current function and func | 2003-01-19 | 2 | -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 compile | 2003-01-16 | 1 | -1/+3 | |
| | |||||
* | use ldl_l/stl_c instead of ldq_l and ldq_c as _spinlock_lock_t | 2002-12-12 | 1 | -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 called | 2002-12-11 | 2 | -3/+63 | |
| | |||||
* | remove unused data member from pthread_cond. | 2002-12-08 | 1 | -2/+1 | |
| | |||||
* | Crank all library major numbers. Needed due to the fact that we | 2002-12-03 | 1 | -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 stack | 2002-12-02 | 1 | -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.net | 2002-11-29 | 1 | -2/+2 | |
| | |||||
* | Add strerror_r and functions versions of getchar_unlocked and | 2002-11-21 | 1 | -1/+1 | |
| | | | | putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@ | ||||
* | get rid of compiler warnings | 2002-11-12 | 3 | -6/+6 | |
| | |||||
* | Fix the C version of atomic lock so that the compiler will not share | 2002-11-12 | 1 | -3/+4 | |
| | | | | registers. ok marc@ | ||||
* | remove unused manpages (already in libc) and reorder SEE ALSO; marc@ ok. | 2002-11-09 | 3 | -78/+2 | |
| | |||||
* | kill two compiler warnings; ok marc@ | 2002-11-08 | 1 | -4/+6 | |
| | |||||
* | Do not try to initialize entries in the fd table before the table | 2002-11-08 | 1 | -10/+1 | |
| | | | | is created. | ||||
* | Add needed table of strong functions that override weak functions | 2002-11-07 | 2 | -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 definitions | 2002-11-07 | 12 | -24/+36 | |
| | |||||
* | thread safe libc -- 2nd try. OK miod@, millert@ | 2002-11-05 | 4 | -35/+26 | |
| | | | | Thanks to miod@ for m68k and vax fixes | ||||
* | test locks against _SPINLOCK_UNLOCKED, not 0. _SPINLOCK_UNLOCKED is | 2002-11-04 | 1 | -4/+7 | |
| | | | | not zero on all arches | ||||
* | back out previous patch.. there are still some vax/m68k issues | 2002-11-03 | 4 | -26/+35 | |
| | |||||
* | libc changes for thread safety. Tested on: | 2002-11-03 | 4 | -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@ | 2002-11-02 | 1 | -1/+2 | |
| | |||||
* | Working atomic locks on vax for libc_r. | 2002-11-01 | 1 | -2/+30 | |
| | | | | ok marc@ | ||||
* | md part for hppa should look like this, at the first look | 2002-11-01 | 2 | -1/+158 | |
| | |||||
* | Minor bump for [gs]etres[ug]id(2) | 2002-10-30 | 1 | -1/+1 | |
| | |||||
* | removes duplicate functions and factor out common code so the needed (but | 2002-10-30 | 3 | -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 signal | 2002-10-30 | 11 | -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 upon | 2002-10-21 | 2 | -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 Hill | 2002-10-16 | 1 | -1/+1 | |
| | |||||
* | remove unused/unreferenced code. | 2002-10-11 | 10 | -86/+10 | |
| | | | | ok fgs@ | ||||
* | handle the SA_RESETHAND flag. | 2002-10-07 | 1 | -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 comment | 2002-09-12 | 1 | -3/+2 | |
| | |||||
* | fix comment. | 2002-08-25 | 1 | -2/+4 | |
| | | | | | -- Ok'd by: jason@ | ||||
* | 'sez' is not an english word; ok deraadt@ | 2002-07-10 | 1 | -2/+2 | |
| | |||||
* | minor bump for readpassphrase() flag addition | 2002-06-28 | 1 | -1/+1 | |
| | |||||
* | put back in the assert changes for ISO C 99 (put __func__ in it) | 2002-06-10 | 1 | -1/+1 | |
| | |||||
* | Implement _atomic_lock in assembler to make it more readable. | 2002-06-06 | 2 | -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.edu | 2002-06-04 | 2 | -5/+5 | |
| | |||||
* | Cast u_int64_t explicitly, not long. (cosmetic) | 2002-05-10 | 1 | -4/+5 | |
| | |||||
* | return EBUSY, not EWOULDBLOCK for error when calling thread would block | 2002-05-07 | 1 | -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 target | 2002-05-07 | 1 | -3/+5 | |
| | | | | thread is already exiting, from archie@FreeBSD, ok fgs | ||||
* | o) start new sentence on a new line; | 2002-05-01 | 25 | -131/+176 | |
| | | | | | | | o) always close .Bl tags; o) fix usage of .Xr; millert@ ok | ||||
* | Initial cleanup: | 2002-04-30 | 6 | -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 weeks | 2002-04-19 | 1 | -1/+1 | |
| | |||||
* | Use __func__ in assert. | 2002-04-17 | 1 | -1/+1 | |
| | | | | ok millert@ | ||||
* | ANSI'fy. | 2002-03-07 | 1 | -10/+5 | |
| | |||||
* | From FreeBSD: | 2002-03-07 | 2 | -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. | 2002-02-23 | 1 | -1/+1 | |
| | |||||
* | update Python listing and remove Squid. | 2002-02-22 | 1 | -4/+3 | |
| | |||||
* | account for the process signal mask when dealing with signals; tested | 2002-02-21 | 5 | -25/+99 | |
| | | | | a while ago by marc@ and brad@ |