summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/lpd/lpd.c
AgeCommit message (Expand)Author
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-05remove code for -W, argument now a no-op; ok millert@Kevin Steves
2007-05-01remove #ifndef SUN_LEN; ok millert@Kevin Steves
2004-04-07Remove those option letters from the getopt string which do not have a caseAaron Campbell
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-10-16safer realloc. deraadt okJun-ichiro itojun Hagino
2003-09-26realloc fixes; ok deraadt millertPeter Valchev
2003-09-03plug mem leaks, pr3425 from patrick latifi. ok deraadt@Ted Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-09-06use more socklen_t; pvalchevTheo de Raadt
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-11lprm needs to be setuid daemon after allTodd C. Miller
2002-06-08make this actually compileTodd C. Miller
2002-06-08Force lpd socket to be mode 0660, group daemonTodd C. Miller
2002-06-08Remove setuid root from lp*. lpr needs to be setuid daemon so theTodd C. Miller
2002-05-28Repair remote printing; maxfd was not set correctly for remote connections.Todd C. Miller
2002-05-22unlink lpd.pid if killed by a signalTodd C. Miller
2002-05-22Use O_EXLOCK in open() instead of flock() to eliminate a potential lockingTodd C. Miller
2002-05-20Pull in useful bits from NetBSD and make our lp* easier to diff andTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-21s/deamon/daemon/Theo de Raadt
2002-01-07Revert local changes that should not have been committedTodd C. Miller
2002-01-07To disable a SIGCHLD signal handler use SIG_DFL, *not* SIG_IGNTodd C. Miller
2001-12-06use err/warn and friends instead of printf/exit.Eric Jackson
2001-11-23use the same siginterrupt() trick in lpc(1) as in timedc(1). we have to hackTheo de Raadt
2001-11-19only slight fixes needed in signal handlersTheo de Raadt
2001-09-05do not select(20, ...)Theo de Raadt
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ...Todd C. Miller
2001-08-30When using dup2() to make a socket be stdout, first check that itTodd C. Miller
2001-08-30o kill registerTodd C. Miller
2001-06-22use strlcpy vs strncpy+a[len-1]='\0'lebel
1998-08-03Set SO_REUSEADDR on printer/tcp service (port 515); csapuntz@clearviewtech.comTodd C. Miller
1997-08-04save errno in sigchld handlersTheo de Raadt
1997-07-19Wall cleanup; people running lpd should test!Theo de Raadt
1997-01-17Add OpenBSD tags (was in wrong dir for previous commit)Todd C. Miller
1996-12-20initialize name; is this the right hack?Theo de Raadt
1996-11-03Improve portability by using ANSI/POSIX interfaces when possible.Todd C. Miller
1996-10-26we are so ftp bounce paranoid, we checked twice!Theo de Raadt
1996-09-21dohTheo de Raadt
1996-09-21i so rarely forget htons & friends; this time i did -- warner caught meTheo de Raadt
1996-09-21oflow protection, ftp bounce protection, dns spoof protectionTheo de Raadt
1996-08-07ftp bounce protectionTheo de Raadt
1996-07-04Fix bogon in importThorsten Lockert
1996-07-04Integrated 4.4Lite2 sourceThorsten Lockert
1996-05-05headersTheo de Raadt
1996-05-01save some bytes of diskTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt