summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2002-01-16socket()s first argument should be a protocol family rather than anbrian
address family.
2002-01-16socket's first argument is an address family, not a protocol family.brian
2002-01-12xr to dig.Marc Espie
2002-01-12Make sure the daemon() call is harmless to file descriptors.Miod Vallat
Problem reported by markus@, fix by me, ok markus@ millert@
2002-01-11call daemon(3) prior to socket setups to avoid file descriptor close mistakes.Jun-ichiro itojun Hagino
noted by markus, sync with kame
2002-01-10Use IFNAMSIZ for strlcpy() and also pretty the man pageJason Wright
(from PR2315; Jason Ackley <jason@ackley.net>)
2002-01-09perl lives in /usr/bin, not /usr/local/bin; Ingolf SchuchardtTodd C. Miller
2002-01-09Kill volatile now that jongjmp is history.Todd C. Miller
2002-01-07Revert local changes that should not have been committedTodd C. Miller
2002-01-07To disable a SIGCHLD signal handler use SIG_DFL, *not* SIG_IGNTodd C. Miller
which now has a different meaning.
2002-01-01bit more cleanupTheo de Raadt
2002-01-01go back to the swapped xdr_ypresp_key_val for nowTheo de Raadt
2001-12-29forgotten xid setting for additional domains; gregs@agilestorage.com, pr 2282Theo de Raadt
2001-12-23integrate a patch i did around 1.5 years ago that's already inKevin Steves
tcpdump.org and netbsd. if verbose and TCP RST segment with payload, print the payload string. Mentat derived stacks may put text strings in RST segments. ok jakob@
2001-12-22No Virginia, there is no adduser.conf(5).Todd C. Miller
2001-12-20Cause crontab to send SIGUSR1 when a user's crontab file has changed.Todd C. Miller
In cron, this interrupts the sleep() in cron_sleep() and causes cron to check to see what signal woke it up and act appropriately. This makes crontab changes take effect more or immediately.
2001-12-13Mention that cron should be started late in the rc file and why.Todd C. Miller
2001-12-12o pids should be pid_t, not intTodd C. Miller
o check return value of fscanf()
2001-12-12daemon() can close innocent file descriptors, including opened log.Michael Shalayeff
be more carefull about that and nicer to debugging. daemon() thingie was pointed out by markus@ .
2001-12-11Make Makefile.boot produce a working config(8) again, at least on 4.4BSD.Miod Vallat
2001-12-11This file was forgotten in the previous wsmouse commits.Miod Vallat
2001-12-11If we receive a signal during the sleep(), run signal handlers asTodd C. Miller
needed and then go back to sleep. This fixes the issue where processes run by cron could hang around as zombies for a minute (ie: until we were done sleeping).
2001-12-10handle "q" input better; bug reported in 2244Theo de Raadt
2001-12-10follow post-2.1 ip_off & ip_len byte ordersTheo de Raadt
2001-12-09i like it this way betterMichael Shalayeff
2001-12-09Do not use stdio functions after a successfull call to daemon(), useMiod Vallat
syslog() instead. ok millert@
2001-12-09Do not use stdio functions after a successfull call to daemon(), useMiod Vallat
syslog() instead. Also, be sure to unlink the pid file and to restore screen when exiting from outside a signal handler. ok millert@
2001-12-09*** empty log message ***Miod Vallat
2001-12-09Consider PROTO_IPV6 as compressible by CCP.brian
2001-12-07OK, this is horrible. stdio safety in a signal handler, requires that weTheo de Raadt
make the regular data stream non-buffered. This drastically reduces tcpdump performance. Let us commit this, and see how people react. But realistically, without this, we cannot gaurantee that the tail of a file is correct on signal.
2001-12-07do not call abort(), it is tastelessTheo de Raadt
2001-12-07Make vnds larger than 2G work, mostly by Daniel Lucq <daniel@lucq.org>.Niklas Hallqvist
2001-12-06use err/warn and friends instead of printf/exit.Eric Jackson
also, remove fatal2() which is just errx anyway. millert@ ok
2001-12-05Minor sync with NetBSDTodd C. Miller
o fix two err() calls that should be errx() o don't use the colonc variable in a non-obvious way o add missing or of F_SHELL when in preserve mode
2001-12-05o Use proper uid_t and gid_t types and fixup printf format strings to matchTodd C. Miller
o Change "unsigned" -> "unsigned int" o Correct a buffer size that should have been LINE_MAX o Simplify creation of group entry in groupmod() using strlcat() and catch errors. Theo and myself...
2001-12-05this has been setuid for quite some timeTheo de Raadt
2001-12-05simplifyTheo de Raadt
2001-12-05more free KNF from maja, though this was hard to doTheo de Raadt
2001-12-05this stuff is supplied by -lrpcsvcTheo de Raadt
2001-12-05simplify the sourceTheo de Raadt
2001-12-04All files are copied from the skel dir, not just dot.*Todd C. Miller
2001-12-04Provide eeprom(8) on sparc64.Miod Vallat
2001-12-03cleanup submitted by by Miod Vallat <miod@online.fr>Kenjiro Cho
- use pidfile() - simplifies some perror() + exit() constructs to use err() instead - fixes a warn() call instead of a LOG() after daemon() has been called ok millert@
2001-12-03fix bugs in reporting unknown keywords. (argv shoud be *argv)Kenjiro Cho
report and fix by Oleg Safiullin <form@openbsd.ru>
2001-12-02KNF, and remove unneccessary signal blocking and errno saving, since not ↵Theo de Raadt
signal handlers anymore; millert ok
2001-12-02pretty much KNF or simplification; millert okTheo de Raadt
2001-12-01Revert previous, as pidfile() uses atexit(), which is no use if we callMiod Vallat
_exit() in signal handlers. Noticed by Theo.
2001-12-01Use pidfile() instead of doing the equivalent thing by hand, and sometimesMiod Vallat
forgetting to unlink the pid file at exit. ok millert@ deraadt@
2001-12-01fd_set, not struct fd_setTheo de Raadt
2001-12-01document why multicast tools are missingTheo de Raadt