Commit Graph

8814 Commits

Author SHA1 Message Date
christos
465626063e fix the build 2020-06-27 18:03:52 +00:00
jruoho
7725c11dd6 Add also a test that writes random garbage to every ifconfig(8) option that
takes parameters. Based on quick testing, iwn(4) and wm(4) pass, but
urtwn(4) panics. Use at your own risk; in some cases, it may be possible
that horrors are written directly to the hardware.
2020-06-27 13:53:43 +00:00
jruoho
14dd606bd8 Add t_t_mbtowc. 2020-06-27 10:15:50 +00:00
jruoho
f60c53b495 Move the test for mktemp(3) to the right place. 2020-06-27 09:45:57 +00:00
jruoho
313072e773 Add a simple test case that writes random garbage to (almost) every sysctl node.
This test reproduced already at least five unique panics in a few quick runs.
The test is skipped by default as it is not likely safe even without the panics.
2020-06-27 08:50:46 +00:00
jruoho
b61f0fee17 Add a basic test for enabling/disabling network interface capabilities. 2020-06-27 06:57:44 +00:00
rin
77128b9fa3 Remove stale comments. 2020-06-27 05:39:07 +00:00
jruoho
78bd8e59f5 Add a test case for PR kern/53767. 2020-06-27 05:20:34 +00:00
jruoho
dc018d6b62 Add test cases for different 802.11 options. These include cases for
PR kern/35045, PR kern/45745, and PR kern/55424.
2020-06-27 05:07:07 +00:00
jruoho
f5fa72a2a9 Test creating thousands of bridge(4)'s. Unlike with tap(4) (PR kern/55417),
this test succeeeds. It is even possible to have the ultimate ifconfig(8)
output with more than 65,000 devices.
2020-06-25 18:30:42 +00:00
jruoho
9611465bb1 Verify that PR kern/52150 is no longer present. 2020-06-25 17:08:32 +00:00
jruoho
2a70c17495 Add a test case for PR kern/52744, which no longer appears to be present. 2020-06-25 16:16:48 +00:00
jruoho
0f5766374a Add a test case for kern/52771. 2020-06-25 15:41:40 +00:00
jruoho
77e941ddd2 Add a test case for PR kern/53410. 2020-06-25 15:01:35 +00:00
jruoho
5c3bd061a3 Add test cases for PR kern/53546 and PR kern/55417. Both are skipped as
both reproduce panics.
2020-06-25 14:24:45 +00:00
jruoho
55d0ca692c Check that fstat(1) works (cf. PR kern/55407). 2020-06-24 10:05:07 +00:00
jruoho
3f1bde296f Add a few checks for stdethers(8) and stdhosts(8). 2020-06-24 09:47:17 +00:00
jruoho
d60b9b731a Add few basic tests for cpuctl(8). These cover PR kern/45117 and PR bin/54220.
Though, the former is not explicitly tested as it hangs the system.
2020-06-24 09:32:41 +00:00
jruoho
27ee1d2935 Add a test case for bin/54620. 2020-06-24 09:21:43 +00:00
jruoho
6ecb6de692 Add a test case for PR bin/55389. 2020-06-24 09:11:26 +00:00
rin
5d002ee84c Fix prefix for previous. 2020-06-23 21:34:44 +00:00
maxv
61584588ce kernel_sanitizers.7 2020-06-23 16:08:46 +00:00
thorpej
2d473240cd Add evbmips installboot board data. 2020-06-21 17:15:51 +00:00
thorpej
4abc8d232e Add vmem_xfreeall(), which frees all allocated regions in the specified arena.
All outstanding allocations MUST have been performed with vmem_xalloc() or
else the behavior is undefined.  (This also implies that the arena must also
not have a quantum cache; note this in the documentation.)
2020-06-16 01:29:00 +00:00
christos
f0e4e4213c Add compatfile to libblacklist 2020-06-15 23:41:55 +00:00
christos
2f0bfbf344 Rename blacklist -> blocklist 2020-06-15 01:57:29 +00:00
christos
6241e0b790 bump libmagic 2020-06-15 00:39:03 +00:00
roy
b05648aa26 Remove in-kernel handling of Router Advertisements
This is much better handled by a user-land tool.
Proposed on tech-net here:
https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html

Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now
needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl.

