summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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).
2001-12-07Check for keyfile == NULL in skey_unlock()Todd C. Miller
2001-12-06Use TCSAFLUSH not TCSANOW. I was only using TCSANOW during debugging...Todd C. Miller
2001-12-06Fix a long standing annoyance with getpass/readpassphrase. Instead ofTodd C. Miller
blocking SIGINT and SIGTSTP, catch them (along with SIGHUP, SIGQUIT, SIGTERM). We restore the tty mode as needed and then restore the original signal handler and resend the signal. For SIGTSTP, upon return from suspend the user is re-prompted for the passphrase.
2001-12-06mark more signals that I cannot fixTheo de Raadt
2001-12-06alloca cannot check if the allocation is valid. mention the consequences; ↵Theo de Raadt
millert ok
2001-12-06A FILE * is not a file name, dammit.Todd C. Miller
2001-12-05correct an alignment mis-conception for malloc(0) returned regions.Thierry Deval
OK deraadt@
2001-12-05KNF, i need this for what comes next..Theo de Raadt
2001-12-05document how malloc(0) blobbies are stored, and their characterTheo de Raadt
2001-12-05Include more machdep headers. (paranoia)Artur Grabowski
2001-12-05Must include machine/pmap.h and machine/vmparam.h here nowArtur Grabowski
that uvm headers won't do that for us.
2001-12-03for MAP_ANON, dont mention giving an fd of anything but -1, this never worked.Eric Jackson
2001-12-01Warn that pidfile() will not have the expected removal behaviour if _exit()Miod Vallat
is called.
2001-11-29chflags(2) can return EPERM for other reasons.Todd C. Miller
From NetBSD via Brian J. Kifiak
2001-11-29getfh(2) can fail with EPERM; Brian J. KifiakTodd C. Miller
2001-11-22Broken use of .IMPSRC in non-inference rule contextMarc Espie
2001-11-21Use the address of the symbol, do not overwrite the address with 0, beforeDale Rahn
calling pwrite. Fix from dlucq. ok millert.
2001-11-212nd param is constTheo de Raadt
2001-11-20a few thoughts about longjmp in signal handlersTheo de Raadt
2001-11-20shared onlyPeter Valchev
2001-11-20Put dl* function definitions in libc on ELF, removing the need for libdl.Peter Valchev
These are just stubs, the real functions are resolved by ld.so when linking is performed. ok art
2001-11-17fix a commentTheo de Raadt
2001-11-17volatile sig_atomic_tTheo de Raadt
2001-11-15sync with reality; scope identifier comes even without NI_WITHSCOPEID.Jun-ichiro itojun Hagino
2001-11-15make NI_WITHSCOPEID a default (always on), to synchronize with recent 2553bis.Jun-ichiro itojun Hagino
sync with kame.
2001-11-14avoid stdio in a signal handler; millert okTheo de Raadt
2001-11-14save errno in signal handlerTheo de Raadt
2001-11-14sync with kame better. open some renaming #defines (ENI_xx).Jun-ichiro itojun Hagino
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-09Typos, siz -> size.Aaron Campbell
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-08My part of help, while i'm here:Mike Pechkin
o) better -mdoc design; o) add section number to .Xr; o) close .Bd; o) start new sentence on a new line; jjbg@, millert@ ok
2001-11-08use uvm headers there as well...Miod Vallat