Home | History | Annotate | only in /src/sys/modules/pf
History log of /src/sys/modules/pf
RevisionDateAuthorComments
 1.18 03-Jun-2023  lukem adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}

Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of
the older style more complex expressions.
 1.17 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.16 29-May-2023  lukem bsd.own.mk: rename NO_ADDR_OF_PACKED_MEMBER to CC_NO_ADDR_OF_PACKED_MEMBER

Add "CC_" prefix to NO_ADDR_OF_PACKED_MEMBER.

We now have the following convention:
GCC_NO_*: Disable specific warnings from GCC.
CLANG_NO_*: Disable specific warnings from Clang.
CC_NO_*: Disable specific warnings from both Clang and GCC.

This reserves "NO_*" Makefile variables to disable other features.

Some space->tab fixes.
 1.15 18-Oct-2020  christos Provide a global no-packed-address for both gcc and clang
 1.14 18-Oct-2020  christos use the GCC_ warning variable
 1.13 18-Oct-2020  christos Avoid alignment of packed member
 1.12 29-Sep-2019  mrg convert HAVE_GCC == 7 to HAVE_GCC >= 7.
 1.11 17-Feb-2019  rin Bump default value of WARNS for modules from 3 to 5, and
explicitly set WARNS for modules that fail with WARNS=5.

Also, turn on -Wno-missing-noreturn for clang for some files.

At the moment, among ~ 360 modules,
- 2 (lua and zfs) need WARNS=0
- 1 (solaris) needs WARNS=1
- 136 need WARNS=3 (mostly due to sign-compare)
- 4 need WARNS=4
- others can be compiled with WARNS=5

Discussed on tech-kern.
 1.10 04-Feb-2019  mrg - use -Wno-error=implicit-fallthrough with GCC7.
 1.9 19-Feb-2018  maya branches: 1.9.4;
Code is fixed, so hiding the warning is not necessary any more.
 1.8 12-Feb-2018  joerg Simplify and make the GCC check more precise at the same time.
 1.7 12-Feb-2018  adam Fix building with MKGCC=no
 1.6 06-Feb-2018  martin Avoid gcc 6 specific options when compiling with gcc 5
 1.5 06-Feb-2018  mrg pf_table.c has many left-shift of negative value issues.
 1.4 20-Aug-2015  christos Add ioconf entries to the pseudo-devices.
 1.3 29-Aug-2011  jmcneill branches: 1.3.12; 1.3.30;
build pf module with WARNS=3, and remove the need for -Wno-shadow
 1.2 28-Aug-2011  jmcneill set default WARNS for modules to 3 -- the only one that needs < 3 now is pf
 1.1 12-Apr-2010  ahoka branches: 1.1.2; 1.1.4; 1.1.6;
Add new type kernel module for pf (includes pflog, but not pfsync).
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 12-Apr-2010  yamt file Makefile was added on branch yamt-nfs-mp on 2010-08-11 22:54:51 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 12-Apr-2010  rmind file Makefile was added on branch rmind-uvmplock on 2010-05-30 05:18:00 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 12-Apr-2010  uebayasi file Makefile was added on branch uebayasi-xip on 2010-04-30 14:44:18 +0000
 1.3.30.1 22-Sep-2015  skrll Sync with HEAD
 1.3.12.1 03-Dec-2017  jdolecek update from HEAD
 1.9.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.9.4.1 10-Jun-2019  christos Sync with HEAD
 1.2 13-Apr-2010  ahoka Remove bpfilter.h as not needed.
 1.1 12-Apr-2010  ahoka Add new type kernel module for pf (includes pflog, but not pfsync).
 1.1 12-Apr-2010  ahoka branches: 1.1.2; 1.1.4; 1.1.6;
Add new type kernel module for pf (includes pflog, but not pfsync).
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 12-Apr-2010  yamt file pf.h was added on branch yamt-nfs-mp on 2010-08-11 22:54:51 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 12-Apr-2010  rmind file pf.h was added on branch rmind-uvmplock on 2010-05-30 05:18:00 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 12-Apr-2010  uebayasi file pf.h was added on branch uebayasi-xip on 2010-04-30 14:44:18 +0000
 1.1 20-Aug-2015  christos branches: 1.1.2; 1.1.18;
Add ioconf entries to the pseudo-devices.
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 20-Aug-2015  jdolecek file pf.ioconf was added on branch tls-maxphys on 2017-12-03 11:38:59 +0000
 1.1.2.2 22-Sep-2015  skrll Sync with HEAD
 1.1.2.1 20-Aug-2015  skrll file pf.ioconf was added on branch nick-nhusb on 2015-09-22 12:06:10 +0000
 1.1 12-Apr-2010  ahoka branches: 1.1.2; 1.1.4; 1.1.6;
Add new type kernel module for pf (includes pflog, but not pfsync).
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 12-Apr-2010  yamt file pflog.h was added on branch yamt-nfs-mp on 2010-08-11 22:54:51 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 12-Apr-2010  rmind file pflog.h was added on branch rmind-uvmplock on 2010-05-30 05:18:00 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 12-Apr-2010  uebayasi file pflog.h was added on branch uebayasi-xip on 2010-04-30 14:44:18 +0000
 1.1 12-Apr-2010  ahoka branches: 1.1.2; 1.1.4; 1.1.6;
Add new type kernel module for pf (includes pflog, but not pfsync).
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 12-Apr-2010  yamt file pfsync.h was added on branch yamt-nfs-mp on 2010-08-11 22:54:51 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 12-Apr-2010  rmind file pfsync.h was added on branch rmind-uvmplock on 2010-05-30 05:18:00 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 12-Apr-2010  uebayasi file pfsync.h was added on branch uebayasi-xip on 2010-04-30 14:44:18 +0000

RSS XML Feed