Go to file
kamil 92253c7761 Add PAXCTL_FLAG rules for MKSANITIZER
Add per-program rules to disable ASLR for ASan, TSan and MSan in all
sanitized programs. This flag is not needed for other supported sanitizers.

Without this change, sanitized init(8) dies early on startup.

Approach originally suggested by <joerg>
2019-08-17 00:14:48 +00:00
bin Install manual pages for tar and cpio only if ${MKBSDTAR} == "no" 2019-08-15 21:05:16 +00:00
common ARMv6KZ has been misspelled by GCC since forever, but clang only 2019-08-02 12:07:24 +00:00
compat make all lines look the same, and put one arch per line. 2019-06-13 21:17:54 +00:00
crypto ARMv6KZ has been misspelled by GCC since forever, but clang only 2019-08-02 12:07:24 +00:00
dist/pf sync with reality 2019-08-13 09:48:24 +00:00
distrib Remove list-portmasters.pl script. 2019-08-15 21:12:16 +00:00
doc Recent rasops(9) changes have been pulled up to netbsd-9. 2019-08-15 13:33:15 +00:00
etc Add LLVM sanitizers in the MKLLVM=yes build 2019-08-14 01:42:08 +00:00
external Set NODEBUG for LLVM sanitizers 2019-08-16 23:07:20 +00:00
extsrc
games The mother of all demos 2019-07-26 07:41:22 +00:00
include Sync with 2019b (field name change) 2019-07-03 15:49:21 +00:00
lib Rollback directory filehandle screening for FUSE lock operations 2019-08-10 07:08:11 +00:00
libexec telnetd: Stop defining the same variables concurrently in bss and data 2019-08-15 01:15:21 +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 Whitespace fix. 2019-08-16 10:33:17 +00:00
share Add PAXCTL_FLAG rules for MKSANITIZER 2019-08-17 00:14:48 +00:00
sys From FreeBSD: 2019-08-16 15:24:09 +00:00
tests Adapt tests/kernel/t_subr_prf for MKSANITIZER 2019-08-15 08:46:09 +00:00
tools Bring back two lines deleted by accident. From Kamil Rytarowski. 2019-06-22 14:40:33 +00:00
usr.bin Explicitly link against libpthread and liblzma to make static linking 2019-07-28 12:44:36 +00:00
usr.sbin Never trust a compiler that predefines i386 as 1 - do the symbol name 2019-08-15 19:53:01 +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 Use the generated "postinstall" in the objdir for postinstall-check 2019-06-14 09:12:42 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING Note update hickup build issue for uefi boot. 2019-07-27 07:55:18 +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