summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2002-01-07If the handler for SIGCHLD is set to SIG_IGN, act as if theTodd C. Miller
SA_NOCLDWAIT (don't create zombies) flag has been specified. This is consistent with most other operating systems and is what XPG4.2 specifies.
2002-01-04system calls are made thru _thread_sys_* with weak symbols of the real nameDale Rahn
pointing to the _thread_sys_ version. ok pval, fgs
2002-01-04Let's start by making the stack pointer 64 bit and nobody will get hurt.Artur Grabowski
2002-01-04longjmp(..., 0) is not really legal, but all other archs I've lookedArtur Grabowski
at make sure that setjmp doesn't return 0 if longjmp is passed a 0. Avoid surprises.
2002-01-04comment out the pending signals check by now; it was not suppose to beFederico G. Schwindt
there yet.
2002-01-03Always have the real entry point to the syscall called _thread_sys_Artur Grabowski
and provide the real name as a weak alias. This is the last piece needed for libc_r on sparc64 (plus debugging).
2002-01-02correct fram size.Artur Grabowski
pointed out by marc@
2002-01-02label abort() from inside library as ILLEGALTheo de Raadt
2002-01-02KNFTheo de Raadt
2002-01-02more pid_t useTheo de Raadt
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-02Grammar and format fixes.Aaron Campbell
2002-01-02fpathconf(2) returns long.Federico G. Schwindt
2002-01-02Remove extra reference to poll.2. Spotted by form@.Mike Pechkin
millert@ ok;
2002-01-02pids should be pid_t, not intMike Pechkin
2002-01-02Move the const qualifier to the right place. deraadt@ okThomas Nordin
2002-01-02Add missing .Os. deraadt@ okThomas Nordin
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-30Rename libusb to libusbhid, a better name, per NetBSDPeter Valchev
2001-12-30call pthread_sigmask() instead of having the code twice.Federico G. Schwindt
2001-12-29Two functions can return errors here, not just one.Miod Vallat
2001-12-26no way for this to be 'shared only', duhPeter Valchev
2001-12-20fix to match documented behaviour. RAND_file_name must return a pointer toBob Beck
buf, not something else.
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-17fix memory leak associated with compiled BPF program, sync'd from ↵Dug Song
tcpdump.org. ok itojun@
2001-12-15Document SIGTTIN and SIGTTOU now that we deal with them too.Todd C. Miller
2001-12-15Catch SIGTTIN and SIGTTOU too and treat them like SIGTSTP.Todd C. Miller
2001-12-13atoi->strtoulBob Beck
2001-12-13Reorder new includes. art@ says ok.Hugh Graham
2001-12-11FQDN subjectAltName in certs, used in isakmpd(8) examples. beck@ ok.Hakan Olsson
2001-12-11More sync with freebsd code; join related code this time.Federico G. Schwindt
2001-12-08when strerror() has an Unknown error, also set EINVALTheo de Raadt
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-08save the pid as well, and only do the atexit in the same pidTheo de Raadt
2001-12-07Add ERRORS and STANDARDS sectionsTodd C. Miller
2001-12-07o Turn off ECHONL in addition to ECHOTodd C. Miller
o Return NULL of read(2) returns -1 o Add ERRORS and STANDARDS sections
2001-12-07From XPG4.2: read(2) can return EIO if the process is a member ofTodd C. Miller
a background process attempting to read from its controlling terminal, the process is ignoring or blocking the SIGTTIN signal or the process group is orphaned. Verified against reality...
2001-12-07missing commaTodd C. Miller
2001-12-07Instead of restoring the tty mode, restoring the signal handler,Todd C. Miller
unblocking the signal and redelivering it just make all our signal handler interupt system calls and set a flag. We can just deliver the signal at the end right before we would normally return. This solves the SIG_IGN problem nicely and causes readpassphrase() to return when someone hits ^C even if the handler is SIG_IGN.
2001-12-07Document signal handling in readpassphrase(3)Todd C. Miller
2001-12-07Add CAVEATS section pointing out the dangers of closing fds <= 2Todd C. Miller
as found by Markus.
2001-12-07o point pthread_setcancel(type|state) manpages where they belong.Federico G. Schwindt
o remove functions from pthread_cancel(3).