Go to file
riastradh 2f5368b82e wm(4): Remove the non-MP-safe scaffolding.
- Where we had #ifndef WM_MPSAFE splnet(), we also had WM_CORE_LOCK,
  which implies splnet, so just remove the conditional splnet.

- Make the core lock unconditional and remove macro indirections.

- Pass CALLOUT_MPSAFE, SOFTINT_MPSAFE, and WQ_MPSAFE directly without
  macro indirections.
2022-08-12 10:59:42 +00:00
bin Sync usage with man page. 2022-08-09 08:14:03 +00:00
common proplib: Allocate sizeof(*ctx), not sizeof(struct ...). 2022-08-07 23:49:46 +00:00
compat fix various typos in comments and log messages. 2022-05-29 10:47:39 +00:00
crypto sshd_config: Disable HPN as discussed on tech-userlevel. 2022-05-09 15:06:29 +00:00
dist/pf Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889. 2021-07-24 21:31:31 +00:00
distrib cgdconfig(8): Add support for shared keys. 2022-08-12 10:49:17 +00:00
doc Note that aes_ccm_tag() still fails with GCC 10.4 with -O2 on m68k. 2022-08-10 13:38:26 +00:00
etc Add ATF tests for realpath(1) 2022-07-21 09:52:48 +00:00
external install new xorgproto files. 2022-08-12 07:35:55 +00:00
extsrc
games fix various typos in comments, documentation and messages. 2022-08-07 11:06:18 +00:00
include sched.h: keep __clone() visible under _NETBSD_SOURCE 2022-08-01 15:16:05 +00:00
lib clone(2): document that _GNU_SOURCE must be defined for the prototypes 2022-08-01 14:22:32 +00:00
libexec Fix copy & pasto: DTPREL relocations do not need to allocate a static 2022-07-06 17:35:20 +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 cgdconfig(8): Handle -P/-S for shared keys with -G too. 2022-08-12 10:49:47 +00:00
share Add sysctl entry to improve interconnectivity to some VPN appliances, pointed out by seil-team@IIJ. 2022-08-09 08:03:22 +00:00
sys wm(4): Remove the non-MP-safe scaffolding. 2022-08-12 10:59:42 +00:00
tests cgdconfig(8): Add support for shared keys. 2022-08-12 10:49:17 +00:00
tools bump the netbsd version GCC to yesterday's date. 2022-07-23 19:01:18 +00:00
usr.bin db(1): Don't lie in the usage message re: `-q` 2022-08-10 00:28:00 +00:00
usr.sbin Remove RPC define 2022-08-10 08:38:43 +00:00
BUILDING s/knowlege/knowledge/ 2022-05-28 21:54:56 +00:00
Makefile Makefile: fix location of postinstall program for MAKEVERBOSE > 2 2022-03-19 14:35:13 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING add a note about xorg-server possibly breaking builds. 2022-07-15 05:26:08 +00:00
build.sh Don't try to install netbsd-CONFIG.debug files build with kernel= 2021-12-31 15:43:35 +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