summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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
2001-12-01pull in protosTheo de Raadt
2001-11-29Replace strncpy() calls with adequate strlcpy() ones, and fix a cosmeto.Miod Vallat
jason@ ok
2001-11-29Use getifaddrs(3) instead of SIOCGIFCONF, SIOCGIFADDR, SIOCGIFNETMASK,Todd C. Miller
and SIOCGIFFLAGS ioctl()s. Fixes an alignment bug on alpha with a certain number of network interfaces (and simplifies the code tremendously). Based on a patch from Chris Jepeway.
2001-11-27Fix check for '/' in cf file and change the check for '/' in df fileTodd C. Miller
for consistency. Based on a patch from Sebastian Krahmer.
2001-11-26mostly mark signal racesTheo de Raadt
2001-11-23Remove the hack that ensures that rt_Update() works on FreeBSD. Nowbrian
that the ncpaddr code doesn't create default routes with non-zero masks, everything works as it should.
2001-11-23When writing messages to the routing socket, round sockaddr sizesbrian
up in the same way that we expect them to be when we read them. This is a no-op on i386 and probably on alphas, as we currently only support AF_INET and AF_INET6.
2001-11-23Be paranoid about non-zero netmasks being associated with INET addressesbrian
of 0.0.0.0. The OpenBSD PF_ROUTE/NET_RT_DUMP sysctl is sending back routes with RTAX_NETMASK set, but the corresponding sockaddr being 4 zero bytes (with an address family of zero). ppp was getting confused by this and ending up interpreting it as a 0.0.0.0/32 routing table destination and subsequently failing to do anything with the route. Specifically, after this fix, ppp under OpenBSD can successfully change and delete the default route again !
2001-11-23Removed an unsed variable (oops)brian
2001-11-23Don't adjust_linklocal() when pulling a sockaddr out of an ncpaddr orbrian
ncprange structure. Don't write() the netmask for IPv6 sockaddrs to the routing socket if the prefixlen is 128. It seems that messages written to the routing socket with the scopeid set for link local addresses are not understood. Instead, we have to put the scopeid in the 5th and 6th bytes of the address (see adjust_linklocal() in ncpaddr.c). I think this may be a bug in the KAME implementation - it should really understand both forms.