summaryrefslogtreecommitdiff
path: root/lib/libc/gen
AgeCommit message (Collapse)Author
2002-04-17Use __func__ in assert.Marc Espie
ok millert@
2002-04-03WCCPv1 GRE sysctl -- ok deraadt@Angelos D. Keromytis
2002-03-27VM is a history. From lazy form@.Mike Pechkin
millert@ ok
2002-03-20fix memleak.Mike Pechkin
millert@ ok
2002-03-16Add CAVEATS section similar to authenticate.3Todd C. Miller
2002-03-16Add CAVEATS section that details which functions call getpw* soTodd C. Miller
the programmer knows when to make a local copy of the struct passwd and how to avoid multiple passwd file lookups.
2002-03-16Add auth_getpwd MLINKTodd C. Miller
2002-03-16o Document auth_getpwd()Todd C. Miller
o Use .Pp, not .sp o Work around two mdoc bugs by using .br
2002-03-13Convert indentation whitespace -> tabs and kill $@%^#! ^M'sTodd C. Miller
2002-03-02document tcp.ackonpushNiels Provos
2002-03-01document cryptodevallowsoftNiels Provos
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