Go to file
riastradh 92f37f2423 uhid(4): Omit needless softint indirection.
USB xfer callbacks already run in softint context at IPL_SOFTSERIAL,
and I see no reason why the call to psignal must happen instead at
the lower priority of IPL_SOFTCLOCK, so let's avoid using up the
scarce resource of softints for something that doesn't need 'em.

While here, use atomic_store_relaxed to update sc->sc_async and
atomic_load_relaxed to optimisitcally test it without acquiring
proc_lock.
2020-11-30 00:48:35 +00:00
bin Print real maxrss value like other shells. 2020-10-17 08:46:02 +00:00
common Use the correct barriers - all of membar_{sync,producer,consumer} have 2020-10-13 21:22:12 +00:00
compat
crypto Add ldap parameters debug and timeout. 2020-11-25 18:11:00 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Try to shrink ramdiskbin binary. 2020-11-28 05:16:06 +00:00
doc Note update to dhcpcd-9.3.4 2020-11-28 14:29:25 +00:00
etc Simplify default motd text and include donation link. 2020-11-25 21:40:22 +00:00
external Use vn_close to release the vnodes in the error handling blocks, since 2020-11-28 22:53:06 +00:00
extsrc
games roundsleep(): Too many zeros; tv_nsec should be compared with 2020-11-21 09:24:02 +00:00
include Don't complain about additional DNAME records received when resolving A or 2020-11-18 12:49:52 +00:00
lib Note that open(O_ASYNC) does not work as advertised. 2020-11-30 00:21:35 +00:00
libexec Bozohttpd clobbers files greater than 4GB on 32bit archs. 2020-11-19 10:45:36 +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 Add missing newlines to ACL prints in tunefs; from Jan Schaumann in PR 55824. 2020-11-26 02:06:01 +00:00
share style: fix typo 2020-11-29 09:15:33 +00:00
sys uhid(4): Omit needless softint indirection. 2020-11-30 00:48:35 +00:00
tests map enough space for both the page we write and the guard so that we make 2020-11-27 16:50:02 +00:00
tools Correct target directory; src/external/gpl3/gdb.old not gdb. 2020-10-09 23:48:42 +00:00
usr.bin make(1): initialize global variables in dir.c 2020-11-29 21:50:50 +00:00
usr.sbin Make sure the kernel set is selected, even if extracting parts of it 2020-11-28 13:05:58 +00:00
build.sh add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +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
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING note about mips kernel modules breaking update builds 2020-10-17 07:41:25 +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