Commit Graph

15896 Commits

Author SHA1 Message Date
jmcneill a594e6948a Add support for Mellanox 5th generation ethernet devices. This driver
supports the ConnectX-4 Lx EN, ConnectX-4 EN, ConnectX-5 EN, and
ConnectX-6 EN adapters.

Driver ported from OpenBSD.
2019-09-21 14:04:12 +00:00
mrg fe950ae3d5 add mos(4) driver for Moschip MCS7730/MCS7830/MCS7832 usb ethernet.
ported from openbsd.  usbnet version loses about 40% of code.
2019-09-20 10:34:54 +00:00
mrg 472957cfb8 enable building modules for if_aue(4), if_cdce(4), if_cue(4),
if_kue(4), if_upl(4), if_url(4), and if_urndis(4)
2019-09-17 07:36:51 +00:00
mrg e0661ac046 build exec_elf32 module on arm64. 2019-09-17 04:43:47 +00:00
mlelstv 3f34a4a221 Include mount_zfs man pages only for MKZFS builds. 2019-09-16 08:31:05 +00:00
brad 12ea0a140d Add support for legacy ZFS filesystems, specified by mountpoint=legacy
in the ZFS properties of the dataset and a simple man page for
mount_zfs.  With this, it is possible to put ZFS filesystems in
/etc/fstab as file system type zfs.

Add a rc.d script that kicks the module ZFS load mostly before
mountall runs simular to what LVM does.  This allows for any legacy
mounts to be specified in critical_local_filesystems and allows for
ZFS pools on top of cgd (probably among other things).  Introduce a
rc.conf variable called zfs which needs to be set to YES, in the usual
manor of things, to get zvols and ZFS dataset support rather then just
assume that 'zfs mount' does that in mountall.  Fix a problem in
mountall if ZFS is not compiled into the system.
2019-09-15 19:38:08 +00:00
christos 6d45a93d7f fexecve(2) related additions. 2019-09-15 16:58:11 +00:00
christos 7a5da1b9e8 add t_fcntl 2019-09-15 16:28:09 +00:00
martin c96e2cf529 Add new multiboot2.h header. 2019-09-13 05:13:54 +00:00
uki 64399a4579 Give package name to xcomp machine dependency files 2019-09-12 09:45:43 +00:00
roy 5dd6236aa5 resolvconf: Build the pdnsd subscriber
Not the most ideal, but technically it works.
2019-09-08 21:04:31 +00:00
roy c1380af7c7 resolvconf: Build the pdns_recursor subscriber
As it now does something more useful than libc.
2019-09-08 20:55:57 +00:00
christos 944c9a93f6 fix more bind bump. 2019-09-06 11:12:06 +00:00
christos 9049affe72 bump for bind 2019-09-05 19:37:46 +00:00
martin 54c2f8befb Use the non wide char libcurses version for the ramdisk to save space. 2019-09-04 12:10:00 +00:00
riastradh 1d19105e89 Revert "Add more missing firmwares."
This reverts
https://mail-index.NetBSD.org/source-changes/2019/08/27/msg108499.html
which broke the tree on case-insensitive file systems.

See discussion at
https://mail-index.NetBSD.org/source-changes-d/2019/08/27/msg011590.html
for alternatives considered.

