summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2001-11-23use siginterrupt() enabling around all blocking calls, and check the flags; ↵Theo de Raadt
millert ok
2001-11-22kill wasteful shells. +TypoMarc Espie
2001-11-21assume the presense of getifaddrs(3). sync with kameJun-ichiro itojun Hagino
2001-11-21be more careful on malloc failures. sync with kameJun-ichiro itojun Hagino
2001-11-19only slight fixes needed in signal handlersTheo de Raadt
2001-11-19use _exit in signal handlerTheo de Raadt
2001-11-19use a private svc_run() function that checks for a signal handler flag;Theo de Raadt
now signal safe. Also, massive KNF.
2001-11-19KNFightmareTheo de Raadt
2001-11-19KNF here tooTheo de Raadt
2001-11-19KNFTheo de Raadt
2001-11-19no signals, no need for signal.hTheo de Raadt
2001-11-19blah blah blah. guess what. more signalsTheo de Raadt
2001-11-17volatile sig_atomic_tTheo de Raadt
2001-11-17use volatile sig_atomic_t where possible; simply volatile i other placesTheo de Raadt
2001-11-17remove unused signal handler variableTheo de Raadt
2001-11-17save errno in signal handlerTheo de Raadt
2001-11-17missing prototype (getmsgbufsize).Markus Friedl
2001-11-17reread config from main loop instead of signal hander; ok deraadt@Markus Friedl
2001-11-17check the full libdepend spec at install time.Marc Espie
Thanks naddy for testing all that.
2001-11-17Pass PKG_PREFIX off to pkg thru envMarc Espie
2001-11-17fix signal race issuesTheo de Raadt
2001-11-17race safety in terminal signal handlerTheo de Raadt
2001-11-16Close comment.Miod Vallat
2001-11-16no need for setjmp.hTheo de Raadt
2001-11-16report for wait3() returning 0Theo de Raadt
2001-11-16sync with latest kame. terminate only if ripng response is not receivedJun-ichiro itojun Hagino
for 5 seconds (or length specified by -w).
2001-11-16apull in the latest kame code.Jun-ichiro itojun Hagino
2001-11-15fix password length check; allows usermod -p to work again.Dan Harnett
ok millert@
2001-11-14On macppc, print the recharge time estimate as a recharge time estimate, notMiod 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-14On macppc, when the battery is charging, the life time estimatation is in factMiod 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-14Move call to daemon() after chdir() so any error message printedTodd C. Miller
on chdir error doesn't go to /dev/null; Janjaap van Velthooven
2001-11-14indentTheo de Raadt
2001-11-14fix most signal racesTheo de Raadt
2001-11-14kill signal race. insanely, the code becomes simplerTheo de Raadt
2001-11-14initialize sockaddr_in6 correctlyJun-ichiro itojun Hagino
2001-11-14use strncpy instead of strcpy, just in caseJun-ichiro itojun Hagino
2001-11-12care and KNFTheo de Raadt
2001-11-10Move extraloc to data segment. This fixes save of new locators for cloned ↵Mats O Jansson
devices. -moj ok @deraadt
2001-11-09Since all our arches have /dev/ksyms, replace rigid mentions of the kernelMiod Vallat
being /bsd with more correct terms, and remove /bsd and /dev/kmem from the FILES section if they were there.
2001-11-08Replace unreadable snprintf() and pointer arithmetic with simple strlcat().Todd C. Miller
If group file line would grow to be too long, leave it unmolested (previously it would get removed). Use fclose(fp) not close(fd) for a stream that was fdopen()ed. Otherwise we could leak memory. When calling fwrite() pass the buffer as a single element instead of using n one-byte elements.
2001-11-08swap arguments in libdepend, do it now before the bsd.port.mk parts are setMarc Espie
in stone...
2001-11-08-c is defualt. minor mdoc changes.Mike Pechkin
Spotted by form@. millert@ ok +help
2001-11-08use strncpy() to set ifname arg to ioctlJun-ichiro itojun Hagino
2001-11-07Unconfuse option description.Marc Espie
2001-11-07Recognize @libdepend, even though it doesn't do anything smarter with itMarc Espie
than @newdepend for now.
2001-11-07Say goodbye to @ignore_inst, we don't use it, and it doesn't even work inMarc Espie
any sane way...
2001-11-07Recognize libdepend keyword.Marc Espie
2001-11-07use -lrpcsvcTheo de Raadt
2001-11-07use -lrpcsvcTheo de Raadt
2001-11-07KNFTheo de Raadt