Go to file
msaitoh a3d9e0f54e Increase sdl_data so that more then IFNAMSIZ bytes are available (again).
COMPAT_9 is not required.

 - The getifaddrs(3) function has no problem. The routing message has no
   problem because struct rtm_msglen has rtm_msglen and we can get the next
   message using with it. There is no any kernel data structure which has
   struct sockaddr_dl foobadr[xxx] array.

 - A data passed from userland and a kernel data are compared with
   sockaddr_cmp(). The return value is used to check if the size is
   inadequate or not.

 - In the kernel, sdl_len is not directly used for the length of memcpy()
   but the sockaddr_dl_measure() is used for it.
2022-11-07 08:32:35 +00:00
bin fix various typos in comments and one output message. 2022-10-31 21:22:05 +00:00
common s/varaible/variable/ and s/varible/variable/ in comments. 2022-11-01 19:45:35 +00:00
compat fix various typos in comments and log messages. 2022-05-29 10:47:39 +00:00
crypto merge upstream commit 9b3219ba544db82cdad3058b9872058739559944: 2022-10-27 16:20:23 +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: add tests for invalid extra operations on a shutdown socket 2022-11-04 08:01:42 +00:00
doc openssl 1.1.1s/3.0.7 out 2022-11-05 18:38:08 +00:00
etc tests: add tests for invalid extra operations on a shutdown socket 2022-11-04 08:01:42 +00:00
external Add a helper to set or clear lower mount and use it. 2022-11-04 11:20:39 +00:00
games -h doesn't sort numerically, pointed out by various 2022-10-25 19:33:00 +00:00
include put reallocarray() in the public namespace 2022-10-28 09:43:58 +00:00
lib regerror(3): Allow null errbuf if errbuf_size is zero. 2022-11-05 11:33:55 +00:00
libexec fix various typos in comments and messages. 2022-11-02 20:38:21 +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 fix various typos in comments and one output message. 2022-10-31 21:22:05 +00:00
share Remove support for OMAP based Gumstix platforms. 2022-10-29 13:10:25 +00:00
sys Increase sdl_data so that more then IFNAMSIZ bytes are available (again). 2022-11-07 08:32:35 +00:00
tests tests: add tests for invalid extra operations on a shutdown socket 2022-11-04 08:01:42 +00:00
tools don't require gettext 2022-10-29 13:53:35 +00:00
usr.bin fix various typos in comments and one output message. 2022-10-31 21:22:05 +00:00
usr.sbin s/instalboot/installboot/ 2022-11-01 19:51:46 +00:00
BUILDING fix documentation for MKLINT 2022-10-01 08:55:45 +00:00
Makefile Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC 2022-08-21 07:10:03 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING UPDATING: More details on bootloader update needed for >=9.99.100. 2022-10-08 08:21:56 +00:00
build.sh build.sh: usage improvements 2022-08-21 07:57:50 +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