Commit Graph

445 Commits

Author SHA1 Message Date
christos 2b043c75b6 eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
christos b3bbae0374 Fix NOMAN 2014-01-10 15:52:25 +00:00
martin 6f65a8d103 ACTIVE_CC can only be used after include of bsd.own.mk 2014-01-10 15:00:16 +00:00
pgoyette b05ea33883 The sleeping test has been converted to ATF 2012-11-08 03:16:04 +00:00
pgoyette ec3837a095 This functionality is tested in tests/fs/vfs/t_io 2012-11-07 17:14:02 +00:00
pgoyette de60af8cf6 sigtramp has been incorporated into ATF test lib/libc/sys/t_sigaction 2012-11-07 16:52:01 +00:00
pgoyette 54841f4686 The lockf/lockf2 tests are now converted to ATF 2012-11-07 14:04:28 +00:00
pgoyette a056b20854 The SysV IPC tests have been converted to atf 2012-11-05 04:11:44 +00:00
pgoyette c7bda8e080 The mqueue test has been atf-ified 2012-11-03 05:22:24 +00:00
chs c79ddfbf3d our current gcc puts the loop after the RAS_END() label on several
platforms, adjust the code so that gcc does the right thing again.
2012-11-02 14:53:03 +00:00
joerg b757af438b Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
riz f8a1d7977c Back out the recent import of IPFilter 5.1.1 for the upcoming branch,
which will now have IPFilter 4.1.34.  IPFilter 5.1.1 will be restored
post-branch.

ok: core, releng.
2012-02-15 17:55:03 +00:00
darrenr 9c0e9659f2 Import IPFilter 5.1.1 2012-01-30 16:02:57 +00:00
yamt 6f39b50ccf - count the number of bits correctly
- more check
- tweak numbers
- use more accurate time
2011-11-02 16:49:12 +00:00
pgoyette ccb4fdff6f ether_aton test has been atf-ified 2011-11-01 23:07:34 +00:00
christos 531a87f792 Test all digits. 2011-11-01 13:59:00 +00:00
ws ad730b8b4f Replace ed usage with awk script.
Fixes PR toolchain/45532, generating the exact same output as previously.
Note that it doesn't address Tsutsui's additional check request.
2011-11-01 12:52:28 +00:00
mbalmer e1d181bb1e Fix typo in output. 2011-10-17 16:39:15 +00:00
christos dd0d75f09d provide the out of address space test in a gcc-4.5 friendly way. 2011-08-18 02:32:32 +00:00
reinoud b1e03acdd3 Fix missing comma in errx() in normally not compiled code. 2011-08-16 13:15:04 +00:00
jruoho 943257c643 Move the uvm "loan" test to tests(7). 2011-07-14 11:08:44 +00:00
jruoho 418b5c73fe Remove "mmap" subdir. 2011-07-14 10:27:36 +00:00
jruoho de255ab49d ../regress/sys/uvm/mmap/mmap.c is now part of tests(7). 2011-07-14 08:12:20 +00:00
mrg c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
mrg 75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
joerg a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
joerg 4186c35cbd Fix format string 2011-05-24 16:11:08 +00:00
joerg 65b332fa1f Use proper format string 2011-05-24 16:04:14 +00:00
joerg eafadea975 Require GCC for compilation 2011-05-20 13:36:12 +00:00
mellon 0647473106 Include err.h and unistd.h to provide protos for err() and getpid(). 2011-05-18 19:45:05 +00:00
mellon b519b2e283 Include err.h to provide prototype for err(). 2011-05-18 19:44:18 +00:00
tsutsui 35020d6832 WARNSfy 2011-05-18 18:41:59 +00:00
christos 2bf6f45a6d fix prototypes. 2011-05-16 21:51:31 +00:00
christos 51c60bdd41 use err instead of printf, fix missing prototypes. 2011-05-16 12:43:59 +00:00
christos b139bf30af Turn on WARNS to 4, so that magically -std=gnu99 gets turned on and fix
the few warnings. Since the kernel uses c99, this makes kernel code that
uses c99 features compile.
2011-05-14 16:26:23 +00:00
joerg 526fbdff1c Kill a redundant lvalue cast in assembler constrained. 2011-03-18 03:06:21 +00:00
joerg 8e2b771d40 Use ${HOST_SH} 2010-12-20 16:13:44 +00:00
rmind f72965d18d Don't overrun the buffer, when writing some payload. 2010-10-03 19:41:25 +00:00
rmind 29dd668442 Add a regression test for IPv4 reassembly. Cases:
- Normal (valid) fragments.
- Fragment with ip_off + hlen lower than IP_MINFRAGSIZE - 1.
- Different ip_tos values in fragments.
- Fragment data length which is not multiple of 8 bytes.
- Duplicate fragments (one covering previous).
- Packet larger than IP_MAXPACKET after reassembly.
- No last non-MF fragment (causing of timeout).
2010-07-13 22:13:18 +00:00
mrg 4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
christos 95aad9cc1b verify hex digits. 2010-05-19 21:59:34 +00:00
christos f65592ae19 regression test for ether_aton_r() 2010-05-19 21:55:35 +00:00
drochner 71380b75fd pull in some more headers to get prototypes into scope, and, more
importantly, the __RENAME of pollts(2)
2010-03-23 20:32:13 +00:00
darrenr 1098c7bfb7 Import IPFilter 4.1.33
4.1.33 - Release 16 August 2009

