Go to file
roy 69c88affdd carp: Don't set a link level address if vhid == -1
Link level address for carp is dervied from vhid.
Until vhid is set, carp is useless, so don't give it a link level address
until a vhid is set.

This fixes recent test case breakage where carp was fixed to actually
print the ethernet address set by default. Note that neither carp nor
the test case itself was actually broken as the error is the common
ATF net code assuming that a cloned interface's link level address is
unique upon creation.
2020-10-14 13:43:56 +00:00
bin undo previous for 'r' and 'e' modifiers; they should no go further than 2020-10-02 17:33:13 +00:00
common Use the correct barriers - all of membar_{sync,producer,consumer} have 2020-10-13 21:22:12 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto allow netpgp to absorb gpg2 subpkt 33 for list/enc/decrypt rsa keys 2020-10-14 05:19:41 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci 2020-10-14 10:19:10 +00:00
doc Document CPUFLAGS here (it's already documented in share/mk/bsd.README). 2020-10-13 01:59:32 +00:00
etc Make "rtsol" functional again. 2020-10-11 22:38:48 +00:00
external Fix previous; do not override SCRIPTS so that ctwm_app_menu gets installed. 2020-10-13 09:10:38 +00:00
extsrc
games worms(6): Use a reasonable default delay for non-1980s terminals. 2020-10-14 07:32:53 +00:00
include - remove bitypes.h fossil 2020-10-10 19:51:48 +00:00
lib Decorate the aarch64 signal trampoline with CFI attributes easing unwinding 2020-10-13 01:59:55 +00:00
libexec Correct r_ldbase valuse 2020-09-22 00:41:27 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin ifconfig: go back to using direct ioctls rather than data from getifaddrs 2020-10-14 13:37:14 +00:00
share vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci 2020-10-14 10:19:10 +00:00
sys carp: Don't set a link level address if vhid == -1 2020-10-14 13:43:56 +00:00
tests Argument for AUDIO_WSEEK ioctl is u_long, not int. 2020-10-13 09:00:17 +00:00
tools Correct target directory; src/external/gpl3/gdb.old not gdb. 2020-10-09 23:48:42 +00:00
usr.bin Limit output of export tests to POSIX compatible env vars 2020-10-10 19:25:19 +00:00
usr.sbin Remove dead code 2020-10-14 13:20:27 +00:00
build.sh add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +00:00
BUILDING Document CPUFLAGS here (it's already documented in share/mk/bsd.README). 2020-10-13 01:59:32 +00:00
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +00:00
Makefile.inc
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING note mpfr needs a cleaning. 2020-09-26 08:02:35 +00:00

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git