Compat is fully provided where it makes sense, but trying to turn on
RA handling will obviously throw an error as it no longer exists.

Note that if you use IPv6 temporary addresses, this now needs to be
turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).
2020-06-12 11:04:44 +00:00
jmcneill
e6ecdc649f Build i.MX7D dtbs for armv7 2020-06-10 18:53:31 +00:00
kamil
4228f24a2e Build and install llvm-symbolizer for MKLLVM=yes
llvm-symbolizer is an alternative for GNU addr2line(1), heavily used by the
LLVM sanitizers.

Do not install it as tools as it is not necessary as of today in that
stage.
2020-06-09 21:50:32 +00:00
maxv
3e534f26ae install fault.h 2020-06-08 16:36:18 +00:00
rin
b7016d1c78 Remove t_proplib.debug from debug/shl.mi, which is built regardless of MKPIC,
and has been moved into debug/mi.
2020-06-08 05:05:43 +00:00
rin
fe5c2a10ab For /usr/libdata/debug/usr/tests/lib/libprop
- Obsolete t_basic.debug and
- Add t_proplib.debug
2020-06-08 02:54:41 +00:00
thorpej
87f84208ec One more libprop-related cat pages fixup. 2020-06-07 14:55:13 +00:00
martin
f12e2cb828 Fix debug sets for libprop changes 2020-06-07 10:24:50 +00:00
thorpej
a792b8435e Improvements to the problib(3) API:
==> Provide a much more complete set of setters and getters for different
    value types in the prop_array_util(3) and prop_dictionary_util(3)
    functions.

==> Overhaul the prop_data(3), prop_number(3), and prop_string(3) APIs
    to be easier to use and less awkwardly named,  Deprecate the old
    awkward names, and produce link-time warnings when they are referenced.

==> Deprecate mutable prop_data(3) and prop_string(3) objects.  The old
    APIs that support them still exist, but will now produce link-time
    warnings when used.

==> When the new prop_string(3) API is used, strings are internally
    de-duplicated as a memory footprint optimization.

==> Provide a rich set of bounds-checked gettter functions in and a
    corresponding set of convenience setters in the prop_number(3) API.

==> Add a new prop_bool_value(3) function that is equivalent to
    prop_bool_true(3), but aligned with the new "value" routines in
    prop_data(3), prop_string(3), and prop_number(3).
2020-06-06 21:25:59 +00:00
roy
08dd032c7f dhcpcd: re-obsolete the chroot sub dirs
Ordering matters - dhcpcd needs to be fixed before obsolete for postinstall
2020-06-04 14:08:16 +00:00
rin
cc266ebf05 Add missing compat debug symbols only available for llvm && dtrace. 2020-06-03 02:55:17 +00:00
roy
475e97d322 dhcpcd: delete the obsolete chroot paths
postinstall will take care of it.
2020-06-02 19:15:15 +00:00
roy
e6c8f49786 Revert prior - mark dirs as obsolete.
Thanks wiz@
2020-05-31 13:07:50 +00:00
roy
79d62731fd We don't install any chroot subdirs for dhcpcd anymore 2020-05-31 13:00:48 +00:00
christos
e4bfa5b301 Make libuv private, requested by joerg@ 2020-05-30 20:47:58 +00:00
christos
dc08c496a4 bump openssh 2020-05-28 17:06:24 +00:00
christos
7578ae9051 new bind+libuv 2020-05-24 19:47:59 +00:00
skrll
0a6d4780d8 imx6 kernels are part of GENERIC now 2020-05-23 13:24:07 +00:00
rin
3886d0713a Add one more auto-generated file. 2020-05-22 23:59:01 +00:00
rin
b4dc77fc88 Regen 2020-05-22 23:58:22 +00:00
skrll
9b07d9ea0d Sort 2020-05-22 15:55:51 +00:00
christos
75ab167c58 put back extattr.3 2020-05-19 19:15:06 +00:00
jdc
e738d60314 Add tadpmu to Makefile and set list. 2020-05-19 06:26:37 +00:00