2837931 wrong mode selected in ipf program for hash-entries
2826168 load_http can make ippool core dump
2825150 IPL_LOGMAX used to index some arrays
2825084 ipv6 fragments should not be allowed past 64k
2824713 ipfstat top output alternates between entries and nothing
2824712 ipfstat top output is shows negative ttl
2820965 a single bad ipv6 extension header should not impact others
2818197 ignored fragment bits defined as being reserved
2817667 IPv6 fragment header verification needs attention
2817098 fr_getrulen() finds the wrong rule
2817096 fr_rulen is unused
2741019 Lingering states (Established/Listen - 5/0) in state table
2702887 use of PBR/fastroute causes panic with ipv6
2671913 regression test in7 fails to execute
2598625 parsing empty config file results in an error
2698656 test parsing empty config files
2597956 not all pointers in a clone are reset
2543934 nat_t gets assigned ifp too early
2535795 No need to always bump fr_ref
2535778 Bad IPv6 packets droped by default
2031730 4.1.31 Nat drops fragmented packets after the first
2214661 ipf does not handle IPv6 fragments
2473273 NAT removed before RST/ICMP sent
2216500 fin_state serves no purpose
2424604 adding random MD5 data causes panic
2304435 Ineffecient lock usage in logging
2216491 fin_nat serves little purpose
2055619 duplicating a free-d packet will fail
2042949 Excessive locking when creating nat_t
2035610 nat_update does not need to get locks
2214658 ipf mostly ignores locking in NetBSD
1979427 Memory leak in user utilities - token never freed (rel br)
* SunOS4 does not have a curproc, but it does have u.
* The fix for 2020447 generated random port numbers but not within the
  range specified in the map rule.  Add in a regression test to verify
  that the "random" part works.
2020447 NAT can undo name server random port selection
1988795 NetBSD does not build with kernel malloc stats
1988782 fr_movequeue can take a short cut
1988669 first nat creation failure prevents further success
1988668 hostmap searching does not work properly
* on some 64bit architectures (such as alpha), the addrfamily_t is packed
  differently, throwing off the calculations for adf_len
* one too many READ_ENTERs in ip_sync code.
* clean up fr_fastroute a little by removing some #ifdefs and pushing the
  code around a bit to use the same variables (NetBSD)
* more recent NetBSDs use VOP related macros differently
2009-08-19 08:28:39 +00:00
rmind d193f80bcb Improve mqueue regression test. 2009-07-19 02:31:19 +00:00
rmind 94cea1184f Regression test for POSIX message queue priority handling. 2009-07-13 02:55:42 +00:00
jmmv 92ed1fa069 Remove the kernel and ipf tests that have been converted to atf and now
live in the tests subtree.
2009-02-20 21:45:47 +00:00
ad 24bd77dd94 A threaded benchmark for namei() 2009-01-29 21:24:19 +00:00
ad 5c71c34a14 - If given an arg, don't bind to curcpu.
- Set line buffering on stdout.
2009-01-28 21:52:49 +00:00
christos 466a16a118 fix time_t formats 2008-12-29 05:56:02 +00:00