summaryrefslogtreecommitdiff
path: root/libexec/comsat/comsat.c
AgeCommit message (Expand)Author
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2018-09-24unveil maildir, utmp, /tmp, and /dev. For the vast number of peopleTheo de Raadt
2017-04-03check return from pread, don't divide -1 for countTed Unangst
2017-04-03use recallocarray() because the array contains data that can be observedTheo de Raadt
2017-04-02Prefer pread() over lseek()+read()Philip Guenther
2016-04-02Use open(tty, O_WRONLY) + fdopen() instead of fopen(tty, "w") toTodd C. Miller
2015-10-12Call pledge(2) after initial getsockname(2) to avoid "inet" addition.Masao Uebayashi
2015-10-10normalize a few more tame request orderings, to help reviewTheo de Raadt
2015-10-09With nfs spool (fork + seteuid/setuid balony) support gone, it becomesTheo de Raadt
2015-10-09remove NFS spool support; it stands in the way of pledge(2)Theo de Raadt
2015-07-06Trim trailing whitespace from the comsat message before callingTodd C. Miller
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2006-08-17recv(2) returns a ssize_t, so match cc with it.Ray Lai
2005-11-15the third arg of read() is size_t, not int (cast fix)Todd C. Miller
2004-09-16more signal flag races; ok miod@Otto Moerbeek
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2003-09-26free(NULL) allowedTheo de Raadt
2003-09-25Fix typo in revision 1.29; deraadt@ OKTodd C. Miller
2003-09-24realloc fixes; ho okTheo de Raadt
2003-06-19use fseeko; millert okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-09-06use socklen_t more; henning okTheo de Raadt
2002-08-22fix int overflow in statbf.st_size, from netbsd PR#17933Philipp Buehler
2002-07-03KNFTheo de Raadt
2002-06-20fix patch; moritz@jodeit.orgTheo de Raadt
2002-06-19handle non-terminated things better; moritz@jodeit.orgTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-07kill more registers;Mike Pechkin
2001-11-18Ensure SA_RESTART is not set on SIGALRM. With it set, the SIGALRM is notTheo de Raadt
2001-11-17volatile sig_atomic_tTheo de Raadt
2001-07-08-WallTheo de Raadt
2001-05-12strlcpyTheo de Raadt
2001-01-28$OpenBSD$Niklas Hallqvist
2001-01-17use sig_atomic_t, and check for signal flag more oftenTheo de Raadt
2001-01-11change signal handler to set a flag, and then in the main loop doTheo de Raadt
1999-08-17More <sys/file.h> vs. <fcntl.h> and open() flags fixes.Todd C. Miller
1999-06-23use sockaddr_storageTheo de Raadt
1999-02-21vis() buf overflowTheo de Raadt
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd C. Miller
1998-07-10do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabblingTheo de Raadt
1997-11-20do not exit(-1)Theo de Raadt
1997-08-05More errno saving.Angelos D. Keromytis
1997-08-04save errno in sigchld handlersTheo de Raadt
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesThorsten Lockert
1996-08-27visTheo de Raadt
1996-08-27strncpy correctlyTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt