ladybird/Kernel/VM
Andreas Kling ae2d72377d Kernel: Enable the x86 WP bit to catch invalid memory writes in ring 0
Setting this bit will cause the CPU to generate a page fault when
writing to read-only memory, even if we're executing in the kernel.

Seemingly the only change needed to make this work was to have the
inode-backed page fault handler use a temporary mapping for writing
the read-from-disk data into the newly-allocated physical page.
2019-12-21 16:21:13 +01:00
..
AnonymousVMObject.cpp Kernel: Use a FixedArray for VMObject::m_physical_pages 2019-08-07 20:12:50 +02:00
AnonymousVMObject.h Kernel: Start implementing purgeable memory support 2019-12-09 19:12:38 +01:00
InodeVMObject.cpp Kernel: Rename vmo => vmobject everywhere 2019-12-19 19:15:27 +01:00
InodeVMObject.h Kernel: Split VMObject into two classes: Anonymous- and InodeVMObject 2019-08-07 18:09:32 +02:00
MemoryManager.cpp Kernel: Enable the x86 WP bit to catch invalid memory writes in ring 0 2019-12-21 16:21:13 +01:00
MemoryManager.h Kernel: Rename vmo => vmobject everywhere 2019-12-19 19:15:27 +01:00
PageDirectory.cpp Kernel: Fix triple-fault when clicking on SystemServer in SystemMonitor 2019-11-27 12:40:42 +01:00
PageDirectory.h Kernel: Fix triple-fault when clicking on SystemServer in SystemMonitor 2019-11-27 12:40:42 +01:00
PhysicalAddress.h Kernel: Add LogStream operator<< for PhysicalAddress 2019-09-15 20:47:49 +02:00
PhysicalPage.cpp Kernel: Move kmalloc() into a Kernel/Heap/ directory 2019-09-16 09:01:44 +02:00
PhysicalPage.h Kernel: Add a simple slab allocator for small allocations 2019-09-16 10:33:27 +02:00
PhysicalRegion.cpp Kernel: Fix returning pages to regions >= 2GB 2019-09-17 09:27:23 +02:00
PhysicalRegion.h Kernel: Move PhysicalAddress.h into VM/ 2019-07-09 15:04:45 +02:00
PurgeableVMObject.cpp Kernel: Remap all regions referring to a PurgeableVMObject on purge 2019-12-09 20:05:04 +01:00
PurgeableVMObject.h Kernel: Start implementing purgeable memory support 2019-12-09 19:12:38 +01:00
RangeAllocator.cpp Kernel: Make it possible to turn off VM guard pages at compile time 2019-09-30 17:22:16 +02:00
RangeAllocator.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
Region.cpp Kernel: Enable the x86 WP bit to catch invalid memory writes in ring 0 2019-12-21 16:21:13 +01:00
Region.h Kernel: Rename vmo => vmobject everywhere 2019-12-19 19:15:27 +01:00
VirtualAddress.h Kernel: Add LogStream operator<< for VirtualAddress 2019-08-06 10:28:46 +02:00
VMObject.cpp Kernel: Rename vmo => vmobject everywhere 2019-12-19 19:15:27 +01:00
VMObject.h Kernel: Start implementing purgeable memory support 2019-12-09 19:12:38 +01:00