Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-10 | Proper use of fseek/fseeko macros. | Tobias Stoeckmann | |
OK joris@, otto@ | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-05 | remove code for -W, argument now a no-op; ok millert@ | Kevin Steves | |
2007-05-03 | Deprecate the -W flag; it has been the default for years now. | Todd C. Miller | |
Joint effort with stevesk@ and jmc@ | |||
2007-05-01 | remove #ifndef SUN_LEN; ok millert@ | Kevin Steves | |
2007-04-07 | KNF, spaces; ok millert@ | Kevin Steves | |
2007-02-16 | sort options; from Igor Sobrado | Jason McIntyre | |
2006-12-11 | rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from ↵ | Theo de Raadt | |
Tamas TEVESZ; ok millert | |||
2005-07-17 | document that clients need dns entries; | Jason McIntyre | |
from martin crossley, pr #4293; ok krw@, millert@ | |||
2005-04-28 | add vsnprintf error checking. ok cloder@ millert@ | Moritz Jodeit | |
2004-12-16 | default wait time for dead server connection is 300 seconds, not 120. | Moritz Jodeit | |
ok millert@, henning@ | |||
2004-04-14 | Pass the job name to the input filter via the -j flag. Some filters | Todd C. Miller | |
(like foomatic) expect to be able to pass information from lpr via the job name. OK beck@ | |||
2004-04-13 | Treat 'o' format files (PostScript) from MacOS 10.1 the same as 'l', | Todd C. Miller | |
not 'f', since PostScript can contain binary data. From FreeBSD. | |||
2004-04-07 | Remove those option letters from the getopt string which do not have a case | Aaron Campbell | |
handler below. millert@ ok | |||
2003-11-08 | typos from Jonathon Gray; | Jason McIntyre | |
2003-10-16 | safer realloc. deraadt ok | Jun-ichiro itojun Hagino | |
2003-09-26 | realloc fixes; ok deraadt millert | Peter Valchev | |
2003-09-03 | plug mem leaks, pr3425 from patrick latifi. ok deraadt@ | Ted Unangst | |
2003-06-12 | - section reorder | Jason McIntyre | |
- macro fixes - kill whitespace at EOL - new sentence, new line | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-03-31 | ascii -> ASCII | Jason McIntyre | |
2003-01-06 | Typo: s/to be use if/to be used if/ s/Standford/Stanford/ | Chad Loder | |
2002-09-06 | use more socklen_t; pvalchev | Theo de Raadt | |
2002-07-27 | merge if() and foo = snprintf checks better; millert ok | Theo de Raadt | |
2002-06-23 | uid_t and gid_t are unsigned | Theo de Raadt | |
2002-06-19 | stretch some ugly while(); | Theo de Raadt | |
2002-06-13 | Fixed some lpd bugs while on the plane from Calgary: | Todd C. Miller | |
o mark fatal() as __dead o add SIGINT to the signal mask when installing abort() as a handler. We can end up in abortpr() due to several different signals and since abortpr() kill()s itself with SIGINT we need to explicately protect against the current process receiving SIGINT while in abortpr() o Don't leak the lock fd to children spawned by lpd o Close the lock file (and thus unlocke immediately in abortpr(). Otherwise, if there is an output filter the lock file only gets closed after we finish waiting for the output filter to die. This causes a race condition in lprm such that the per-printer daemon does not get restarted when lprm kills the active job (noticed during c2k2 with the mp3 printer spool ;-) o Open the printcap file with privs raised just in case it is not world-readable. | |||
2002-06-11 | lprm needs to be setuid daemon after all | Todd C. Miller | |
2002-06-08 | o Replace some hard-coded octal constants w/ S_I* | Todd C. Miller | |
o Remove some unneeded casts to char * when calling free() | |||
2002-06-08 | make this actually compile | Todd C. Miller | |
2002-06-08 | Force lpd socket to be mode 0660, group daemon | Todd C. Miller | |
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-28 | Repair remote printing; maxfd was not set correctly for remote connections. | Todd C. Miller | |
2002-05-22 | unlink lpd.pid if killed by a signal | Todd C. Miller | |
2002-05-22 | Use O_EXLOCK in open() instead of flock() to eliminate a potential locking | Todd C. Miller | |
race on the pid file. | |||
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. | |||
2002-01-21 | s/deamon/daemon/ | Theo de Raadt | |
2002-01-07 | Revert local changes that should not have been committed | Todd C. Miller | |
2002-01-07 | To disable a SIGCHLD signal handler use SIG_DFL, *not* SIG_IGN | Todd C. Miller | |
which now has a different meaning. | |||
2001-12-06 | use err/warn and friends instead of printf/exit. | Eric Jackson | |
also, remove fatal2() which is just errx anyway. millert@ ok | |||
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-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-19 | only slight fixes needed in signal handlers | Theo de Raadt | |
2001-10-29 | MacOS 10.1 lpr clients send a format character of "o" to indicate ↵ | Theo de Raadt | |
postscript; jabley@automagic.org | |||
2001-09-19 | occured->occurred | Mike Pechkin | |
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/ | |||
2001-09-05 | do not select(20, ...) | Theo de Raadt | |
2001-09-04 | Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵ | Todd C. Miller | |
POSIX counterparts. |