Go to file
riastradh 29f68bc1c1 wd(4): Fix bugs in softbadsect handling.
- Don't copyout kernel virtual addresses (of SLIST entries) that
  userland won't use anyway.
  => The structure still has space for this pointer; it's just always
     null when userland gets it now.

- Don't copyout under a lock.

- Stop and return error if copyout fails (unless we've already copied
  some out).

- Don't kmem_free under a lock.

XXX Unclear whether anyone actually uses WD_SOFTBADSECT or why --
it's always been disabled by default.  Maybe we should just remove
it?
2021-12-28 13:27:32 +00:00
bin s/forground/foreground/ in comments. 2021-12-19 21:15:27 +00:00
common fix various typos in comments. 2021-12-12 22:20:52 +00:00
compat remove obsolete files. 2021-06-18 06:34:00 +00:00
crypto put back the tcpwinsz initialization code. 2021-12-24 21:52:48 +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 tests/make: document inconsistencies between '!=' and '::!=' 2021-12-28 00:56:16 +00:00
doc new acpica 2021-12-18 18:05:55 +00:00
etc Put back the code to add DEBUG=-g in config and to add the debug kernels 2021-12-23 14:50:59 +00:00
external postfix: enable lint again 2021-12-25 13:30:42 +00:00
extsrc
games fix various typos in comments. 2021-12-12 22:20:52 +00:00
include fix various typos in comments and log messages. 2021-12-08 20:50:01 +00:00
lib curses: spell "foreground" correctly in comments 2021-12-17 03:50:18 +00:00
libexec s/occured/occurred/ in comments, log messages and man pages. 2021-12-10 20:36:02 +00:00
regress introduce a SOL_LOCAL for unix-domain socket level socket options 2021-08-08 20:54:48 +00:00
rescue
sbin Add support for a read-only edid attribute that shows the result of 2021-12-25 13:54:13 +00:00
share namei(9): s/operatoins/operations/ 2021-12-26 16:41:09 +00:00
sys wd(4): Fix bugs in softbadsect handling. 2021-12-28 13:27:32 +00:00
tests lint: fix wrong error in strict bool mode in condition with comma 2021-12-22 15:36:37 +00:00
tools Make dtc on riscv 2021-11-14 15:48:02 +00:00
usr.bin tests/make: use tabs instead of spaces for indentation 2021-12-28 10:47:00 +00:00
usr.sbin s/filname/filename/ 2021-12-21 21:28:31 +00:00
BUILDING Rename: 2021-12-20 20:33:20 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING s/dissallow/disallow/ 2021-12-07 21:45:31 +00:00
build.sh remove duplicate the article in comments. 2021-10-04 21:02:39 +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