Go to file
christos a340b0e513 Formalize that the printf formats should be uintmax_t so we can
uniformly use 'j' in the user-provided formatting strings instead
of depending on _LP64 to use 'll' or 'l' (and the PRI macros). The
alternative is to parse the printf format manually to determine
which modifier to apply which would make this transparent to the
user (they could still always use '%u' or '%x'), but that's too
painful.
2019-12-06 19:36:21 +00:00
bin Avoid arithmetics on strings. 2019-10-29 16:19:59 +00:00
common Formalize that the printf formats should be uintmax_t so we can 2019-12-06 19:36:21 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto PR/54740: Izumi Tsutsui: Disable cryptoengine unavailable message when 2019-12-05 17:52:06 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib Copy -current to 9.0, this has diverged (macppc 601 support and others, 2019-12-05 10:25:41 +00:00
doc Fix date sorting order of previous checkin 2019-12-05 16:51:06 +00:00
etc Save the entropy seed daily in /etc/security. 2019-12-06 14:43:29 +00:00
external Avoid redefining uint_t &c. if compat_defs.h already defines them. 2019-12-05 03:21:42 +00:00
extsrc
games Introspection. From "Surely You're Joking, Mr. Feynman!" 2019-12-03 22:42:29 +00:00
include Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
lib Correct the man page, and say that the printf(3) format characters need 2019-12-06 19:31:52 +00:00
libexec remove some XXX comments. one isn't relevant, and the other two 2019-12-06 05:53:20 +00:00
regress Redo previous differently. 2019-11-23 20:37:49 +00:00
rescue Remove ldconfig from /rescue, and mark it MI obsolete. 2019-10-02 09:45:10 +00:00
sbin Teach `rndctl -L' to update the seed file, not just delete it. 2019-12-06 14:43:18 +00:00
share Remove misleading comments from core(5) 2019-12-06 18:03:49 +00:00
sys sched_tick(): don't try to optimise something that's called 10 times a 2019-12-06 18:33:19 +00:00
tests Fix broken tests in big endian machines. Internally field values are 2019-12-06 19:28:11 +00:00
tools Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
usr.bin Fix signed/unsigned comparison 2019-12-04 14:09:47 +00:00
usr.sbin PR/54730: Izumi Tsutsui: Use /var/db/obsolete/<set> to remove obsolete rc.d 2019-12-04 04:45: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
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
UPDATING catch-up with more ports switched to gcc-8 2019-11-18 15:42:26 +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