Go to file
kre f49e0d69dd PR bin/55979
This fixes the MSAN detected reference to an unitialised variable
(an unitialised field in a struct) which happens when a command is
not found after a PATH search.

Aside from skipping some known to be going to fail exec*() calls
in some cases, the setting of the relevant field is irrelevant,
so this problem makes no practical difference to the shell, or any
shell script.

XXX (maybe) pullup -9
2021-02-16 15:30:12 +00:00
bin PR bin/55979 2021-02-16 15:30:12 +00:00
common arm bswap32: fix fatal typo in thumb code (PR 55854) 2020-12-11 09:02:33 +00:00
compat Use the compat machinery to build "native" IPF binaries as ipfilter 2021-01-05 11:07:59 +00:00
crypto Allow v9 assembly for AES code for 32bit compat build with clang. 2021-02-05 21:43:20 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib PR bin/55979 2021-02-16 09:46:24 +00:00
doc Note Emulate3Buttons support for X68k Xorg based monolithic server. 2021-02-07 16:58:53 +00:00
etc Enable "/etc/zfs/exports" from "zfs share" in rc.d/mountd and rc.d/mountall. 2021-02-16 10:02:42 +00:00
external Use the right uid / gid for nobody:nobody like FreeBSD does. 2021-02-16 09:54:17 +00:00
extsrc
games - Don't allocate memory dynamically on the stack (for SSP) 2021-01-08 15:16:04 +00:00
include Correct typo in previous. 2020-12-04 23:04:58 +00:00
lib Correct floating-point terminology. 2021-02-16 14:44:25 +00:00
libexec clean up issues detected by address sanitizer (just some memory 2021-02-11 09:57:52 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Use 32K as the default NFSv3 read and write data sizes on aarch64, matching 2021-01-24 12:51:32 +00:00
share Add HOTP and TOTP 2021-02-12 08:56:04 +00:00
sys Whitespace nit. 2021-02-16 15:06:30 +00:00
tests PR bin/55979 2021-02-16 09:46:24 +00:00
tools tools: allow MKCROSSGDB to work when not building gcc 2021-02-06 16:14:55 +00:00
usr.bin make: rename ExprDefined constants for debug logging 2021-02-15 18:23:32 +00:00
usr.sbin Reword slightly. 2021-02-16 10:01:55 +00:00
BUILDING Reintroduce the support of MKCATPAGES 2020-11-10 21:47:40 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +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 Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING UPDATING: lint1/ops.c may require OBJDIR to be cleaned 2021-01-09 20:51:08 +00:00
build.sh Modify the generated make wrapper to avoid complaints about 2021-01-28 10:36:27 +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