summaryrefslogtreecommitdiff
path: root/lib/libc/gen
AgeCommit message (Collapse)Author
2002-02-23sysctl kern.usercryptoTheo de Raadt
2002-02-23Document KERN_SYSVIPC_INFO; from NetBSDTodd C. Miller
2002-02-23Add brief LOGIN_SETLOGIN caveat and point the user to setlogin(2)Todd C. Miller
for more info.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-18Open console with O_NONBLOCK to avoid blocking on a locked console.Todd C. Miller
From David Malone
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-16MI man page to document fpgetmask(3) and friends; from ross@NetBSD, ok deraadtPeter Valchev
2002-02-10back out the no reserved port option for nfsNathan Binkert
2002-02-05o) Fix memory leak in _auth_checklogin(), auth_approval(), auth_close() andMike Pechkin
auth_clean(). Spotted via ftpd. We could use ftpd as a simple debug tool for bsdauth and login_cap routines. :) millert@ help&OK
2002-01-29Fix memory leak in setuserpath(). We prefer patch from millert@.Mike Pechkin
2002-01-28Fix memory leaks in login_getcapnum() and login_getcapsize().Mike Pechkin
millert@ ok
2002-01-24ellaborate on historyMichael Shalayeff
2002-01-23_THREAD_PRIVATE_MUTEX_UNLOCK() on error before returning; millert@ ok.Federico G. Schwindt
2002-01-23Fix memory leaks in login_getstyle(), login_getstr() and login_getcaptime()Todd C. Miller
2002-01-16Use the volatile specifier to fix warnings about variables beingTodd C. Miller
clobbered by longjmp / vfork instead of the gcc "(void)&foo;" hack.
2002-01-14If waitpid() return ECHILD that should not be a fatal error sinceTodd C. Miller
someone else could have waited for the process or zombies could be disabled via SIG_IGN or SA_NOCLDWAIT.
2002-01-12document net.inet.icmp.redir{accept,timeout}Eric Jackson
2002-01-11typoJun-ichiro itojun Hagino
From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
2002-01-11document new sysctl for vfs.nfs.norsvportNathan Binkert
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-02more pid_t useTheo de Raadt
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-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-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-11-20a few thoughts about longjmp in signal handlersTheo de Raadt
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-05No need to include vm/vm_param.h here, sys/sysctl.h does that for us.Artur Grabowski
2001-11-05Some examples of how to use syslog_r() and why it is useful. deraadt@ ok.Jean-Jacques Bernard-Gundol
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-26run the approve for accounts with expiration time, too. ok millert@Markus Friedl
2001-10-24syslog_r() implementation. deraadt@ ok.Jean-Jacques Bernard-Gundol
2001-09-22o kill some extra whitespaceTodd C. Miller
o remove remaining strcpy()s to avoid false positives when auditing o fix by one in a malloc() size param o fix buffer overflow in cgetnext() reported by Jouko Pynnonen o avoid needlessly setting errno to ENOMEM and when we *do* set it be sure to do so right before the return() o check snprintf() return value when building up a .db pathname and fall back to the text version if it the .db path is too long. o add a missing check for malloc() return value o kill register o memmove(), not bcopy()
2001-09-21Typo; grange@rt.mipt.ruAaron Campbell
2001-09-11repair getgrgid_r() and getgrnam_r() as the standart says; from d@Peter Valchev
2001-09-06It is silly to reference the Tahoe architecture.Todd C. Miller
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵Todd C. Miller
POSIX counterparts.
2001-08-27Zero out entire FTS after allocating it instead of just zeroing outTodd C. Miller
a few fields by hand; Closes PR 2033
2001-08-25Sync with sysctl(8): net.inet.tcp.slowhz is not changeable; bk@rt.fm. Wow,Aaron Campbell
reported on 04/26/2000, I am a slacker.
2001-08-23Add missing commas after auth_getitem and auth_setitem in NAME section.Todd C. Miller
Problem found by makewhatis -p / espie.