summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2002-01-02Move the const qualifier to the right place. deraadt@ okThomas Nordin
2002-01-02Add missing .Os. deraadt@ okThomas Nordin
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-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-08when strerror() has an Unknown error, also set EINVALTheo 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-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-06alloca cannot check if the allocation is valid. mention the consequences; ↵Theo de Raadt
millert ok
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-03for MAP_ANON, dont mention giving an fd of anything but -1, this never worked.Eric Jackson
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-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-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-14sync with kame better. open some renaming #defines (ENI_xx).Jun-ichiro itojun Hagino
2001-11-09Typos, siz -> size.Aaron Campbell
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-07list syslog_r as safe in signal handlersTheo de Raadt
2001-11-06No need to include vm/vm.h here.Artur Grabowski
2001-11-06Update to match realtiy.Artur Grabowski
2001-11-05No need to include vm/vm_param.h here, sys/sysctl.h does that for us.Artur Grabowski
2001-11-05Comment out info on U (utrace) malloc option since we don't support itTodd C. Miller
on OpenBSD.
2001-11-05Some examples of how to use syslog_r() and why it is useful. deraadt@ ok.Jean-Jacques Bernard-Gundol
2001-11-02poll(2) manpage references itself, accept(2) references poll(2) twice.Janne Johansson
2001-11-01much greater care for malloc & realloc failures; millert okTheo de Raadt
2001-11-01use _C_LABELMichael Shalayeff
2001-11-01remove dangling spaces and tabsMichael Shalayeff
2001-10-31Set default facility is noone is specified at syslog(3) time; millert@ jj@ ok.Federico G. Schwindt
2001-10-31Add MLINK's for syslog_r and friends.Federico G. Schwindt
2001-10-30Grammar. Thanks markus@Thierry Deval
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-30correct realloc() misuseTheo de Raadt
2001-10-29fix docs; tedu@heorot.stanford.eduTheo de Raadt
2001-10-29add RFC 3174 to SEE ALSO sectionTodd C. Miller
2001-10-26run the approve for accounts with expiration time, too. ok millert@Markus Friedl