Home | History | Annotate | only in /src/usr.sbin/bootp
History log of /src/usr.sbin/bootp
RevisionDateAuthorComments
 1.2 09-Jan-2001  lukem convert to using .WAIT
 1.1 15-Mar-1998  lukem move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
with a libcommon - to stop unnecessary recompilation of the source.
add Makefile* to suit.
 1.3 28-May-2007  tls Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.2 07-Jan-2001  enami Use PRINTOBJDIR.
 1.1 15-Mar-1998  lukem move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
with a libcommon - to stop unnecessary recompilation of the source.
add Makefile* to suit.
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.1 22-Aug-1994  gwr Update to version 2.4
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.3 21-Apr-2012  roy Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
 1.2 09-Jan-1998  perry branches: 1.2.66;
RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.2.66.1 23-May-2012  yamt sync with head.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.6 15-Mar-1998  lukem move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
with a libcommon - to stop unnecessary recompilation of the source.
add Makefile* to suit.
 1.5 14-Mar-1998  lukem warnsify
 1.4 25-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.3 18-Oct-1997  lukem branches: 1.3.2;
rcsid fascism
 1.2 22-Dec-1994  cgd specify man pages the new way.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.3.2.1 08-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.4 10-Nov-2021  msaitoh s/streror/strerror/ in comment.
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.2 19-Jun-1996  gwr Explain why the HP printers fail and how to work around the problem.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.11 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.10 17-Jun-2006  reed Fix typo or mispelling.
 1.9 29-Oct-2002  wiz Fix typos. Found by Adrian Mrva.
 1.8 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.7 19-Jan-2002  wiz Whitespace nits.
 1.6 18-Oct-1997  lukem rcsid fascism
 1.5 20-May-1997  mikel fix typo, from Enami Tsugutomo in PR bin/3636
 1.4 18-Apr-1997  mikel argument given to -t flag is in minutes; from SAITOH Masanobu in PR
misc/3509. nuke a typo while I'm here.
 1.3 27-Sep-1996  thorpej Correct pathname of bootpd and bootpgw.
From Erik Bertelsen <erik@sockdev.uni-c.dk>, PR #2744.
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.28 22-Jul-2025  andvar s/swtich/switch/ in comment.
 1.27 04-May-2017  sevan branches: 1.27.22;
Drop main() prototype.
 1.26 29-Mar-2014  joerg branches: 1.26.16;
Fix syntax (hi apb!)
 1.25 29-Mar-2014  apb sizeof(pointer) is not a good buffer length to pass to strlcat.
Introduce a new variable, clntpathmaxlen, to hold the correct
buffer length, and pass that to strlcat.

The incorrect buffer length would have caused <filename>.<hostname>
lookups to fail.
 1.24 29-Aug-2011  joerg branches: 1.24.2; 1.24.8;
Use __dead.
 1.23 15-Apr-2009  lukem Fix -Wsign-compare issues
 1.22 02-May-2008  xtraeme branches: 1.22.8;
WARNS=4
 1.21 27-May-2007  tls branches: 1.21.10;
For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.20 09-May-2006  mrg change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.19 14-Jul-2003  itojun use boundedd string ops
 1.18 17-May-2003  itojun use strlcpy/strlcat
 1.17 06-Jan-2003  wiz compatibility, not compatiblity.
 1.16 18-Sep-2002  mycroft Fix pluralization in a syslog message.
 1.15 18-Sep-2002  mycroft select() -> poll()
 1.14 13-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.13 11-Oct-2000  is More format string cleanups by sommerfeld.
 1.12 31-Jan-1999  briggs branches: 1.12.2; 1.12.10;
Missing ).
 1.11 31-Jan-1999  mrg ensure C strings are nul terminated, and do not overflow buffers.
 1.10 04-Dec-1998  abs From OpenBSD: ignore requests with bogus network types
Also fix 'from from' -> 'from'
 1.9 06-Jul-1998  mrg - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.8 14-Mar-1998  lukem warnsify
 1.7 18-Oct-1997  lukem rcsid fascism
 1.6 21-Mar-1996  jtc Be pedantic, main() returns int in C.
 1.5 23-Dec-1994  cgd play a bit safer with types.
 1.4 24-Aug-1994  gwr Make this match what I posted on comp.sources.unix as patch 1.
