summaryrefslogtreecommitdiff
path: root/lib/libc_r
AgeCommit message (Collapse)Author
2002-01-04Let's start by making the stack pointer 64 bit and nobody will get hurt.Artur Grabowski
2002-01-04comment out the pending signals check by now; it was not suppose to beFederico G. Schwindt
there yet.
2002-01-02correct fram size.Artur Grabowski
pointed out by marc@
2002-01-02fp and pc are 64 bit.Artur Grabowski
And just to make things more fun -1, is not a misaligned stack on sparc64.
2002-01-02fp and pc are 64 bit.Artur Grabowski
2002-01-02fpathconf(2) returns long.Federico G. Schwindt
2001-12-31More changes from FreeBSD, including:Federico G. Schwindt
o Only poll file descriptors when needed. o Change the way timing is achieved, counting scheduling ticks instead of calculating the elapsed time via gettimeofday(). o Prevent an overflow when polling. o Use curthread instead of _thread_run. o Remove extra spaces; indent.
2001-12-30call pthread_sigmask() instead of having the code twice.Federico G. Schwindt
2001-12-20From FreeBSD:Federico G. Schwindt
When cancelling a thread while in a join operation, do not detach the target thread of the join operation. This allows the cancelled thread to detach the target thread in its cancellation handler.
2001-12-20sync with freebsd.Federico G. Schwindt
2001-12-19More sync.Federico G. Schwindt
2001-12-18sigh, do it right.Federico G. Schwindt
2001-12-18Fix func decl. in comment.Federico G. Schwindt
2001-12-18Allow the scheduler to return to the signal handler and the signalMarco S Hyman
handler to return instead of calling sigreturn directly. This works around an apparent bug in sparc sigreturn handling. ok fgs@ and noone else has bitched
2001-12-18Software invoked traps should use the ST_ versions of the trap numberMarco S Hyman
with the high bit of the trap number stripped per the V8 arch manual. The stack alignment code was broken. It tried to align to a 32 byte boundary (only 8 byte boundary is required) by first adding 15 bytes then masking. It could have aligned down. The minimum frame size was twice the size needed by allocating 8 bytes per saved value instead of the needed 4. This bug offset the bug in the stack alignment code.
2001-12-11More sync with freebsd code; join related code this time.Federico G. Schwindt
2001-12-08sync with freebsd.Federico G. Schwindt
2001-12-08Partially sync with FreeBSD; mostly pthread_cancel(3) related changes.Federico G. Schwindt
make includes is needed in case you want to play.
2001-12-07o point pthread_setcancel(type|state) manpages where they belong.Federico G. Schwindt
o remove functions from pthread_cancel(3).
2001-11-12a better fix for recursive mutex.Federico G. Schwindt
2001-11-12This fixes the recursive mutex problem with pthreads.Marco S Hyman
fgs@ says their is a better fix... if so he can back these changes out and apply his fix at his convenience. In the meanwhile we'll have mutexen that work.
2001-11-09Fix problem found by espie (and other porters) whereMarco S Hyman
system(...) hangs forever. From a comment in the fix: * Note: a thread calling wait4 may have its state changed to waiting * until awakened by a signal. Also note that system(3), for example, * blocks SIGCHLD and calls waitpid (which calls wait4). If the process * started by system(3) doesn't finish before this function is called the * function will never awaken -- system(3) also ignores SIGINT and SIGQUIT.
2001-11-05Don't change the state of a thread as a result of a signal that isMarco S Hyman
masked by that thread. This fixes the problem found with the signal regression test.
2001-11-02fix typo in thread status flagsMarco S Hyman
2001-11-02Fix signal dispatching. No-one has reported any probs (other thanMarco S Hyman
with regression tests that need to be fixed) and fgs@ thinks it's OK. I'll look at the pthreads regression tests, next
2001-10-30Add note to BUGS section regarding linking with -ggdb vs -gMarco S Hyman
2001-10-30mprotect allocations sized at 0 bytes. This will cause a fault for accessThierry Deval
to such, permitting them to be discovered, instead of exploited as the ssh crc insertion detector was. Idea by theo, written by tdeval.
2001-10-28Describe all the thread status flags. Describe the twoMarco S Hyman
environment variables used to control status format and display
2001-10-24syslog_r() implementation. deraadt@ ok.Jean-Jacques Bernard-Gundol
2001-10-01new rmd160 implementation. based onMarkus Friedl
ftp://ftp.rsasecurity.com/pub/cryptobytes/crypto3n2.pdf, ok deraadt@
2001-09-10Enough for libc_r on sparc64 to build (this stuff is mostly taken from sparc,Jason Wright
and will need attention before it can be expected to work).
2001-09-10Our gcc defines __sparcv9__ not __sparc_v9__Jason Wright
2001-09-05and fix PTL site.Federico G. Schwindt
2001-09-05Rearrange and add missing ports based on recent 'Use threads' commits.Federico G. Schwindt
2001-09-05add getpw*_r to the list; from brad@Federico G. Schwindt
2001-09-05Add getaddrinfo(3) and gethostby*_r(3) to the list.Federico G. Schwindt
2001-09-04Use _waitq_remove() and _waitq_insert() always; from FreeBSD.Federico G. Schwindt
2001-09-04put changes back, this time ALL the files.Federico G. Schwindt
2001-08-30Back out fgsch@'s tree breaking commits.Todd T. Fries
Test next time, ok?
2001-08-30fix some const warnings.Federico G. Schwindt
more sync with freebsd.
2001-08-29More sync with FreeBSD.Federico G. Schwindt
2001-08-26More syncing with FreeBSD, preparing for a commit.Federico G. Schwindt
2001-08-21Start syncing with FreeBSD:Federico G. Schwindt
o Implement _get_curthread() and _set_curthread(). Use it where possible. o Add missing _thread_[enter|leave]_cancellation_point(). o Add a couple of not yet used vars to pthread_private.h. o Remove return's from void functions. This is by no means complete, but instead of doing a big commit, i'll split it in small ones, minimizing diffs.
2001-08-20spellingPeter Valchev
2001-08-19enable pthread_main_np(3)Peter Valchev
2001-08-18Describe the pthread_main_np() functionPeter Valchev
2001-08-18fix a typo and add devel/sdl to the ports applications using these pthreadsPeter Valchev
for testing
2001-08-17pthread_main_np prototypePeter Valchev
2001-08-17Provide the equivalent to Solaris thr_main() function; from FreeBSDPeter Valchev
2001-08-17correctly return ssize_t.Federico G. Schwindt