Go to file
msaitoh 2d958b1323 Use unsigned to avoid undefined behavior in scsipi_{get,put}_tag().
Found by kUBSan.
2019-09-19 03:37:31 +00:00
bin It is not just root, it is device read access (kre) 2019-09-18 23:43:23 +00:00
common Traiing whitespace. 2019-09-16 12:40:40 +00:00
compat make all lines look the same, and put one arch per line. 2019-06-13 21:17:54 +00:00
crypto Prevent DoS from hosts trying to eat all the sshd slots by marking timeouts 2019-09-07 13:45:30 +00:00
dist/pf sync with reality 2019-08-13 09:48:24 +00:00
distrib enable building modules for if_aue(4), if_cdce(4), if_cue(4), 2019-09-17 07:36:51 +00:00
doc Update expat entry 2019-09-16 06:52:02 +00:00
etc Create the character device for spiflash, in addition to the block device. 2019-09-19 01:44:48 +00:00
external Remove unused definitions, as they are architecture-specific. 2019-09-16 11:50:55 +00:00
extsrc
games End sentence with a dot. 2019-09-02 08:26:00 +00:00
include remove comment for incomplete x/open impl (kamil) 2019-09-15 23:52:59 +00:00
lib Sort errors; remove two more duplicates. 2019-09-18 04:57:53 +00:00
libexec Return the ELF loader dl_phdr_info information for dl_iterate_phdr(3) 2019-09-15 13:40:46 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin route(8): Show addres for RTM_LOSING 2019-09-02 00:30:01 +00:00
share MKZFS is no longer the default on i386; it was disabled in 2015 in 2019-09-16 12:57:10 +00:00
sys Use unsigned to avoid undefined behavior in scsipi_{get,put}_tag(). 2019-09-19 03:37:31 +00:00
tests Remove the incomplete define. 2019-09-15 23:39:13 +00:00
tools Fix bugurl. PR toolchain/48712 2019-09-09 13:57:13 +00:00
usr.bin Deduplicate some code I'd duplicated, shorten a couple of staircases, 2019-09-13 17:32:29 +00:00
usr.sbin Add support for additional install step directives to enable using 2019-09-19 01:25:29 +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 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 UPDATING note about radeon firmware image mistake. 2019-09-03 15:38:52 +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

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