summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-09-15imsg framework cleanup:Henning Brauer
-kill the _pid flavors of imsg_create and imsg_compose, and just add pid as argument to those -use imsg_create in imsg_compose instead of duplicating code -check for datalen overflow
2004-09-15malloc the imsg buffers instead of having them statically, suggested byHenning Brauer
micsky some time ago, ok otto
2004-09-15Support for -Dvar=value in pkg_create:Marc Espie
- do the substitution for ${var} - handle fragments %%var%% depending on value being 0 or 1.
2004-09-15new getopt module, that allows for option-specific processing, so thatMarc Espie
for instance, pkg_create -Dvar=value -Dvar2=value2 will work.
2004-09-15if (signalflag) { dowork(); signalflag = 0; } is a race. First clear flag,Otto Moerbeek
then call work(). ok henning@
2004-09-15minor KNF, Moritz Jodeit <moritz@jodeit.org>Henning Brauer
2004-09-15shell keyword...Marc Espie
2004-09-15if (signalflag) { dowork(); signalflag = 0; } is a race. First clear flag,Otto Moerbeek
then call work(). ok deraadt@
2004-09-15Use less stack, as allowed by the new ABI.Miod Vallat
2004-09-15string.h for memcpyJolan Luff
2004-09-15KNFHenning Brauer
2004-09-15don't refuse packets with stratum=0, they are fineHenning Brauer
2004-09-15kill another unused function and two debugging printfsHenning Brauer
2004-09-15remove the unused variable/macro code, ok theoHenning Brauer
2004-09-15unused variables, theoHenning Brauer
2004-09-15missing include, from theoHenning Brauer
2004-09-15remove buf_write(), not used in ntpd. found by theoHenning Brauer
2004-09-14portable code should not use that gcc __func__ specific junk when it is not ↵Theo de Raadt
needed
2004-09-14size_t vs ssize_t confusionTheo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-09-14gccisms are bad, including __func__Henning Brauer
requested by theo
2004-09-14add support for info directories.Marc Espie
more prototypes. use Error module for system calls.
2004-09-14better wording for documentation.Marc Espie
use System more or less everywhere. prepare to delete info directories properly.
2004-09-14use System or Vsystem everywhere.Marc Espie
2004-09-14better reporting of conflicts, suggested by naddy@Marc Espie
2004-09-14report issues while installing configuration files.Marc Espie
2004-09-14use chown/chmod system calls directly where possible.Marc Espie
some System instead of system.
2004-09-14basic error wrapper for system and such.Marc Espie
2004-09-14use IdCache.Marc Espie
2004-09-14IdCache module, that deals with uid/gid caches.Marc Espie
2004-09-14vnd key is u_char *Theo de Raadt
2004-09-14install mtree.Marc Espie
2004-09-14remove unused variablesTheo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-09-14remove gcc specific extensions, and ARGSUSED where usefulTheo de Raadt
2004-09-14new categories, modules and manual-installation, not active yet.Marc Espie
new visit method, to do anything on a packing-list.
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-09-14treat ENOBUFS like EAGAIN and try laterHenning Brauer
2004-09-14Handle basic mtree for directory creation.Marc Espie
2004-09-14paranoia: reset query->fd to -1 after close, from canacar some time agoHenning Brauer
2004-09-10mention that the used cipher is Blowfish, from Jonathan Gray, ok tedu@Pedro Martelletto
2004-09-10expand @@ServerRoot@@ variableDavid Krause
2004-09-09correctly track peer count. fixes a memory corruption.Henning Brauer
exactly the same bug as in ntpd, but caused completely different... strange issues seen by arvid goetting who helped a lot in debugging, bug found after an ntpd issue showed up and I saw the relation. hunting with & ok claudio, otto, millert, ok deraadt
2004-09-09correctly track peer count. fixes a memory corruption.Henning Brauer
with & ok otto millert claudio, ok deraadt canacar
2004-09-09Add missing section heading "DESCRIPTION".Tom Cosgrove
ok jmc@ millert@ deraadt@
2004-09-09Avoid following a NULL pointer if a hostname lookup fails andTodd C. Miller
remove an extraneous "exiting" when there is a config file error. OK henning@ and mcbride@
2004-09-08security fix:Henning Brauer
Apache's mod_rewrite module can be made to write one zero byte in an arbitrary memory position outside of a char array, causing DoS or possibly buffer overflows. The function lookup_map_dbmfile() in modules/mappers/mod_rewrite.c copies data from a DBM file to the char array buf in a _secure_ manner, but it zero-terminates the array afterwards in an _insecure_ manner. If the key that is looked up has an n bytes long value, a zero byte will be written in the memory position n bytes from the start of the char array buf. exploiting would require enabling dbm for mod_rewrite and getting it to use a malicious dbm file. reported by Ulf.Harnhammar.9485@student.uu.se fix by me ok otto, deraadt
2004-09-07ignore ntp_sendmsg()s return value in server_dispatch. could result inHenning Brauer
ntpd exiting on sendmsg() failures, which is not desired.
2004-09-06Reset signal mask in the rate limiting case; check for interruptedOtto Moerbeek
waits. Fixes zombies getting reaped late and other ignored signals. Reported by mpech@; fix by millert@ with help from me. Commit requested by deraadt@. ok mpech@