This does _not_ simply mark the new files as `obsolete' in the set
lists, because if we marked foo.bin obsolete then on a case-
insensitive file system, then it would try to delete the FOO.bin that
we still want installed.  We'll require a manual change announced in
UPDATING and on current-users.

ok msaitoh
2019-09-03 15:34:08 +00:00
roy c977d4cfab curses(3): add curses_version()
Returns NetBSD-Curses %s
Where %s is the NetBSD version taken from sys/param.h

Discussed on tech-net@, only for ncurses compat.
2019-09-02 09:08:29 +00:00
mrg 0483faae68 document usbnet diagnostics in usbnet(4). remove all the no longer
present messages in specific drivers for the usbnet drivers.
2019-08-30 08:54:58 +00:00
rmind 0e4f0bc520 Install thmap(9) man page. 2019-08-28 21:48:14 +00:00
uki 1c8b0f6e10 syspkg naming for xcomp shl.mi 2019-08-28 12:24:03 +00:00
kamil 1a5f018b01 Enhance the support of LLVM sanitizers
Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.
Handle all this in one go.

Add bsd.sanitizer.mk to share common code used by programs and libraries.

Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.
2019-08-27 22:48:53 +00:00
msaitoh 1286d0263a Add more missing firmwares. 2019-08-27 12:45:04 +00:00
msaitoh 0745f2c8df Add missing TAHITI_vce.bin, RV770_uvd.bin, RS780_uvd.bin and R600_uvd.bin.
Fix panic on my own HP EliteDesk 705 G1 SFF. It also fixes PR kern/53988
reported by Onno van der Linden.
2019-08-26 15:35:14 +00:00
kamil a0f3a067f2 Correct the build rules of LLVM sanitizers
Fix generation of .a.syms files in LLVM sanitizers. The old rules weren't
functional and sometimes they were fatal in the build.

Add the .a.syms files to distribution sets.
These files are generated only in certain .a files in 64bit version of
sanitizers.

Correct the location of files with LLVM sanitizers. Move the LLVM sanitizer
entries from base to comp files.
2019-08-26 04:49:45 +00:00
mrg 1db21b1df3 fix MKCXX=no:
- don't build GDB
- don't build sanitizers
- don't build GCC commands
- fix some set lists
2019-08-23 08:17:26 +00:00
kamil 4ed00d96e7 Enhance MKSANITIZER support
Add i386 support for LLVM sanitizers.

Add new build phases do-sanitizer-* for building LLVM sanitizers after libs
and before other programs. This phase is important as sanitizers need
to link with libs and sanitized programs must link with sanitizer runtimes.
2019-08-23 06:38:27 +00:00
adam 4e86ae76ab Fix building compiler_rt with MKCOMPAT=no; approved by kamil@ 2019-08-22 18:15:44 +00:00
kamil 8b3baa27a8 Set NOSANITIZER in i386 ramdisk image 2019-08-22 04:25:38 +00:00
nakayama d9ec4c1e4c Remove obsolete entry for libgomp.so.1.2.
Upgrading from netbsd-8 to netbsd-9 removes this library file, but some
programs (eg. packages compiled on netbsd-8) still use it.
2019-08-21 13:48:37 +00:00
sevan 430a8c4ffa sysctl(8) is useful to have in the install env when debugging 2019-08-20 12:26:38 +00:00
uki 03076a9ebe Give syspkg name to xbase mi files 2019-08-20 12:08:17 +00:00
kamil f0720e6929 Add ATF c and c++ tests for TSan, MSan, libFuzzer
These tests require Clang/LLVM 7 or newer on NetBSD.

Contributed by Yang Zheng during GSoC 2018.
2019-08-18 20:15:58 +00:00
maya dafc44be4c Don't mark /etc/X11/conf.d entries obsolete: a user may choose to have
an entry here.
2019-08-18 07:25:54 +00:00
uwe 4f4e81219c Remove list-portmasters.pl script.
We dropped that list from "main" some time ago.
2019-08-15 21:12:16 +00:00
kamil 645a2f39f4 Ship with sanitizer/lsan_interface.h for LLVM 7
Leak Sanitizer header is already needed in the distribution for built with
Address Sanitizer (MKSANITIZER):

 - dist/llvm/utils/TableGen/TableGen.cpp
 - dist/clang/utils/TableGen/TableGen.cpp

Next version of LLVM (9.0) will ship with LSan.
2019-08-15 16:31:17 +00:00
kamil c208434299 Ship with sanitizer/lsan_interface.h for GCC 7
Leak Sanitizer is there.
2019-08-15 16:01:27 +00:00
martin 3d3e06b3da Update to newer sshd (the host key is the same as before, it already
was a rsa key). From Harold Gutch.
2019-08-14 12:08:27 +00:00
kamil f3834eb55d Add LLVM sanitizers in the MKLLVM=yes build
Enable in all the supported variations for NetBSD/amd64:

 - Address Sanitizer
 - Thread Sanitizer
 - Memory Sanitizer
 - Undefined Behavior Sanitizer
 - SafeStack
 - libFuzzer
 - XRay

This change enables the features on amd64 for start.
2019-08-14 01:42:08 +00:00
uki 92beaecdd6 Give syspkg names to xbase mi binaries and manuals 2019-08-13 12:29:00 +00:00
christos 0287e63d96 use unsigned char to prevent sign extension. 2019-08-13 08:48:07 +00:00
martin 92d9c20449 Make this at least work for ASCII strings (there are way more users
than libcurses in various crunched environments, so the original assumption
of a very limited set of inputs was wrong).
2019-08-12 09:34:53 +00:00
martin cc1c81924b Allow individual MDSETTARGETS/MDSET_SUFFIXES to define optional dependencies
between themselves.
Use that to make netbsd-RPI_INSTALL.img depend on netbsd-RPI_INSTALL.bin,
resolving the parallel build race.
2019-08-12 08:04:28 +00:00
uki 59582bcdc9 Give syspkg names to xbase shl.mi files 2019-08-12 03:51:23 +00:00
uki 7ba21873da Change xbase MD package names for more correctly 2019-08-12 03:48:32 +00:00
martin cc08412564 Back out previous, it causes build fallout like:
release ===> etc/dreamcast/cdroms/installcd
shle--netbsdelf-install: .WAIT: stat: No such file or directory
2019-08-11 17:50:26 +00:00
martin 9e5afaa384 Various suffixes for the same kernel image may depend on each
other, so .WAIT after creating one before moving on to the next.
Case at hand: evbarm/installation/instkernel:
netbsd-RPI_INSTALL.bin needs to be complete before netbsd-RPI_INSTALL.img
can be created.
Better solutions welcome...
2019-08-11 13:55:18 +00:00
gson b97dc361fa Live images built with MKDEBUG=yes fit in 2 GB since installing _pic.a
libraries was disabled in src/share/mk/bsd.own.mk 1.1150.
2019-08-11 11:00:30 +00:00
mrg 2e9fdde4cf usbnet may be stable now. document it. 2019-08-10 20:35:35 +00:00
skrll 8b3bf7f98b Build an if_udav module (untested) 2019-08-08 16:06:14 +00:00
gson 98f1629c07 The amd64 live image no longer fits in 2 GB when built with with
MKDEBUG, as releases are.  Bump the size to just under 4 GB (as in
4*10^9, not 4*2^30), the next larger common USB thumb drive size.
2019-08-07 07:59:35 +00:00