Go to file
christos 1d19491032 - Untangle spawn_return by splitting it up to sub-functions.
- Merge the eventswitch parent notification code which was copied in two
  places (eventswitchchild)
- Fix bugs in the eventswitch parent notification code:
  1. p_slflags should be accessed holding both proc_lock and p->p_lock
  2. p->p_opptr can be NULL if the parent was PSL_CHTRACED and exited.

Fixes random crashes the posix_spawn_kill_spawner unit test which tried
to dereference a NULL pptr.
2020-04-05 20:53:17 +00:00
bin Don't depend on common declarations. 2020-04-03 18:11:29 +00:00
common Teach dk(4) about ZFS. 2020-03-30 08:36:09 +00:00
compat
crypto restore previous unsigned change. 2020-03-29 14:58:22 +00:00
dist/pf
distrib Support the use of DHCP in the install environment 2020-04-05 14:36:43 +00:00
doc fix the mrg arm entry text that said v7 + v7, not v7 + v8. 2020-04-05 19:48:27 +00:00
etc Support the use of DHCP in the install environment 2020-04-05 14:36:43 +00:00
external Don't block signals when running hooks. Here ctx->sigset == defsigs == 2020-04-05 15:41:45 +00:00
extsrc
games Disks can sense vibes, DTrace confirms it. 2020-04-02 05:55:02 +00:00
include Fix depenency on common symbols in sbin. 2020-04-05 15:25:39 +00:00
lib Conditionalize a few more functions (hopefully fixing the build) 2020-04-05 14:53:39 +00:00
libexec
regress
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Fix depenency on common symbols in sbin. 2020-04-05 15:25:39 +00:00
share remove RX flip from diagnostic, it was removed 2020-04-05 19:03:30 +00:00
sys - Untangle spawn_return by splitting it up to sub-functions. 2020-04-05 20:53:17 +00:00
tests Add support for lazily generating a "global thread ID" for a LWP. This 2020-04-04 20:20:12 +00:00
tools tools: Build tic with full fat terminfo 2020-04-05 12:31:39 +00:00
usr.bin Avoid depending on common symbols. 2020-04-03 19:53:41 +00:00
usr.sbin We don't have smbfs anymore. 2020-04-04 17:05:06 +00:00
build.sh
BUILDING
Makefile
Makefile.inc
README.md
UPDATING

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