Go to file
hannken 7c7014518c Adapt zfs_netbsd_access() to ACL support. As ZFS itself only
handles VREAD, VWRITE, VEXEC and VAPPEND we use kauth_authorize_vnode()
to handle VADMIN.

From FreeBSD.
2023-03-03 10:01:31 +00:00
bin Allow (but do not require) the magic '--' option terminator in 2023-02-24 19:04:54 +00:00
common Fix two signed comparisons that were missed in the last patch. 2023-01-24 07:04:27 +00:00
compat fix various typos in comments and log messages. 2022-05-29 10:47:39 +00:00
crypto cast to the correct message structure (rt_msghdr instead of if_msghdr) 2023-02-27 13:39:09 +00:00
dist/pf
distrib lint: split platform-specific test for loss of accuracy 2023-02-27 23:07:53 +00:00
doc gdb-13.1 out 2023-02-19 18:09:45 +00:00
etc Handle missing auth file. 2023-02-18 07:51:52 +00:00
external Adapt zfs_netbsd_access() to ACL support. As ZFS itself only 2023-03-03 10:01:31 +00:00
games quiz: fix wrong usage of the <ctype.h> functions 2023-01-22 17:19:11 +00:00
include scandir(3) and alphasort(3) are part of POSIX-2008, so don't require 2022-12-28 11:51:21 +00:00
lib mremap(2): Fix example to use MAP_PRIVATE. 2023-03-01 20:08:41 +00:00
libexec Alignment. NFCI. 2023-02-10 08:12:48 +00:00
regress fix various typos, mainly in comments, but also log messages, docs, game text. 2022-04-08 10:17:52 +00:00
rescue remove threads; size constraints and behavioral change 2022-05-16 14:55:56 +00:00
sbin Fix a typo in a newly added comment. 2023-03-01 15:18:18 +00:00
share delete attribution per request of contributor 2023-03-01 21:06:41 +00:00
sys delete attribution per request of contributor 2023-03-01 21:06:41 +00:00
tests delete attribution per request of contributor 2023-03-01 21:06:41 +00:00
tools remap arm directory names, the same way the source does. 2023-02-07 20:37:30 +00:00
usr.bin Use inline function rather that macro BM 2023-02-28 06:04:28 +00:00
usr.sbin s/programm/program/ and s/suuport/support/ in comments and message. 2023-02-14 20:27:17 +00:00
BUILDING fix documentation for MKLINT 2022-10-01 08:55:45 +00:00
Makefile Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC 2022-08-21 07:10:03 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING Note dependency of new binutils on new ld.elf_so for unsupported 2023-01-16 08:49:55 +00:00
build.sh build.sh: usage improvements 2022-08-21 07:57:50 +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