summaryrefslogtreecommitdiff
path: root/usr.sbin/rarpd/rarpd.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-08-07Unveil is used at tail of initialization to allow "r" of /tftpbootTheo de Raadt
2018-06-01Just over 15 years and 35 revisions ago, itojun removed the last use ofTheo Buehler
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2017-04-19Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beenMartin Natano
2017-01-20Oops. one "error(NONFATAL,..." got flipped to "error(...)" insteadKenneth R Westerback
2017-01-20Split error() into error() and warn() so that error() can be markedKenneth R Westerback
2016-12-18Nuke more unused variables.Kenneth R Westerback
2016-05-28Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...).Martin Natano
2015-11-19hoist the SOCK_RAW setup to the top before pledgeTheo de Raadt
2015-11-13pledge "stdio rpath dns" right at the start of the servicing loop.Theo de Raadt
2015-10-27Consistency in error messages.Jeremie Courreges-Anglas
2015-10-26remove util.h include and -lutil after pidfile removalJoerg Jung
2015-10-26stop using pidfile()Theo de Raadt
2015-10-16use daemon(), jca had the same diff in his treeTheo de Raadt
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-07-16typoMiod Vallat
2015-01-19Routing sockets are here to stay, so delete the wrapper that would use thePhilip Guenther
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-16Replace setpgrp(0, getpid()) with setpgid(0, 0). OK deraadt@ tedu@Todd C. Miller
2014-10-31convert select() to poll(). Bit more complicated here. Some interestingTheo de Raadt
2014-10-29delete obscure workaround for a bug in SunOS.Theo de Raadt
2014-10-08KNFTheo de Raadt
2012-04-06BIOCGBLEN is using a u_int, not an intTheo de Raadt
2010-08-29remove unused variableCharles Longeau
2010-08-26remove a silly comment that duplicates the usage string at the start ofJonathan Gray
2010-08-26Allow multiple interfaces to be specified instead of all or one.Jonathan Gray
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-05-17documentation tweaks.Igor Sobrado
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-01-23Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENTodd C. Miller
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
2004-09-15rename local err() function to error()Theo de Raadt
2004-05-08lots of munging about; canacar ok, tested by pb, looked at by various othersTheo de Raadt
2004-05-05move static filter out of functionTheo de Raadt
2003-07-21protosTheo de Raadt
2003-07-21use more defines; andrushock@korovino.netTheo de Raadt
2003-06-01various format string cleanups; tedu okTheo de Raadt
2003-05-15assume presense of getifaddrs(3).Jun-ichiro itojun Hagino
2002-07-20ansiTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-03-14kill more registers.Mike Pechkin
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-01Use pidfile() instead of doing the equivalent thing by hand, and sometimesMiod Vallat
2001-06-13more va_start/end fixes, ok deraadt@Markus Friedl
2000-04-14use getifaddrs, not SIOCGIFCONF. #ifdef will be removed later.Jun-ichiro itojun Hagino
1999-11-22fix a bug w/ choice_ipaddr() reply fine, but the loop goes on.Michael Shalayeff
1999-10-29Allow RARP on aliased interfacesNiklas Hallqvist