Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-06-19 | stretch some ugly while(); | Theo de Raadt | |
2002-06-08 | Remove setuid root from lp*. lpr needs to be setuid daemon so the | Todd C. Miller | |
files it creates are not owned by the user spooling them but the others (lpc, lpq, lprm) can get away with setgid daemon. lpd runs as user daemon for most things, only changing its uid to 0 for things that must be done as root. For the time being, don't require connections to come from a reserved port since lpq/lpr/lprm can't acquire that w/o setuid root. In the near future we will have a mechanism for select non-root processes to grab reserved ports. The upshot of this is that spool directories must be writable by group daemon and the files within the spool dirs must be owned by daemon. | |||
2002-05-20 | Pull in useful bits from NetBSD and make our lp* easier to diff and | Todd C. Miller | |
do some minor cleanup of my own: o IPv6 support o ANSI function headers o use getopt() o synce usage() with man pages o passes -Wall on both 32bit and 64bit platforms o add an option to set the max number of children lpd will fork off o add an lpd option to bind to specific addresses instead of INADDR_ANY. o allow user to specify how long to wait for a connection to remote servers o more strlcpy() and snprintf() usage o Use FOO_FILENO constants instead of hard-coding 0-2 o Add some keeps to man the page SYNOPSIS to avoid options being split | |||
2002-02-19 | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | Todd C. Miller | |
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
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-19 | only slight fixes needed in signal handlers | Theo de Raadt | |
2001-08-30 | o kill register | Todd C. Miller | |
o add const to rcsid and copyright strings o placate -Wall | |||
2001-06-22 | use strlcpy vs strncpy+a[len-1]='\0' | lebel | |
2001-02-07 | spelling | Todd T. Fries | |
1997-10-05 | be more paranoid; based on problem report by mhpower@MIT.EDU | Theo de Raadt | |
1997-07-25 | #if __STDC__ --> #ifdef __STDC__ | Michael Shalayeff | |
1997-07-20 | careful with link paths; oliver | Theo de Raadt | |
1997-07-17 | Change a strcpy() -> strncpy() because I'm paranoid. | Todd C. Miller | |
1997-07-16 | crank dfname/tfname; freebsd | Theo de Raadt | |
1997-01-17 | Add OpenBSD tags (was in wrong dir for previous commit) | Todd C. Miller | |
1996-12-05 | inverted logic | Theo de Raadt | |
1996-11-03 | Improve portability by using ANSI/POSIX interfaces when possible. | Todd C. Miller | |
1996-10-25 | proactive bounds checking; help from millert | Theo de Raadt | |
1996-09-21 | overflow protection | Theo de Raadt | |
1996-07-04 | Integrated 4.4Lite2 source | Thorsten Lockert | |
Fixed potential problem pointed out by bitblt | |||
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |