Go to file
mrg f40d255452 crashme: a framework to test kernel faults.
so far, only a basic panic() and null deref nodes are added.
with options DEBUG, one can now use:

   # sysctl -w kern.crashme_enable=1

   # sysctl -w kern.crashme.panic=1
   # sysctl -w kern.crashme.null_deref=1

to trigger a crash.  crashme_enable must be set to 1 before any
of the nodes will be writeable.

supports dynamic additional/removal of crashme nodes.


(obsoletes kern.panic_now, which will be removed later.)
2019-01-09 04:01:20 +00:00
bin PR/53837: Michael Scholz: src/bin/csh/func.c from current has a superfluous 2019-01-06 01:22:50 +00:00
common add support to detect the 3 vmware GPT partition types: 2018-11-06 04:04:33 +00:00
compat don't build kernel grovelling tools as n64 on sgimips - we don't actually have 2018-09-20 02:51:21 +00:00
crypto new config file 2019-01-07 15:43:17 +00:00
dist/pf Add a deprecation note in each of the PF man pages (instead of just pf.4), 2018-08-17 12:36:53 +00:00
distrib increase IMAGESIZE slightly to avoid running out of space when doing some sysinst options 2019-01-07 01:39:26 +00:00
doc update groff (Steffen Nurpmeso) 2019-01-08 19:17:10 +00:00
etc sync with most recent (no changes) 2019-01-05 21:47:40 +00:00
external PR/53845: Anthony Mallet: "bad cookie" in authoritative DNS server since bind 2019-01-08 22:19:28 +00:00
extsrc
games More appropriate line-wrapping for previous. 2018-12-15 22:00:16 +00:00
include Provide global variables with C linkage, otherwise they will create 2019-01-08 17:35:42 +00:00
lib Handle REPN. FreeBSD has a "repn movs", which is a bit unusual, but doesn't 2019-01-08 07:34:22 +00:00
libexec remove reference to deleted -r option. fixes PR#53840 from J. Lewis Muir. 2019-01-08 06:04:29 +00:00
regress Don't test call gates, they are not supported anymore. 2017-08-30 15:46:19 +00:00
rescue Retire lmcconfig here too. 2018-12-12 10:25:29 +00:00
sbin Avoid crash when no algorithm is specified in parameter file. 2018-12-30 12:05:48 +00:00
share Add Bluetooth related terms: ACL, LMP, LELL, SCO 2019-01-07 18:48:07 +00:00
sys crashme: a framework to test kernel faults. 2019-01-09 04:01:20 +00:00
tests This now works too. 2019-01-08 00:22:11 +00:00
tools use MACHINE_CPU for elf2aout 2019-01-02 13:29:22 +00:00
usr.bin Remove a format character from a non-format string. 2019-01-08 08:22:20 +00:00
usr.sbin Actually, according to the grammar the square brackets in the "tcp 2019-01-08 11:36:10 +00:00
BUILDING regen 2018-07-29 20:53:41 +00:00
Makefile .WAIT for tools to complete. 2018-11-11 07:43:35 +00:00
Makefile.inc Re-add files that were accidentally deleted in my previous commit. 2018-05-02 07:34:44 +00:00
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING Note that we need to clean objdir for the OpenSSL update. 2018-09-24 13:18:35 +00:00
build.sh add build libs (undocumented). 2018-12-30 23:19:40 +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