Go to file
chs 9be678b1cd revert rev 1.7 (which removed the fd_local field from frdest_t).
this structure is part of the kernel/user ABI and so we would need to
version the ioctl ABI again in order to remove this field.  but that's
a big pain so let's just leave the field there.  the problem that
was being fixed in FreeBSD related to this was a failure to locate
filter rules in certain situations, but having an unused always-zero
field there won't cause that problem.
2019-11-11 19:33:43 +00:00
bin Avoid arithmetics on strings. 2019-10-29 16:19:59 +00:00
common uubsan: Implement function_type_mismatch_v1 2019-11-01 14:54:07 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto Merge 85acd57c8a288ce92f42bcf62737eebe385bce90 from Heimdal on Github: 2019-10-28 18:12:54 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib Add __FPTRCAST 2019-11-10 18:47:13 +00:00
doc micphy(4): Add support for Microchip KSZ80[0456]1, KSZ87[23]1, KSZ9[01]31 and KSZ9477. 2019-11-07 02:34:44 +00:00
etc Remove commented out IGEPV2 entry 2019-11-03 12:16:35 +00:00
external silence sign-conversion warning from clang 2019-11-11 09:24:56 +00:00
extsrc
games https://twitter.com/sei6r/status/1182433546331279360 2019-11-10 22:42:21 +00:00
include Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
lib Mirror the ld.elf_so logic for handling aligning the TLS size. 2019-11-07 22:25:21 +00:00
libexec Use alignof and not size_t for platforms with non-natural base 2019-11-05 22:22:42 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue Remove ldconfig from /rescue, and mark it MI obsolete. 2019-10-02 09:45:10 +00:00
sbin elide recently introduced warnings that trigger in normal cases, eg: 2019-11-06 07:29:08 +00:00
share Make a sentence easier to read, and fix some nits. 2019-11-11 11:06:27 +00:00
sys revert rev 1.7 (which removed the fd_local field from frdest_t). 2019-11-11 19:33:43 +00:00
tests atf: add test cases for MTU that is increased on SIOCSETVLAN 2019-11-11 02:40:48 +00:00
tools add something to auto-detect when GCC has changed from gcc to gcc.old 2019-11-06 07:26:31 +00:00
usr.bin Spell the largest 32bit signed value as INT32_MAX. Explicitly cast to 2019-11-11 15:40:42 +00:00
usr.sbin rtadvd: Add C flag to control the zeroing of the leaving configuration 2019-11-11 13:42:49 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING Add note for GCC 8 builds (see PR 54644) 2019-10-23 16:26:42 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +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