tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: UVM and the NULL page



On Fri, 29 Jul 2016, Joerg Sonnenberger wrote:

On Fri, Jul 29, 2016 at 10:08:48AM +0200, Maxime Villard wrote:
It is not possible to keep a sysctl, since VM_MIN_ADDRESS is a constant
used in assembly, so it won't be turned to a variable.

So find a different solution to fix the bugs.


Now, it is a little hard to know how many emulators or whatever rely on
null to be available. But many (most?) systems don't allow null nowadays,
and null dereferences are a well-known issue. It is more or less becoming
a standard. If a software fails on NetBSD because of a null mmap, then it
is likely to fail on many other systems.

Just because many newer ("hardened") systems break compatibility with
existing programs doesn't justify the same to be done to NetBSD.


I will commit [3] soon.

I strongly object that.

I also object.


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index