Go to file
rin f68301ec40 Let trigger_fpe() cause floating-point divide by zero exception, instead of
integer one, which is not trapped for powerpc and aarch64.

Note that it is checked in lib/libc/gen/t_siginfo whether integer divide by
zero is interpreted as SIGFPE or not.

Now, all *_crash_fpe tests pass for powerpc, and nothing changes for amd64
at least.
2020-06-17 08:42:16 +00:00
bin Fix typo 2020-06-11 13:08:07 +00:00
common remove error(1) comments 2020-06-15 00:46:00 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto fix pasto (noted by Viktor Duchovny) 2020-06-17 03:22:06 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Add vmem_xfreeall(), which frees all allocated regions in the specified arena. 2020-06-16 01:29:00 +00:00
doc Note import of dhcpcd-9.1.2 2020-06-15 17:04:03 +00:00
etc Rename blacklist -> blocklist 2020-06-15 01:57:29 +00:00
external Add --timestamp for reproducible builds. 2020-06-16 00:47:21 +00:00
extsrc
games A revision of "The purpose of computing is insight, not numbers" by 2020-06-15 12:57:51 +00:00
include Remove bogus tests for 64-bit i386 and SuperH 2020-06-04 11:21:16 +00:00
lib Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users 2020-06-17 00:16:21 +00:00
libexec R_ARM_TLS_TPOFF32 needs to adjust the existing value, not blindly 2020-06-16 21:02:20 +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 Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users 2020-06-17 00:16:21 +00:00
share Add vmem_xfreeall(), which frees all allocated regions in the specified arena. 2020-06-16 01:29:00 +00:00
sys <sys/extent.h> not needed here. 2020-06-17 07:01:02 +00:00
tests Let trigger_fpe() cause floating-point divide by zero exception, instead of 2020-06-17 08:42:16 +00:00
tools nbmake bootstrap: be quieter if MAKEVERBOSE==0 2020-06-13 11:39:43 +00:00
usr.bin make(1): fix performance problem in specially crafted :M modifier 2020-06-15 14:46:28 +00:00
usr.sbin Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users 2020-06-17 00:16:21 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
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 blocklist migration has been automated. 2020-06-15 21:52:03 +00:00
build.sh Nix trailing whitespace. 2020-06-13 18:00:29 +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