Go to file
maxv 3774168381 If we failed because we didn't encounter an endpoint, do not attempt to
read 'ed', because its value is past the end of the buffer, and we thus
perform out-of-bounds accesses.

Detected thanks to vHCI+KASAN. First bug found by USB fuzzing.

Reported-by: syzbot+59e7f6b3f353584ac810@syzkaller.appspotmail.com
2020-05-31 17:52:58 +00:00
bin fix reversed test. 2020-05-22 14:54:30 +00:00
common Fix typo in comment. 2020-05-31 12:37:07 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto delete previous and fix bug instead. 2020-05-29 12:15:30 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Revert prior - mark dirs as obsolete. 2020-05-31 13:07:50 +00:00
doc evbarm: Add install media for earmv7hf and aarch64. 2020-05-28 20:29:21 +00:00
etc dhcpcd: Empty the chroot 2020-05-31 12:58:09 +00:00
external sync with regular socket code (no effect) 2020-05-31 17:45:02 +00:00
extsrc
games Heads up on Bell patents 2020-05-18 20:19:08 +00:00
include Avoid depending on namespace pollution in stdlib.h. 2020-05-26 21:49:29 +00:00
lib Add m68k assembler version of __muldi3(). 2020-05-31 11:43:37 +00:00
libexec new binutils/gcc started emitting R_PPC_UADDR32 reloc entries, so for now 2020-05-24 02:33:11 +00:00
regress We have USER_LDT tests in ATF, remove the ones from regress. 2020-04-22 16:24:15 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Add -g to usage. 2020-05-24 21:02:12 +00:00
share Make libuv private, requested by joerg@ 2020-05-30 20:47:58 +00:00
sys If we failed because we didn't encounter an endpoint, do not attempt to 2020-05-31 17:52:58 +00:00
tests Mask NULL + 0 LLVM UBSan reports in the ATF test: t_pslist.c 2020-05-31 16:36:07 +00:00
tools tools: Build tic with full fat terminfo 2020-04-05 12:31:39 +00:00
usr.bin Update sysctl key in netstat(1) 2020-05-27 05:59:16 +00:00
usr.sbin npf-params.7: s/filer/filter/ 2020-05-31 16:32:07 +00:00
build.sh Add missing MACHINE_ARCH=earmv5hf{,eb} for evbarm. 2020-05-24 04:55:53 +00:00
BUILDING
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +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