(Functionally the same as yesterday's commit.)
 1.3 24-Aug-1994  gwr Fix missing initialization (thanks to Brezak).
 1.2 22-Aug-1994  gwr branches: 1.2.2;
Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.2.2.1 24-Aug-1994  mycroft update from trunk
 1.12.10.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.12.2.1 19-Oct-2000  he Pull up revision 1.13 (requested by he):
Format string cleanup.
 1.21.10.1 18-May-2008  yamt sync with head.
 1.22.8.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.24.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.26.16.1 11-May-2017  pgoyette Sync with HEAD
 1.27.22.1 02-Aug-2025  perseant Sync with HEAD
 1.7 21-Apr-2012  roy Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
 1.6 11-Apr-2001  wiz branches: 1.6.56;
ether_hostton(3), not ether_hton(3) (thanks, Klaus!)
 1.5 05-Jan-2001  agc Language police:
"It's" is short for "it is".
The possessive pronoun is "its".
 1.4 18-Oct-1997  lukem branches: 1.4.10;
rcsid fascism
 1.3 19-Jun-1996  gwr Some corrections regarding boot file and path (suggested by cgd)
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.4.10.1 26-Apr-2001  he Pull up revision 1.6 (requested by wiz):
Correct ether_hostton(3) reference.
 1.6.56.1 23-May-2012  yamt sync with head.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.1 15-Mar-1998  lukem move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
with a libcommon - to stop unnecessary recompilation of the source.
add Makefile* to suit.
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.11 04-May-2017  sevan Drop main() prototype.
 1.10 29-Aug-2011  joerg branches: 1.10.32;
Use __dead.
 1.9 15-Apr-2009  lukem Fix -Wsign-compare issues
 1.8 02-May-2008  xtraeme branches: 1.8.8;
WARNS=4
 1.7 27-May-2007  tls branches: 1.7.10;
For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.6 17-Nov-2004  hira usage: Print program name. Whitespace nit.
Reviewed by uebayasi@. This closes PR bin/26534.
 1.5 13-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.4 14-Mar-1998  lukem warnsify
 1.3 18-Oct-1997  lukem rcsid fascism
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.7.10.1 18-May-2008  yamt sync with head.
 1.8.8.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.10.32.1 11-May-2017  pgoyette Sync with HEAD
 1.4 18-Sep-2002  lukem minor makefile delint
 1.3 12-Dec-2001  tv MKfoo=no -> NOfoo
 1.2 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.1 15-Mar-1998  lukem move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
with a libcommon - to stop unnecessary recompilation of the source.
add Makefile* to suit.
 1.16 04-May-2017  sevan Drop main() prototype.
 1.15 29-Aug-2011  joerg branches: 1.15.32;
Use __dead.
 1.14 15-Apr-2009  lukem Fix -Wsign-compare issues
 1.13 27-May-2007  tls branches: 1.13.20;
For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.12 09-May-2006  mrg change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.11 18-Sep-2002  mycroft Fix pluralization in a syslog message.
 1.10 18-Sep-2002  mycroft select() -> poll()
 1.9 13-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.8 06-Jul-1998  mrg - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.7 14-Mar-1998  lukem warnsify
 1.6 18-Oct-1997  lukem rcsid fascism
 1.5 06-May-1996  christos Fix PR/2373
 1.4 24-Jul-1995  ws Make bootpgw work for more than just the first query
 1.3 19-May-1995  mycroft Use inet_aton(), not inet_addr().
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.13.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.15.32.1 11-May-2017  pgoyette Sync with HEAD
 1.5 10-Aug-2012  joerg Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply
to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
 1.4 20-Jun-2011  mrg branches: 1.4.2;
remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
 1.3 29-Aug-2008  gmcgarry branches: 1.3.18;
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
 1.2 11-May-2006  mrg branches: 1.2.20;
sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
 1.1 15-Mar-1998  lukem move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
with a libcommon - to stop unnecessary recompilation of the source.
add Makefile* to suit.
 1.2.20.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.3.18.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.4.2.1 30-Oct-2012  yamt sync with head
 1.5 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.4 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.3 20-May-1997  mikel separate option argument from description; from Enami Tsugutomo in PR 3637.
also RCSid police.
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.22 24-Dec-2022  andvar s/reqest/request/, s/requst/request/ and s/reuqest/request/ in comments.
 1.21 04-May-2017  sevan Drop main() prototype.
 1.20 21-Aug-2011  christos branches: 1.20.32;
use const char [] for format
 1.19 16-Aug-2011  christos fix non-literal strings
 1.18 15-Apr-2009  lukem Fix -Wsign-compare issues
 1.17 02-May-2008  xtraeme branches: 1.17.8;
WARNS=4
 1.16 27-May-2007  tls branches: 1.16.10;
For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.15 09-May-2006  mrg change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.14 17-Nov-2004  hira usage: Add -f and -m. Use getprogname(). Print to strerr.
Reviewed by uebayasi@. This closes PR bin/26535.
 1.13 14-Jul-2003  itojun use boundedd string ops
 1.12 17-May-2003  itojun use strlcpy/strlcat
 1.11 20-Sep-2002  mycroft Minor cosmetica.
 1.10 18-Sep-2002  mycroft select() -> poll()
 1.9 14-Jul-2002  wiz De-register.
 1.8 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.7 26-Sep-1999  kleink Need <sys/param.h> for MAXHOSTNAMELEN.
 1.6 06-Jul-1998  mrg branches: 1.6.4;
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.5 14-Mar-1998  lukem warnsify
 1.4 09-Jan-1998  perry RCS Id Police.
 1.3 19-May-1995  mycroft Use inet_aton(), not inet_addr().
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.6.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.16.10.1 18-May-2008  yamt sync with head.
 1.17.8.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.20.32.1 11-May-2017  pgoyette Sync with HEAD
 1.5 27-May-2007  tls For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.4 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.3 14-Mar-1998  lukem warnsify
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.10 08-Sep-2024  rillig fix a/an grammar in obvious cases
 1.9 15-Apr-2009  lukem branches: 1.9.58;
Fix -Wsign-compare issues
 1.8 27-May-2007  tls branches: 1.8.20;
For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.7 14-Jul-2003  itojun use bounded string op
 1.6 14-Jul-2002  wiz De-register.
 1.5 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.4 11-Oct-2000  is More format string cleanups by sommerfeld.
 1.3 14-Mar-1998  lukem branches: 1.3.2; 1.3.10;
warnsify
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.3.10.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.3.2.1 19-Oct-2000  he Pull up revision 1.4 (requested by he):
Format string cleanup.
 1.8.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.9.58.1 02-Aug-2025  perseant Sync with HEAD
 1.14 07-Jan-2025  andvar s/tralier/trailer/ in comment.
 1.13 10-Sep-2022  rillig branches: 1.13.4;
fix misspellings of 'available' and nearby typos
 1.12 12-Dec-2021  andvar fix various typos in comments.
 1.11 19-Oct-2013  christos fix unused variable warnings.
 1.10 15-Apr-2009  lukem branches: 1.10.6; 1.10.12;
Fix -Wsign-compare issues
 1.9 02-May-2008  xtraeme branches: 1.9.8;
WARNS=4
 1.8 27-May-2007  tls branches: 1.8.10;
For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.7 14-Jul-2002  wiz De-register.
 1.6 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.5 26-Mar-1998  thorpej Fix types lossage on Alpha.
 1.4 14-Mar-1998  lukem warnsify
 1.3 18-Oct-1997  lukem rcsid fascism
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.8.10.1 18-May-2008  yamt sync with head.
 1.9.8.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.10.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.4.1 02-Aug-2025  perseant Sync with HEAD
 1.5 10-Mar-2007  hubertf - Remove unused ctype.h header
- Remove unused debug and progname variables
- Use return instead of exit() for quiting at end of main()
- Print errors to stderr instead of stdout

From: Slava Semushin <php-coder@altlinux.ru>
 1.4 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.3 14-Mar-1998  lukem warnsify
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.11 03-Jun-2023  lukem bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
CLANG_NO_ADDR_OF_PACKED_MEMBER
CC_NO_ADDR_OF_PACKED_MEMBER
GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.10 30-May-2021  joerg address-of-packed-member warning is no longer a problem here.
 1.9 06-Sep-2020  mrg branches: 1.9.2;
add support for new GCC 9 warnings that may be too much to fix
right now. new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree. mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it. (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.) clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
 1.8 11-Jan-2017  joerg Disable a couple of warnings until further investigation.
 1.7 03-May-2008  lukem branches: 1.7.44;
Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
 1.6 23-May-2004  lukem branches: 1.6.24;
Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
 1.5 18-Sep-2002  lukem minor makefile delint
 1.4 12-Dec-2001  tv MKfoo=no -> NOfoo
 1.3 13-Mar-1999  lukem set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
 1.2 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.1 15-Mar-1998  lukem move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
with a libcommon - to stop unnecessary recompilation of the source.
add Makefile* to suit.
 1.6.24.1 18-May-2008  yamt sync with head.
 1.7.44.1 20-Mar-2017  pgoyette Sync with HEAD
 1.9.2.1 31-May-2021  cjep sync with head
 1.4 18-Oct-1997  lukem rcsid fascism
 1.3 23-Dec-1994  cgd play a bit safer with types.
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.5 02-May-2008  xtraeme WARNS=4
 1.4 09-Jan-1998  perry branches: 1.4.42;
RCS Id Police.
 1.3 23-Dec-1994  cgd play a bit safer with types.
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.4.42.1 18-May-2008  yamt sync with head.
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 23-Dec-1994  cgd play a bit safer with types.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.6 27-May-2007  tls For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.5 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.4 11-Oct-2000  is More format string cleanups by sommerfeld.
 1.3 14-Mar-1998  lukem branches: 1.3.2; 1.3.10;
warnsify
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.3.10.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.3.2.1 19-Oct-2000  he Pull up revision 1.4 (requested by he):
Format string cleanup.
 1.3 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.9 02-May-2008  xtraeme WARNS=4
 1.8 27-May-2007  tls branches: 1.8.10;
For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.7 25-Feb-2006  wiz Fix some typos.
 1.6 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.5 14-Mar-1998  lukem warnsify
 1.4 09-Jan-1998  perry RCS Id Police.
 1.3 23-Dec-1994  cgd play a bit safer with types.
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.8.10.1 18-May-2008  yamt sync with head.
 1.6 18-Aug-2003  itojun SIOCGIFCONF -> getifaddrs conversion
 1.5 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.4 14-Mar-1998  lukem warnsify
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 24-Jul-1995  ws Since BSD is defined in sys/param.h, we need to include that
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.3 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.8 08-Feb-2018  dholland Typos.
 1.7 27-May-2007  tls For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.6 14-Jul-2002  wiz De-register.
 1.5 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.4 14-Mar-1998  lukem warnsify
 1.3 18-Oct-1997  lukem rcsid fascism
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.4 02-Feb-2003  wiz guarantee, not guarentee. Idea from miod@openbsd.
 1.3 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.10 15-Apr-2009  lukem Fix -Wsign-compare issues
 1.9 27-May-2007  tls branches: 1.9.20;
For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.8 14-Jul-2003  itojun use boundedd string ops
 1.7 14-Jul-2002  wiz De-register.
 1.6 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.5 11-Oct-2000  is More format string cleanups by sommerfeld.
 1.4 14-Mar-1998  lukem branches: 1.4.2; 1.4.10;
warnsify
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 25-Jul-1995  gwr Delete (possibly incomplete) ARP table entry before adding.
Thanks to Chritos Zoulas and others. Fixes PR# 1242
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.4.10.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.4.2.1 19-Oct-2000  he Pull up revision 1.5 (requested by he):
Format string cleanup.
 1.9.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6 15-Apr-2009  lukem Fix -Wsign-compare issues
 1.5 02-May-2008  xtraeme branches: 1.5.8;
WARNS=4
 1.4 29-Apr-2007  msaitoh branches: 1.4.10;
fix typos
 1.3 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.4.10.1 18-May-2008  yamt sync with head.
 1.5.8.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6 27-May-2007  tls For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.5 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.4 14-Mar-1998  lukem warnsify
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 15-Mar-1997  is New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr branches: 1.1.1.1.6;
Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.1.1.1.6.1 09-Mar-1997  is Converting to new ARP.
 1.3 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.4 09-Jan-1998  perry RCS Id Police.
 1.3 24-Aug-1994  gwr Make this match what I posted on comp.sources.unix as patch 1.
(Functionally the same as yesterday's commit.)
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.21 03-Feb-2019  mrg - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
 1.20 11-Jan-2017  joerg branches: 1.20.14;
Avoid access to unaligned data.
 1.19 07-Oct-2011  joerg branches: 1.19.24;
Fix under-allocation-by-one
 1.18 04-Jan-2011  wiz Add missing breaks in switch statement. Found by cppcheck.
 1.17 15-Apr-2009  lukem Fix -Wsign-compare issues
 1.16 02-May-2008  xtraeme branches: 1.16.8;
WARNS=4
 1.15 27-May-2007  tls branches: 1.15.10;
For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* by
using a #define to turn one into the other, this is pointless and causes
more portability issues than it solves (admittedly, in the year 1702 when
this code was written the opposite may have been the case).
 1.14 23-May-2006  christos Coverity CID 2448: Remove extra NULL check.
 1.13 29-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.12 14-Jul-2003  itojun use boundedd string ops
 1.11 28-Jan-2003  wiz unknown, not unkown. Noted by mjl.
 1.10 14-Jul-2002  wiz De-register.
 1.9 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.8 20-Aug-2001  wiz precede, not preceed.
 1.7 11-Jan-1999  kleink In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
 1.6 02-Apr-1998  kleink Need <time.h> for ctime() prototype.
 1.5 14-Mar-1998  lukem warnsify
 1.4 18-Oct-1997  lukem rcsid fascism
 1.3 19-Jun-1996  gwr Minor fixes sent in since bootp-2.4.3 release:
Correct length arg to haddrtoa() in report of duplicate address.
The string value for a generic tag should not include the null.
(Including the null in reponses really annoys HP printers!)
When reading hardware addresses, allow colon separators
(only works if the whole H/W address is in quotes).
 1.2 22-Aug-1994  gwr Update to version 2.4
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.15.10.1 18-May-2008  yamt sync with head.
 1.16.8.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.19.24.1 20-Mar-2017  pgoyette Sync with HEAD
 1.20.14.1 10-Jun-2019  christos Sync with HEAD
 1.3 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.7 02-May-2008  xtraeme WARNS=4
 1.6 14-Jul-2002  wiz branches: 1.6.30;
ANSIfy. Remove ifndef __STDC__.
 1.5 11-Oct-2000  is More format string cleanups by sommerfeld.
 1.4 26-Jul-1998  mycroft branches: 1.4.2; 1.4.10;
const poisoning.
 1.3 14-Mar-1998  lukem warnsify
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.4.10.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.4.2.1 19-Oct-2000  he Pull up revision 1.5 (requested by he):
Format string cleanup.
 1.6.30.1 18-May-2008  yamt sync with head.
 1.5 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.4 11-Oct-2000  is More format string cleanups by sommerfeld.
 1.3 26-Jul-1998  mycroft branches: 1.3.2; 1.3.10;
const poisoning.
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.3.10.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.3.2.1 19-Oct-2000  he Pull up revision 1.4 (requested by he):
Format string cleanup.
 1.6 10-Mar-2007  hubertf - Remove unused ctype.h header
- Remove unused debug and progname variables
- Use return instead of exit() for quiting at end of main()
- Print errors to stderr instead of stdout

From: Slava Semushin <php-coder@altlinux.ru>
 1.5 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.4 14-Mar-1998  lukem warnsify
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 19-May-1995  mycroft Use inet_aton(), not inet_addr().
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.4 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.3 14-Mar-1998  lukem warnsify
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.5 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.4 14-Mar-1998  lukem warnsify
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 23-Dec-1994  cgd play a bit safer with types.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.
 1.4 14-Jul-2002  wiz ANSIfy. Remove ifndef __STDC__.
 1.3 14-Mar-1998  lukem warnsify
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 27-Jun-1994  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 27-Jun-1994  gwr Move this to where the latest consensus indicates it should go.
Also, integrate some fixes from Christos.

RSS XML Feed