haiku/headers
Jérôme Duval 45872f7f9c kernel/vm: restrict permission changes on shared file-mapped areas
a protection_max attribute is added in VMArea.
a read-only opened file already can't be mapped shared read-write at the moment,
but can later be changed to read-write with mprotect() or set_area_protection().
When creating the VMArea, the actual maximum protection is stored in the area,
so that it can be checked when needed.
this fixes a VM TODO.

Change-Id: I33b144c192034eeb059f1dede5dbef5af947280d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3804
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-03-23 17:40:31 +00:00
..
build Revert "Fix building on Haiku after hrev54993" 2021-03-22 22:52:50 +00:00
compatibility features.h: undef before define 2021-01-07 09:14:57 +00:00
config ARM64: Initial changes so we can compile GCC toolchain 2019-08-30 19:05:16 +00:00
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs agg: fix build. 2020-01-22 19:25:16 +01:00
os Added localization support for Cortex app. 2021-03-22 18:50:39 +00:00
posix utmpx.h: add ut_host for compatibility (not posix) 2021-03-16 16:55:44 +00:00
private kernel/vm: restrict permission changes on shared file-mapped areas 2021-03-23 17:40:31 +00:00
tools Fix #12799: Enable elf symbol patching for Haiku 2016-10-30 10:42:24 +01:00