Go to file
jdolecek 8c601f6c5a fix free_all_endpoints() to not try calling free_pipe() when no endpoints
are allocated; this can happen during config_detach() after attach fails

Reported-by: syzbot+6e8a4c978358ecead03e@syzkaller.appspotmail.com
Reported-by: syzbot+b25ba25b57561144ac6e@syzkaller.appspotmail.com
2021-01-20 22:46:33 +00:00
bin df: bump man page date 2021-01-06 20:38:09 +00:00
common arm bswap32: fix fatal typo in thumb code (PR 55854) 2020-12-11 09:02:33 +00:00
compat Use the compat machinery to build "native" IPF binaries as ipfilter 2021-01-05 11:07:59 +00:00
crypto merge conflicts, regen 2020-12-10 00:33:08 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Oooppss we need another size bump 2021-01-18 03:35:11 +00:00
doc if_tap was made mpsafe in revision 1.102 2021-01-20 10:26:43 +00:00
etc lint: install custom stdbool.h, used for strict bool mode 2021-01-17 19:32:52 +00:00
external remove unset (and always printed as "(null)") gfilename variable. 2021-01-17 00:13:49 +00:00
extsrc
games - Don't allocate memory dynamically on the stack (for SSP) 2021-01-08 15:16:04 +00:00
include Correct typo in previous. 2020-12-04 23:04:58 +00:00
lib Optimize CPU and memory use of cdbw(3) 2021-01-07 14:41:50 +00:00
libexec also set -D_DEFAULT_SOURCE to open up more headers. 2021-01-17 00:15:14 +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 call it "kernel object linker module framework" not just 2021-01-17 00:17:40 +00:00
share Add note about enabling TPM and rnd(4) source. 2021-01-19 05:05:39 +00:00
sys fix free_all_endpoints() to not try calling free_pipe() when no endpoints 2021-01-20 22:46:33 +00:00
tests lint: clean up code (mostly comments) 2021-01-18 20:02:34 +00:00
tools Don't bother with gdbserver for archs that don't build it. 2020-12-05 21:27:31 +00:00
usr.bin make(1): extract DetermineKindOfConditional from Cond_EvalLine 2021-01-19 22:12:44 +00:00
usr.sbin Consistently use ACPI_SIG_SSDT 2021-01-20 15:27:51 +00:00
BUILDING Reintroduce the support of MKCATPAGES 2020-11-10 21:47:40 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +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 UPDATING: lint1/ops.c may require OBJDIR to be cleaned 2021-01-09 20:51:08 +00:00
build.sh add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +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