Go to file
2020-02-23 02:06:01 +00:00
bin Typo: s/./,/ 2020-02-20 18:24:20 +00:00
common common/lib/libc/stdlib: Fix possible signed integer overflow. 2020-02-22 14:47:29 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto use unsigned to avoid undefined behavior in shifts (nisharg joshi) 2020-02-16 15:03:22 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib Add rw_lock_op(): return either RW_READER or RW_WRITER for a lock that is 2020-02-22 21:24:44 +00:00
doc bsd-family-tree 2020-02-22 23:40:05 +00:00
etc Revert unrelated changes to prior 2020-02-22 11:55:43 +00:00
external Use C++ syntax for defining types, not C one. 2020-02-23 02:06:01 +00:00
extsrc
games Andrew Weatherall's tattoo and a track on A Pox On The Pioneers album. 2020-02-22 19:03:04 +00:00
include Correct C99 / C++11 feature testing. Document remaining missing symbols. 2020-02-22 22:47:35 +00:00
lib Avoid undefined behavior in fread(3) 2020-02-22 22:02:46 +00:00
libexec Specify NOLIBCSANITIZER for the ELF loader 2020-02-09 09:11:59 +00:00
regress Redo previous differently. 2019-11-23 20:37:49 +00:00
rescue 1. Remove all the special handling of variables (-d -p -P -s -S) that 2019-12-29 18:26:16 +00:00
sbin Fix date. 2020-02-23 00:14:31 +00:00
share Sync with FreeBSD r358254 2020-02-22 23:38:04 +00:00
sys no need to call config_init_mi() in rumpdev any more - rump_init() now calls 2020-02-23 01:53:03 +00:00
tests Update the t_modctl test to ensure that static evcnts are added. 2020-02-22 19:54:34 +00:00
tools LLVM doesn't use term.h, so don't check for it when probing here either. 2020-02-21 15:00:44 +00:00
usr.bin Add Ken Kesey 2020-02-22 23:17:59 +00:00
usr.sbin Remove unused "rel" global variable and make the -r option a no-op. 2020-02-19 21:51:21 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +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 catch-up with more ports switched to gcc-8 2019-11-18 15:42:26 +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