Go to file
riastradh d3d9ac4a56 viornd(4): Process host entropy in softint context.
Samples added to the entropy pool in hard interrupt context are only
buffered, never processed directly, and if they fill the buffer, the
sample is dropped -- this serves to encourage taking timing samples
in hard interrupt context because it's cheap, and we have no idea how
many samples we really need for full entropy so it's safer to err on
the side of `as many as we can get'.

But for viornd(4), we assume the host has full entropy so we only
need a single 32-byte sample, and we want to avoid dropping it so we
get full entropy ASAP.  Entering the sample in a soft interrupt
rather than hard interrupt achieves this.
2022-03-23 23:23:25 +00:00
bin sh: fix typo in comment 2022-02-08 20:39:59 +00:00
common mips: Membar audit. 2022-02-27 19:21:53 +00:00
compat remove obsolete files. 2021-06-18 06:34:00 +00:00
crypto merge OpenSSL-1.1.1m and OpenSSL-1.1.1n 2022-03-15 20:51:12 +00:00
dist/pf Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889. 2021-07-24 21:31:31 +00:00
distrib fix few typos in comments and output message. 2022-03-13 14:20:24 +00:00
doc new tzcode 2022-03-22 17:49:30 +00:00
etc add named plugins directory. 2022-03-06 17:51:42 +00:00
external Updated to tzdata2022agtz which is a 2022a fork with backzone zones 2022-03-20 18:22:20 +00:00
extsrc
games s/totaled/totalled/ 2021-12-31 12:42:24 +00:00
include err.h: dead once is dead enough 2022-01-06 00:16:47 +00:00
lib revert changes from 2022a for now until I figure out what's wrong. 2022-03-23 14:02:05 +00:00
libexec in bozo_init_prefs(), default to returning 1 (success) and if a 2022-03-14 05:58:36 +00:00
regress introduce a SOL_LOCAL for unix-domain socket level socket options 2021-08-08 20:54:48 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Silently ignore fstab entries with NAME= entries that cannot be resolved. 2022-03-14 18:38:11 +00:00
share hdaudio: Obsolete HDAUDIO_ENABLE_DISPLAYPORT and HDAUDIO_ENABLE_HDMI 2022-03-21 09:20:04 +00:00
sys viornd(4): Process host entropy in softint context. 2022-03-23 23:23:25 +00:00
tests getrandom(2): Fix return value checks in automatic tests. 2022-03-18 23:35:37 +00:00
tools tools: allow tools to use C99 2022-02-03 20:32:38 +00:00
usr.bin fix few typos in comments, mainly s/paramenters/parameters/. 2022-03-23 11:08:27 +00:00
usr.sbin fix few typos for word "previous(ly)" in comments. 2022-03-23 13:06:06 +00:00
BUILDING Rename: 2021-12-20 20:33:20 +00:00
Makefile Makefile: fix location of postinstall program for MAKEVERBOSE > 2 2022-03-19 14:35:13 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING s/dissallow/disallow/ 2021-12-07 21:45:31 +00:00
build.sh Don't try to install netbsd-CONFIG.debug files build with kernel= 2021-12-31 15:43:35 +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