Go to file
christos 27459b53fd PR/54435: Adjust for new kernel behavior of soreceive(9) clearing MSG_OOB
when receiving the oob message. This made SIOCATMARK return always 0 since
the oob message was cleared. Instead, use recvmsg(2) to determine if
the message was oob or not. This works with both the old and new kernel
and it is not racy.
2020-05-03 16:32:16 +00:00
bin Stop forcing the -e option off in the subshell createds for a command 2020-04-23 09:01:33 +00:00
common Use the hotpatch framework when patching _atomic_cas_64. 2020-05-01 08:32:50 +00:00
compat
crypto Fix the detection of KERN_ARND by OpenSSL. 2020-04-30 10:59:02 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib bump caused by the module debug sets 2020-05-03 13:29:04 +00:00
doc Note Xen PVH support 2020-05-02 17:11:25 +00:00
etc Add a place for the debug modules. 2020-05-01 22:26:11 +00:00
external Remove hack for amiga introduced for 68060: 2020-05-03 07:10:27 +00:00
extsrc
games Simplify, little KNF 2020-04-30 12:40:11 +00:00
include Remove the static_assert() fallback for pre-C11 and pre-C++11 2020-04-17 15:22:34 +00:00
lib Even more trailing whitespace 2020-05-03 15:29:22 +00:00
libexec Don't play #define games with extern, just have a separate list to avoid commons 2020-04-23 00:03:40 +00:00
regress We have USER_LDT tests in ATF, remove the ones from regress. 2020-04-22 16:24:15 +00:00
rescue
sbin Sort includes. 2020-04-30 03:27:15 +00:00
share Bump date. 2020-05-03 04:06:15 +00:00
sys return EOPNOTSUPP for unknown IP protocol (same as unknown ethernet type), 2020-05-03 16:10:26 +00:00
tests KMODULEDIR is no longer absolute (${DESTDIR} is added to it by the system 2020-05-01 22:24:18 +00:00
tools tools: Build tic with full fat terminfo 2020-04-05 12:31:39 +00:00
usr.bin PR/54435: Adjust for new kernel behavior of soreceive(9) clearing MSG_OOB 2020-05-03 16:32:16 +00:00
usr.sbin lineno, states and allocated should be owned by the parser 2020-04-23 00:29:00 +00:00
build.sh
BUILDING
Makefile
Makefile.inc
README.md
UPDATING

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