Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-11-29 | Replace strncpy() calls with adequate strlcpy() ones, and fix a cosmeto. | Miod Vallat | |
jason@ ok | |||
2001-11-29 | Use 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-27 | Fix check for '/' in cf file and change the check for '/' in df file | Todd C. Miller | |
for consistency. Based on a patch from Sebastian Krahmer. | |||
2001-11-26 | mostly mark signal races | Theo de Raadt | |
2001-11-23 | Remove the hack that ensures that rt_Update() works on FreeBSD. Now | brian | |
that the ncpaddr code doesn't create default routes with non-zero masks, everything works as it should. | |||
2001-11-23 | When writing messages to the routing socket, round sockaddr sizes | brian | |
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-23 | Be paranoid about non-zero netmasks being associated with INET addresses | brian | |
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-23 | Removed an unsed variable (oops) | brian | |
2001-11-23 | Don't adjust_linklocal() when pulling a sockaddr out of an ncpaddr or | brian | |
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. | |||
2001-11-23 | cmott@scientech.com -> cm@linktel.net | brian | |
Add the UPTIME variable CCP protocol ``0xffffffff'' -> ``none'' Don't leak memory when expanding command arguments and not exec()ing Make some functions static Add the ``log'' command for manual logging Fix some log text bogons | |||
2001-11-23 | use the same siginterrupt() trick in lpc(1) as in timedc(1). we have to hack | Theo de Raadt | |
a global into the other programs since they share some source. | |||
2001-11-23 | use siginterrupt() enabling around all blocking calls, and check the flags; ↵ | Theo de Raadt | |
millert ok | |||
2001-11-22 | kill wasteful shells. +Typo | Marc Espie | |
2001-11-21 | assume the presense of getifaddrs(3). sync with kame | Jun-ichiro itojun Hagino | |
2001-11-21 | be more careful on malloc failures. sync with kame | Jun-ichiro itojun Hagino | |
2001-11-19 | only slight fixes needed in signal handlers | Theo de Raadt | |
2001-11-19 | use _exit in signal handler | Theo de Raadt | |
2001-11-19 | use a private svc_run() function that checks for a signal handler flag; | Theo de Raadt | |
now signal safe. Also, massive KNF. | |||
2001-11-19 | KNFightmare | Theo de Raadt | |
2001-11-19 | KNF here too | Theo de Raadt | |
2001-11-19 | KNF | Theo de Raadt | |
2001-11-19 | no signals, no need for signal.h | Theo de Raadt | |
2001-11-19 | blah blah blah. guess what. more signals | Theo de Raadt | |
2001-11-17 | volatile sig_atomic_t | Theo de Raadt | |
2001-11-17 | use volatile sig_atomic_t where possible; simply volatile i other places | Theo de Raadt | |
2001-11-17 | remove unused signal handler variable | Theo de Raadt | |
2001-11-17 | save errno in signal handler | Theo de Raadt | |
2001-11-17 | missing prototype (getmsgbufsize). | Markus Friedl | |
2001-11-17 | reread config from main loop instead of signal hander; ok deraadt@ | Markus Friedl | |
2001-11-17 | check the full libdepend spec at install time. | Marc Espie | |
Thanks naddy for testing all that. | |||
2001-11-17 | Pass PKG_PREFIX off to pkg thru env | Marc Espie | |
2001-11-17 | fix signal race issues | Theo de Raadt | |
2001-11-17 | race safety in terminal signal handler | Theo de Raadt | |
2001-11-16 | Close comment. | Miod Vallat | |
2001-11-16 | no need for setjmp.h | Theo de Raadt | |
2001-11-16 | report for wait3() returning 0 | Theo de Raadt | |
2001-11-16 | sync with latest kame. terminate only if ripng response is not received | Jun-ichiro itojun Hagino | |
for 5 seconds (or length specified by -w). | |||
2001-11-16 | apull in the latest kame code. | Jun-ichiro itojun Hagino | |
2001-11-15 | fix password length check; allows usermod -p to work again. | Dan Harnett | |
ok millert@ | |||
2001-11-14 | On macppc, print the recharge time estimate as a recharge time estimate, not | Miod Vallat | |
a battery life estimate, when the battery is charging. Also, if the ac switched state and the life time, whatever it will be a life estimate or a recharge estimate, has been reset to zero, print it as not available. | |||
2001-11-14 | On macppc, when the battery is charging, the life time estimatation is in fact | Miod Vallat | |
the recharge time estimation. So there is no need to annoy the user if this value is <= 10 minute, since no surprise powerdown is about to happen. ok drahn@ mickey@ | |||
2001-11-14 | Move call to daemon() after chdir() so any error message printed | Todd C. Miller | |
on chdir error doesn't go to /dev/null; Janjaap van Velthooven | |||
2001-11-14 | indent | Theo de Raadt | |
2001-11-14 | fix most signal races | Theo de Raadt | |
2001-11-14 | kill signal race. insanely, the code becomes simpler | Theo de Raadt | |
2001-11-14 | initialize sockaddr_in6 correctly | Jun-ichiro itojun Hagino | |
2001-11-14 | use strncpy instead of strcpy, just in case | Jun-ichiro itojun Hagino | |
2001-11-12 | care and KNF | Theo de Raadt | |
2001-11-10 | Move extraloc to data segment. This fixes save of new locators for cloned ↵ | Mats O Jansson | |
devices. -moj ok @deraadt | |||
2001-11-09 | Since all our arches have /dev/ksyms, replace rigid mentions of the kernel | Miod Vallat | |
being /bsd with more correct terms, and remove /bsd and /dev/kmem from the FILES section if they were there. |