summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2003-07-31delintTheo de Raadt
2003-07-31knfAnil Madhavapeddy
2003-07-31Privilege separated syslog daemon. The child listening to log requests dropsAnil Madhavapeddy
to user _syslogd and chroots itself, while the privileged parent grants it access to open logfiles and other calls it needs. The only difference from existing behaviour is that if syslog.conf changes and syslogd receives a HUP, it will re-exec itself and have two new PIDs. A HUP with an unchanged config will make syslogd reopen logfiles as before. Lots of help and code from deraadt@ , and advice from millert@ Various versions tested by todd, cloder, mpech, markus, tdeval and others
2003-07-30indents; jfb okTheo de Raadt
2003-07-30Use (char *)NULL instead of (char *)0 in execl and execle; Andrey MatveevTodd C. Miller
2003-07-30basic support for ftp:// in PKG_PATH. ok pvalchev@Ted Unangst
2003-07-26Add missing "break" in -s case and make usage() explicitly take void.Todd C. Miller
From Andrey Matveev.
2003-07-23bye byeTheo de Raadt
2003-07-22- use :L variable modifier with ELF_TOOLCHAIN variableBrad Smith
- change 2 instances of the check from != "yes" to == "no" ok deraadt@
2003-07-21gotta prune your objdir after makefile changes...; cleandir was not brokenMichael Shalayeff
2003-07-21no, you broke cleandirTheo de Raadt
2003-07-21do not symlink .x file -- build right out of include dir and only link .h; ↵Michael Shalayeff
deraadt@ ok
2003-07-21use __prognameMichael Shalayeff
2003-07-21protosTheo de Raadt
2003-07-21use more defines; andrushock@korovino.netTheo de Raadt
2003-07-20ignore backwards going entriesMichael Shalayeff
2003-07-18add missing includesDavid Krause
ok tedu@
2003-07-18remove the extra / in pathDavid Krause
ok deraadt@ millert@
2003-07-18#include "http_main.h" for the chroot functionsDavid Krause
fixes some implicit declaration warnings ok henning@
2003-07-17add support for ESP decryption; ok deraadt@; feedback mickey@;Markus Friedl
many manpage fixes from jmc@
2003-07-16kill a rake of .br's and .Pp's that worked around the spacing bug. shouldJason McIntyre
help postscript output too.
2003-07-15protos and repairsTheo de Raadt
2003-07-14- new sentence, new lineJason McIntyre
- .Bk/.Ek for SYNOPSIS - kill whitespace at EOL - some macro fixes ok henning@
2003-07-14macro fixes;Jason McIntyre
2003-07-14fix a list;Jason McIntyre
2003-07-14- escape "It" so groff doesn't try to expand itJason McIntyre
- macro cleanup
2003-07-14fix a width specifier and remove some .Pp's before lists/displays;Jason McIntyre
2003-07-11Better parsing and -v support for tables:Cedric Berger
- remove the tableaddrs and tableaddr yacc production and reuse host_list instead. - produce better error messages. - do not load addresses from external file when it is not required (like with -R option). - store initializers in a new node_tinit linked list before putting them into the address buffer (see next point). - add a new print_tabledef() function, which makes "pfctl -nvf" print something useful for table definitions, which in turn makes it possible to write better regress tests (see first chunk of the diff) and bring table definition consistant with other parsed rules. ok dhartmei@
2003-07-10trivial protosTheo de Raadt
2003-07-09AVoid core dump when package name in package is not valid.Otto Moerbeek
2003-07-08protos; avsm okTheo de Raadt
2003-07-08Update to work with new kernel changesNathan Binkert
2003-07-08Fix a bug that caused removal of previous users' rules when more then oneDaniel Hartmeier
user loggged in concurrently. And fix a smaller bug which prevented complete removal of a user's state entries on logout. Bug report and testing by Ed Powers.
2003-07-08print ip_{src,dst} again; ok henning@Markus Friedl
2003-07-08declare chroot and etag functions in the .h filesDavid Krause
and get rid of some implicit declaration warnings ok henning@
2003-07-08oupsie, error in code we don't compileHenning Brauer
found bu david
2003-07-08dont silently truncate a domain socket specified via the -p argument;Anil Madhavapeddy
error out instead if its too long. deraadt@ ok
2003-07-07bye bye piece of crudTheo de Raadt
2003-07-07protosTheo de Raadt
2003-07-06ansi rpcgenTheo de Raadt
2003-07-06protosTheo de Raadt
2003-07-06protos and ansiTheo de Raadt
2003-07-04'static const char rcsid[]' to make it -Wall cleanAnil Madhavapeddy
2003-07-04- use sizeof(var) instead of hardcoding length in functions that need itAnil Madhavapeddy
- krw@ rewrote make_preserve_name() to get rid of some hard to read string code - some trivial strn{cpy,cat} - > strl{cpy,cat} conversions ok krw@
2003-07-03Bye bye atexit(), bye bye globals...Cedric Berger
The pfctl.c part will probably need some further improvements. ok henning@
2003-07-03This patch finally cleanup pfctl_table.c. No more global buffer,Cedric Berger
and a couple of parsing functions moved to parse.y or pfctl_parser where they belong. I also took the opportunity to replace "void" functions with exit(1) or err() inside by "int" functions, with the caller checking the return value for errors (much cleaner and an old request from Theo) ok dhartmei@ henning@
2003-07-02bump mktemp/mkstemp randomness from 6 -> 10 X'sAnil Madhavapeddy
henning@ ok
2003-07-02.Ic Ar -> .ArJason McIntyre
from wiz@netbsd;
2003-07-02simplify macro usage;Jason McIntyre
from wiz@netbsd
2003-07-02fix broken escape; from wiz@netbsdJason McIntyre
cleanup from myself;