Go to file
chs c7c4f4753b shmctl(SHM_LOCK) does not need to mess with mappings of the shm segment,
uvm_obj_wirepages() is sufficient.  this fixes the problem reported in
https://syzkaller.appspot.com/bug?id=71f9271d761f5b6ed517a18030dc04f0135e6179
2019-06-10 00:35:47 +00:00
bin When a return occurs in the test part of a loop statement (while/until) 2019-05-04 02:52:55 +00:00
common Make XDR usable from kernel or module. 2019-06-05 16:25:43 +00:00
compat - various updates for GCC 7 riscv definitions: -mabi and -march changed 2019-04-18 10:07:07 +00:00
crypto merge conflicts, regen man pages. 2019-06-09 18:44:29 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib new openssl man page 2019-06-09 18:42:43 +00:00
doc new openssl 2019-06-09 18:44:05 +00:00
etc Include armv4 for "earm", not just "earmv4". 2019-06-02 17:13:15 +00:00
external fix format 2019-06-09 15:39:18 +00:00
extsrc
games Report the users score _after_ the game has ended and the screen has 2019-03-19 00:11:34 +00:00
include Move the basic part of XDR to common/include/rpc and common/lib/libc/rpc. 2019-06-04 15:07:55 +00:00
lib Rework previous fix for getch cursor position when cursor is moved 2019-06-09 07:40:14 +00:00
libexec r_symndx is no longer declared, use symnum and initialize it before use. 2019-04-15 19:13:03 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin Delete a redundant (useless) assignment. NFCI. 2019-06-04 11:59:05 +00:00
share Add MAMR 2019-06-08 13:13:01 +00:00
sys shmctl(SHM_LOCK) does not need to mess with mappings of the shm segment, 2019-06-10 00:35:47 +00:00
tests Add a script that allows a check file to be created by cutting and 2019-06-09 07:54:55 +00:00
tools force libexpat since the autoconfig test are not cross-compile friendly 2019-06-02 23:28:32 +00:00
usr.bin Deal with fallout from the addition of 2019-06-01 06:59:17 +00:00
usr.sbin Properly free section_clause. 2019-06-07 16:43:58 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Fix editor mishap 2019-06-06 14:51:43 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING add a quick note about gcc 7 likely causing update build failures. 2019-02-08 09:57:01 +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