Go to file
christos edebee1e1b Pass NOCRED instead of NULL for credentials. These routines are supposed
to be accessing system ACL's on behalf of the kernel. This code appears
to be copied from FreeBSD, but there it works because in FreeBSD NOCRED
is 0, ours is -1. I guess nobody has used system extended attributes on
NetBSD yet :-)
2020-04-12 13:12:42 +00:00
bin Don't depend on common declarations. 2020-04-03 18:11:29 +00:00
common Fixed to not use the "br" instruction. Branch Target Identification (BTI) doesn't like "br". 2020-04-11 05:12:52 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto We can only use the SHA3 assembly routines if we have VSX 2020-04-11 22:41:06 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib Add uxrcom driver for Exar XR21V141x USB serial adapters. Based in part 2020-04-12 01:10:53 +00:00
doc Correctly spell "count". 2020-04-08 04:32:14 +00:00
etc Prevent waiting for processes to exit forever by introducing _rc_kill_ntries, 2020-04-05 21:03:08 +00:00
external Fix aarch64 binutils tools build 2020-04-09 16:12:28 +00:00
extsrc
games Disks can sense vibes, DTrace confirms it. 2020-04-02 05:55:02 +00:00
include Fix depenency on common symbols in sbin. 2020-04-05 15:25:39 +00:00
lib fix tyop 2020-04-11 20:48:53 +00:00
libexec PT_GNU_RELRO segments are arranged such that their vaddr + memsz ends 2020-03-04 01:21:17 +00:00
regress Redo previous differently. 2019-11-23 20:37:49 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin adjust to work with updated dkwedge_bsdlabel.c - provide geteblk() and 2020-04-11 17:21:16 +00:00
share Add NetBSD CVS tag. 2020-04-12 02:04:12 +00:00
sys Pass NOCRED instead of NULL for credentials. These routines are supposed 2020-04-12 13:12:42 +00:00
tests Double the timeout for the bn test case; 360 seconds is no longer 2020-04-11 16:55:33 +00:00
tools tools: Build tic with full fat terminfo 2020-04-05 12:31:39 +00:00
usr.bin audioplay.1: generalize a reference to web browsers 2020-04-10 21:33:27 +00:00
usr.sbin Fix dhcpcd $DEST_DIR support 2020-04-09 15:24:31 +00:00
build.sh Allow path components that start with ~ 2020-03-28 20:13:13 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +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 GCC 8.4 may need some cleaning. 2020-03-11 21:07:40 +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