Go to file
maxv 516d295318 Fix locking: it is fine if the lock is already key_so_mtx, this can happen
in socketpair. In that case don't take it.

Ok ozaki-r@

Reported-by: syzbot+901e2e5edaaaed21c069@syzkaller.appspotmail.com
2019-02-26 06:52:34 +00:00
bin DEBUG mode only change. When pretty-printing a word from a parse 2019-02-14 13:27:59 +00:00
common Export atomic_cas_32_ni in a similar manner to its 64-bit counterpart. 2019-02-20 05:25:12 +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 - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Register missing CAT page spi.0 in distribution files 2019-02-25 10:25:40 +00:00
doc new bind 2019-02-24 20:04:01 +00:00
etc Add ./usr/include/dev/spi 2019-02-24 02:29:09 +00:00
external Properly extract the emulation path from the linker script template. 2019-02-25 19:55:35 +00:00
extsrc
games Shorter than a season - The Soul Of A New Machine 2019-02-24 12:34:00 +00:00
include Provide global variables with C linkage, otherwise they will create 2019-01-08 17:35:42 +00:00
lib Fix warn macro usage. 2019-02-24 20:20:18 +00:00
libexec - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +00:00
regress Don't test call gates, they are not supported anymore. 2017-08-30 15:46:19 +00:00
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin Make "gpt migrate" work for disks with FAT32 and NTFS partitions 2019-02-10 10:35:51 +00:00
share Add explicit cross-references to pserialize(9) for the sections about 2019-02-25 21:43:00 +00:00
sys Fix locking: it is fine if the lock is already key_so_mtx, this can happen 2019-02-26 06:52:34 +00:00
tests Fix build of t_kcov 2019-02-25 10:23:01 +00:00
tools pull out libstdc++ config.h as-is, for gnu.ver processing. 2019-02-23 06:54:45 +00:00
usr.bin Add an option to supress the vertical space between menu title and 2019-02-25 20:47:37 +00:00
usr.sbin ifwatchd(8): remove lingering references to dhclient(8). In this case, 2019-02-17 20:50:25 +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 add a quick note about gcc 7 likely causing update build failures. 2019-02-08 09:57:01 +00:00
build.sh add aliases for evbarm without saying 'earm': 2019-02-08 02:05:32 +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