Home | History | Annotate | only in /src/tests/net/bpf
History log of /src/tests/net/bpf
RevisionDateAuthorComments
 1.2 13-Jul-2010  jmmv Get rid of static Atffiles and let bsd.test.mk generate them on the fly.
 1.1 21-Apr-2010  pooka Check that bpf doesn't accept programs with divide-by-zero in them.
Example filter from Guy Harris via PR kern/43185.
 1.7 18-Sep-2025  mrg introduce a couple of new turn-off-gcc-warning variables and use them.

GCC 14 has a new annoying calloc() checker that we turn off in a bunch
of places, and there are a few more dangling-pointer issuse that come up,
but seem bogus.
 1.6 01-Mar-2020  christos Centralize the base rump libraries into a variable used by all the other
Makefiles so that we can make changes to it centrally as needed and have
less mess. Fixes the sun2 build that needs rumpvfs after librump after
the latest changes.
 1.5 07-Jul-2014  alnsn branches: 1.5.24;
Add bpf/t_mbuf test to the build.
 1.4 10-Jun-2014  he Fix static linking for the tests: -lrump is also used by -lrumpuser,
so we also need -lrump after -lrumpuser. Fixes build for sun2.
 1.3 03-Jan-2011  christos branches: 1.3.12; 1.3.22;
PR/44310: Alexander Nasonov: write to /dev/bpf truncates size_t to int
 1.2 06-Dec-2010  pooka Add an xfail test for the mbuf leak described in PR kern/44196.

This is yet another example of a simple test which would be much
trickier to execute against the host kernel. You would either need
to put networking in a complete lockdown, or do some "statistical"
methods where you trigger the bug many many times and attempt to
ascertain a rising trend in mbuf count. And, of course, the leaked
mbufs don't go away from the host kernel once the test ends. In
contrast, we *know* that there is no other networking activity in
a rump kernel, so we can execute the operation exactly once, plus
the leaked mbuf "disappears" when the test is done.
 1.1 21-Apr-2010  pooka Check that bpf doesn't accept programs with divide-by-zero in them.
Example filter from Guy Harris via PR kern/43185.
 1.3.22.1 10-Aug-2014  tls Rebase.
 1.3.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.24.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2 08-Jul-2014  alnsn branches: 1.2.2; 1.2.6;
Clone libbpfjit tests to check kernel implementation of bpfjit.
Old content of t_bpfjit.c will be moved to t_mbuf.c shortly.
Change packet buffers to unsigned char[] type.
 1.1 07-Jul-2014  alnsn Add some helper functions for bpf/bpfjit rump tests.
 1.2.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.6.1 08-Jul-2014  tls file h_bpf.h was added on branch tls-maxphys on 2014-08-20 00:04:51 +0000
 1.2.2.2 10-Aug-2014  tls Rebase.
 1.2.2.1 08-Jul-2014  tls file h_bpf.h was added on branch tls-earlyentropy on 2014-08-10 06:57:30 +0000
 1.9 10-Sep-2022  rillig fix misspellings of 'available' and nearby typos
 1.8 09-Feb-2017  ozaki-r Add tests for several bpf ioctls
 1.7 01-Feb-2017  ozaki-r Add a test case for BIOCGBLEN and BIOCSBLEN
 1.6 13-Jan-2017  christos branches: 1.6.2;
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
 1.5 14-Aug-2012  alnsn branches: 1.5.14;
Add __RCSID and and make a couple of stylistic changes.
 1.4 13-Jan-2012  christos PR/44196 is now fixed, so don't expect a failure.
 1.3 18-Dec-2011  joerg Remove unused variable
 1.2 03-Jan-2011  christos branches: 1.2.6;
PR/44310: Alexander Nasonov: write to /dev/bpf truncates size_t to int
 1.1 06-Dec-2010  pooka Add an xfail test for the mbuf leak described in PR kern/44196.

This is yet another example of a simple test which would be much
trickier to execute against the host kernel. You would either need
to put networking in a complete lockdown, or do some "statistical"
methods where you trigger the bug many many times and attempt to
ascertain a rising trend in mbuf count. And, of course, the leaked
mbufs don't go away from the host kernel once the test ends. In
contrast, we *know* that there is no other networking activity in
a rump kernel, so we can execute the operation exactly once, plus
the leaked mbuf "disappears" when the test is done.
 1.2.6.2 30-Oct-2012  yamt sync with head
 1.2.6.1 17-Apr-2012  yamt sync with head
 1.5.14.1 20-Mar-2017  pgoyette Sync with HEAD
 1.6.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.4 01-Mar-2013  pooka Rump kernel hypercalls are not necessary here.
 1.3 03-Nov-2010  christos branches: 1.3.6; 1.3.12;
add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing
how many bugs this found :-)
 1.2 21-Apr-2010  pooka Add bpf program source in a comment.
 1.1 21-Apr-2010  pooka Check that bpf doesn't accept programs with divide-by-zero in them.
Example filter from Guy Harris via PR kern/43185.
 1.3.12.1 23-Jun-2013  tls resync from head
 1.3.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.3 13-Jan-2017  christos Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
 1.2 08-Jul-2014  alnsn branches: 1.2.2; 1.2.6; 1.2.10;
Clone libbpfjit tests to check kernel implementation of bpfjit.
Old content of t_bpfjit.c will be moved to t_mbuf.c shortly.
Change packet buffers to unsigned char[] type.
 1.1 07-Jul-2014  alnsn Add rump tests for checking how bpf_validate() works with mbuf chains.
 1.2.10.1 20-Mar-2017  pgoyette Sync with HEAD
 1.2.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.6.1 08-Jul-2014  tls file t_mbuf.c was added on branch tls-maxphys on 2014-08-20 00:04:51 +0000
 1.2.2.2 10-Aug-2014  tls Rebase.
 1.2.2.1 08-Jul-2014  tls file t_mbuf.c was added on branch tls-earlyentropy on 2014-08-10 06:57:30 +0000

RSS XML Feed