summaryrefslogtreecommitdiff
path: root/lib/libc_r
AgeCommit message (Collapse)Author
2002-12-08remove unused data member from pthread_cond.Marco S Hyman
2002-12-03Crank all library major numbers. Needed due to the fact that weTodd C. Miller
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@
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
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.
2002-11-29Foward; torh@bogus.netTheo de Raadt
2002-11-21Add strerror_r and functions versions of getchar_unlocked andMarco S Hyman
putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@
2002-11-12get rid of compiler warningsMarco S Hyman
2002-11-12Fix the C version of atomic lock so that the compiler will not shareDale Rahn
registers. ok marc@
2002-11-09remove unused manpages (already in libc) and reorder SEE ALSO; marc@ ok.Federico G. Schwindt
2002-11-08kill two compiler warnings; ok marc@Todd T. Fries
2002-11-08Do not try to initialize entries in the fd table before the tableMarco S Hyman
is created.
2002-11-07Add needed table of strong functions that override weak functionsMarco S Hyman
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.
2002-11-07type func(...) -> type\nfunc(...) for function definitionsMarco S Hyman
2002-11-05thread safe libc -- 2nd try. OK miod@, millert@Marco S Hyman
Thanks to miod@ for m68k and vax fixes
2002-11-04test locks against _SPINLOCK_UNLOCKED, not 0. _SPINLOCK_UNLOCKED isMarco S Hyman
not zero on all arches
2002-11-03back out previous patch.. there are still some vax/m68k issuesMarco S Hyman
2002-11-03libc changes for thread safety. Tested on:Marco S Hyman
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.
2002-11-02Include string.h to get memcpy() prototype; OK marc@Todd C. Miller
2002-11-01Working atomic locks on vax for libc_r.Miod Vallat
ok marc@
2002-11-01md part for hppa should look like this, at the first lookMichael Shalayeff
2002-10-30Minor bump for [gs]etres[ug]id(2)Todd C. Miller
2002-10-30removes duplicate functions and factor out common code so the needed (butMarco S Hyman
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
2002-10-30signal handling changes. This corrects several signalMarco S Hyman
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.
2002-10-21Check for null pointer before deref in info output. Based uponMarco S Hyman
a freebsd patch forwarded to me by millert@ (thanks!). Change also applied to uthread_info.c even though we do not use it
2002-10-16Implement isfdtype(3) as per the POSIX.1g draft; requested by David HillTodd C. Miller
2002-10-11remove unused/unreferenced code.Marco S Hyman
ok fgs@
2002-10-07handle the SA_RESETHAND flag.Marco S Hyman
Part of the prep for SA_SIGINFO support. With this change the new siginfo regression test will fail instead of loop on all arches.
2002-09-12remove erroneous commentMarco S Hyman
2002-08-25fix comment.Brad Smith
-- Ok'd by: jason@
2002-07-10'sez' is not an english word; ok deraadt@Jason Peel
2002-06-28minor bump for readpassphrase() flag additionTodd C. Miller
2002-06-10put back in the assert changes for ISO C 99 (put __func__ in it)Marc Espie
2002-06-06Implement _atomic_lock in assembler to make it more readable.Artur Grabowski
plus some various assembler improvements. Tested by various people a few months ago and in my tree for almost 6 months now.
2002-06-04spelling; raj@cerias.purdue.eduTheo de Raadt
2002-05-10Cast u_int64_t explicitly, not long. (cosmetic)Artur Grabowski
2002-05-07return EBUSY, not EWOULDBLOCK for error when calling thread would blockPeter Valchev
for pthread_rwlock_wrlock & sie says Single Unix Specification; ok fgs
2002-05-07Make sure calls to pthread_cancel() do not take effect if the targetPeter Valchev
thread is already exiting, from archie@FreeBSD, ok fgs
2002-05-01o) start new sentence on a new line;Mike Pechkin
o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
2002-04-30Initial cleanup:Mike Pechkin
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
2002-04-19avoid cranking libc minors for another few weeksTheo de Raadt
2002-04-17Use __func__ in assert.Marc Espie
ok millert@
2002-03-07ANSI'fy.Federico G. Schwindt
2002-03-07From FreeBSD:Federico G. Schwindt
Properly clear the status of a join operation if the joining thread is canceled or the joinee is detached.
2002-02-23bump minor, EA support was added to libc.Dale Rahn
2002-02-22update Python listing and remove Squid.Brad Smith
2002-02-21account for the process signal mask when dealing with signals; testedFederico G. Schwindt
a while ago by marc@ and brad@
2002-02-21correct .Xr's.Federico G. Schwindt
2002-02-21Use .St for standards. Random cleanups as well.Federico G. Schwindt
2002-02-21When cleanup_routine is called... also use .St to reference standards.Federico G. Schwindt
2002-02-21Xr pthread_kill; from fries@Federico G. Schwindt
2002-02-20fix includes and some cleanup.Federico G. Schwindt