Go to file
christos 39cda3989e Implement kvm_write() for dump files. We map the file privately so that
changes don't get propagated back, and then write to the private buffer.
This is not useful yes, but it is simple enough to make pread use the buffer
if it is available.
2020-04-28 00:12:01 +00:00
bin Stop forcing the -e option off in the subshell createds for a command 2020-04-23 09:01:33 +00:00
common Use the hotpatch framework for LFENCE/MFENCE. 2020-04-26 14:49:17 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto merge conflicts 2020-04-24 19:37:09 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Add missing futex tests. 2020-04-26 21:05:36 +00:00
doc Note Xen PV drivers under HVM guests 2020-04-27 18:08:25 +00:00
etc It is KERNEL_DIR 2020-04-27 01:07:27 +00:00
external mips and hppa have switched. 2020-04-27 03:29:57 +00:00
extsrc
games buffnum is shared between subs.c and fancy.c 2020-04-22 23:36:26 +00:00
include Remove the static_assert() fallback for pre-C11 and pre-C++11 2020-04-17 15:22:34 +00:00
lib Implement kvm_write() for dump files. We map the file privately so that 2020-04-28 00:12:01 +00:00
libexec Don't play #define games with extern, just have a separate list to avoid commons 2020-04-23 00:03:40 +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 make umount NAME= work 2020-04-23 04:21:13 +00:00
share Add support for Realtek RTS522A 2020-04-27 23:06:34 +00:00
sys Fix races in aborted futex waits. 2020-04-27 23:54:43 +00:00
tests Add a NetBSD native futex implementation, mostly written by riastradh@. 2020-04-26 18:53:31 +00:00
tools tools: Build tic with full fat terminfo 2020-04-05 12:31:39 +00:00
usr.bin document the SYSV ${VAR:old=new} corner cases. 2020-04-27 20:03:08 +00:00
usr.sbin lineno, states and allocated should be owned by the parser 2020-04-23 00:29:00 +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 note GCC 8.4 may need some cleaning. 2020-03-11 21:07:40 +00:00
build.sh Allow path components that start with ~ 2020-03-28 20:13:13 +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