Go to file
riastradh 5af49f98fe Teach `rndctl -L' to update the seed file, not just delete it.
The seed file is updated by entering the old seed into the system and
then hashing the old seed together with data from /dev/urandom, and
writing it atomically with write-to-temporary/rename-to-permanent.

This way, interruption by crash or power loss does not obliterate
your persistent entropy (unless it causes file system corruption).
2019-12-06 14:43:18 +00:00
bin Avoid arithmetics on strings. 2019-10-29 16:19:59 +00:00
common Fix warning that appears when compiling in kernel. 2019-12-05 19:03:39 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto PR/54740: Izumi Tsutsui: Disable cryptoengine unavailable message when 2019-12-05 17:52:06 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib Copy -current to 9.0, this has diverged (macppc 601 support and others, 2019-12-05 10:25:41 +00:00
doc Fix date sorting order of previous checkin 2019-12-05 16:51:06 +00:00
etc Undo loading pciverbose module by default. 2019-12-05 22:02:29 +00:00
external Avoid redefining uint_t &c. if compat_defs.h already defines them. 2019-12-05 03:21:42 +00:00
extsrc
games Introspection. From "Surely You're Joking, Mr. Feynman!" 2019-12-03 22:42:29 +00:00
include Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
lib Note that the size returned by modctl(2) and displayed by modstat(8) is 2019-12-04 23:35:36 +00:00
libexec remove some XXX comments. one isn't relevant, and the other two 2019-12-06 05:53:20 +00:00
regress Redo previous differently. 2019-11-23 20:37:49 +00:00
rescue Remove ldconfig from /rescue, and mark it MI obsolete. 2019-10-02 09:45:10 +00:00
sbin Teach `rndctl -L' to update the seed file, not just delete it. 2019-12-06 14:43:18 +00:00
share Enable DTrace on aarch64 2019-12-04 11:47:52 +00:00
sys Clear the allocated memory in hyperv_dma_alloc(). 2019-12-06 12:46:06 +00:00
tests Log PID.LWP in t_ptrace_wait* tests for enabled debug 2019-12-06 01:09:50 +00:00
tools Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
usr.bin Fix signed/unsigned comparison 2019-12-04 14:09:47 +00:00
usr.sbin PR/54730: Izumi Tsutsui: Use /var/db/obsolete/<set> to remove obsolete rc.d 2019-12-04 04:45:42 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +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 Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING catch-up with more ports switched to gcc-8 2019-11-18 15:42:26 +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