ladybird/Kernel/VM
Andreas Kling a131927c75 Kernel: sys$munmap() region splitting did not preserve "shared" flag
This was exploitable since the shared flag determines whether inode
permission checks are applied in sys$mprotect().

The bug was pretty hard to spot due to default arguments being used
instead. This patch removes the default arguments to make explicit
at each call site what's being done.
2021-01-26 18:35:04 +01:00
..
AllocationStrategy.h Kernel: Merge PurgeableVMObject into AnonymousVMObject 2021-01-01 23:43:44 +01:00
AnonymousVMObject.cpp Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
AnonymousVMObject.h Kernel: Merge PurgeableVMObject into AnonymousVMObject 2021-01-01 23:43:44 +01:00
ContiguousVMObject.cpp Everywhere: Debug macros instead of constexpr. 2021-01-25 09:47:36 +01:00
ContiguousVMObject.h Kernel: Implement lazy committed page allocation 2021-01-01 23:43:44 +01:00
InodeVMObject.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-11 11:55:47 +01:00
InodeVMObject.h Kernel: Remove the limited use of AK::TypeTraits we had in the kernel 2021-01-01 15:32:44 +01:00
MappedROM.h Kernel: Fix various forward declarations 2020-09-12 13:46:15 +02:00
MemoryManager.cpp Kernel: sys$munmap() region splitting did not preserve "shared" flag 2021-01-26 18:35:04 +01:00
MemoryManager.h Kernel: Parse boot modules from Multiboot specification 2021-01-22 22:17:39 +01:00
PageDirectory.cpp Kernel: Remove MM_DEBUG debug spam code 2021-01-11 22:09:40 +01:00
PageDirectory.h Kernel: More gracefully handle out-of-memory when creating PageDirectory 2021-01-01 23:43:44 +01:00
PageFaultResponse.h Kernel: Merge PurgeableVMObject into AnonymousVMObject 2021-01-01 23:43:44 +01:00
PhysicalPage.cpp Kernel: Remove MM_DEBUG debug spam code 2021-01-11 22:09:40 +01:00
PhysicalPage.h Kernel: Implement lazy committed page allocation 2021-01-01 23:43:44 +01:00
PhysicalRegion.cpp Kernel/VM: Make local_offset in PhysicalRegion::find_one_free_page unsigned 2020-12-29 02:20:26 +01:00
PhysicalRegion.h Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
PrivateInodeVMObject.cpp Kernel: Implement lazy committed page allocation 2021-01-01 23:43:44 +01:00
PrivateInodeVMObject.h Kernel: Implement lazy committed page allocation 2021-01-01 23:43:44 +01:00
ProcessPagingScope.cpp Kernel: Turn Thread::current and Process::current into functions 2020-07-01 12:07:01 +02:00
ProcessPagingScope.h Kernel: Move ProcessPagingScope to its own files 2020-03-01 15:38:09 +01:00
PurgeablePageRanges.cpp Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
PurgeablePageRanges.h Kernel: Merge PurgeableVMObject into AnonymousVMObject 2021-01-01 23:43:44 +01:00
RangeAllocator.cpp Everywhere: Debug macros instead of constexpr. 2021-01-25 09:47:36 +01:00
RangeAllocator.h Kernel: Convert a bunch of String::format() => String::formatted() 2021-01-11 22:07:01 +01:00
Region.cpp Kernel: sys$munmap() region splitting did not preserve "shared" flag 2021-01-26 18:35:04 +01:00
Region.h Kernel: sys$munmap() region splitting did not preserve "shared" flag 2021-01-26 18:35:04 +01:00
SharedInodeVMObject.cpp Kernel: Implement lazy committed page allocation 2021-01-01 23:43:44 +01:00
SharedInodeVMObject.h Kernel: Implement lazy committed page allocation 2021-01-01 23:43:44 +01:00
TypedMapping.h Kernel: Add non-const version of TypedMapping::operator->() 2020-05-23 15:57:19 +02:00
VMObject.cpp Kernel: Some futex improvements 2021-01-17 20:30:31 +01:00
VMObject.h Kernel: Some futex improvements 2021-01-17 20:30:31 +01:00