Go to file
rin d56c56e97e PR kern/55658
ubc_fault_page(): Ignore PG_RDONLY flag and always pmap_enter() the page
with the permissions of the original access_type.

It is the file system's responsibility to allocate blocks that is being
modified by write(), before calling into UBC to fill the pages for that
range. KASSERT() is added there to confirm that no clean page is mapped
writable.

Fix infinite loop in uvm_fault_internal(), observed on 16KB-page systems,
where it continues to try to make a partially-backed page writable.

No regression in ATF and KASSERT() does not fire on several architectures,
as far as I can see.

Fix suggested by chs. Thanks!
2020-10-05 04:48:23 +00:00
bin undo previous for 'r' and 'e' modifiers; they should no go further than 2020-10-02 17:33:13 +00:00
common Re-do previous aarch64eb strlen fix more simply and correctly. 2020-09-09 14:49:27 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto Add BN_oct2bn(3) for factor(6) 2020-10-04 19:32:48 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Try to fix ramdisk overflow (somehow build succeeds without fix for me); 2020-10-04 23:50:59 +00:00
doc Reset the entries for drochner and dsl 2020-10-01 18:34:06 +00:00
etc Use "pool" for the pool.ntp.org servers. Add some new hints. 2020-10-04 13:50:44 +00:00
external Apply by hand a patch to fix http://r6.ca/blog/20200929T023701Z.html 2020-10-04 14:44:47 +00:00
extsrc
games - Accept octal input. 2020-10-04 19:32:15 +00:00
include add set_rpc_maxgrouplist(3) 2020-10-03 18:30:39 +00:00
lib bump for set_rpc_maxgrouplist 2020-10-03 18:34:15 +00:00
libexec Correct r_ldbase valuse 2020-09-22 00:41:27 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin - centralize number parsing code 2020-10-03 18:42:20 +00:00
share various vidya, also md = minidisc, dc = data center 2020-10-04 19:04:48 +00:00
sys PR kern/55658 2020-10-05 04:48:23 +00:00
tests Link librumpclient explicitly. Fix sun2, i.e., MKPIC=no build. 2020-10-01 13:49:18 +00:00
tools initial working version of native-gmp support. 2020-09-26 20:56:53 +00:00
usr.bin make(1): add tests for .ifndef and .ifnmake 2020-10-04 22:41:18 +00:00
usr.sbin ifwatchd: Enable SO_RERROR to re-sync interface state. 2020-10-04 20:36:32 +00:00
build.sh add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +00:00
Makefile.inc Re-add files that were accidentally deleted in my previous commit. 2018-05-02 07:34:44 +00:00
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING note mpfr needs a cleaning. 2020-09-26 08:02:35 +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