Go to file
msaitoh 36e69cabf7 Fix wrong calculation found by kUBSan. OK'd by jmcneill.
The output was:
    UBSan: Undefined Behavior in ../../../../arch/arm/rockchip/
    rk_cru_composite.c:86:21, unsigned integer overflow: 0 divrem 0 cannot be
    represented in type 'unsigned int'
2021-05-20 01:41:55 +00:00
bin Catch up with /bin/sh built-in echo ... if a write error occurs, 2021-05-19 22:12:36 +00:00
common memmem: remove unreachable return statement 2021-05-16 09:43:39 +00:00
compat define BFD_MACHINE_ARCH. This worked by accident before since the default 2021-04-25 18:44:04 +00:00
crypto Handle the compat builds and both the n64 and non n64 variants 2021-04-26 20:01:13 +00:00
dist/pf
distrib Add a new link-aggregation pseudo interface named lagg(4) 2021-05-17 04:07:41 +00:00
doc fix syntax 2021-05-19 16:06:13 +00:00
etc Add a new link-aggregation pseudo interface named lagg(4) 2021-05-17 04:07:41 +00:00
external restore -iremap functionality which was omitted by a merge botch, and then 2021-05-18 21:34:03 +00:00
extsrc
games Adapt to recent change to ../snake/pathnames.h 2021-05-12 15:26:44 +00:00
include Default to check-names for safety. 2021-04-30 16:07:49 +00:00
lib PR bin/56042 2021-05-16 19:42:35 +00:00
libexec don't assume host BUFSIZ is sufficent. small BUFSIZ leads to 2021-05-05 07:41:48 +00:00
regress
rescue
sbin Add a new link-aggregation pseudo interface named lagg(4) 2021-05-17 04:07:41 +00:00
share Add a new link-aggregation pseudo interface named lagg(4) 2021-05-17 04:07:41 +00:00
sys Fix wrong calculation found by kUBSan. OK'd by jmcneill. 2021-05-20 01:41:55 +00:00
tests With the (very) recent changes to printf(1), a numeric conversion from data 2021-05-19 22:45:49 +00:00
tools Add macOS High Sierra to the list of verified build platforms 2021-05-12 06:39:28 +00:00
usr.bin Changes for POSIX conformance. 2021-05-19 22:41:19 +00:00
usr.sbin Teach cpuctl(8) about some additional aarch64 feature bits. 2021-05-17 18:43:18 +00:00
BUILDING
Makefile
Makefile.inc
README.md
UPDATING
build.sh for mercurial, use the latest revision instead of limiting the output to 1 2021-05-17 17:12:12 +00:00

README.md

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