Home | History | Annotate | only in /src/usr.sbin/bootp/common
History log of /src/usr.sbin/bootp/common
RevisionDateAuthorComments
 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