Go to file
maxv d2ac291e7d Change the way root_owner works: consider the calling process as root_owner
not if it has root privileges, but if the /dev/nvmm device was opened with
write permissions. Introduce the undocumented nvmm_root_init() function to
achieve that.

The goal is to simplify the logic and have more granularity, eg if we want
a monitoring agent to access VMs but don't want to give this agent real
root access on the system.
2019-10-27 20:17:36 +00:00
bin remove masking and cast (requested by kre@) 2019-10-14 13:34:14 +00:00
common Remove htonll and ntohll as symbols from aarch64 libc. 2019-10-12 09:22:36 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto - factor out common code 2019-10-19 15:55:50 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib make this a bit bigger to prepare for gcc-8 2019-10-27 02:07:42 +00:00
doc libc: Changed the iconv(3) function signature to the POSIX variation 2019-10-24 19:28:47 +00:00
etc Add the "nvmm" group, and make nvmm_init() public. Sent to tech-kern@ a few 2019-10-27 07:08:15 +00:00
external add some more machines to the 32 bit part 2019-10-26 18:36:25 +00:00
extsrc
games adjust a fallthru comment and add a missing break. 2019-10-13 07:42:57 +00:00
include Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
lib Change the way root_owner works: consider the calling process as root_owner 2019-10-27 20:17:36 +00:00
libexec bump sizes 2019-10-15 18:29:32 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue Remove ldconfig from /rescue, and mark it MI obsolete. 2019-10-02 09:45:10 +00:00
sbin Switch files copyright Reinoud Zandijk from BSD 4 clause to BSD 2 clause. 2019-10-16 21:52:22 +00:00
share Add support for Nuvoton NCT5104D GPIO chips, as found on PC Engines APU 2019-10-25 17:39:56 +00:00
sys Change the way root_owner works: consider the calling process as root_owner 2019-10-27 20:17:36 +00:00
tests Add the "nvmm" group, and make nvmm_init() public. Sent to tech-kern@ a few 2019-10-27 07:08:15 +00:00
tools arm needs more files 2019-10-24 03:19:14 +00:00
usr.bin Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
usr.sbin In non-MBR specific files, #ifdef all tests for MBR for architectures 2019-10-26 07:32: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
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
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING Add note for GCC 8 builds (see PR 54644) 2019-10-23 16:26:42 +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