ladybird/Kernel/VM
Andreas Kling a27c5d2fb7 Kernel: Fail with EFAULT for any address+size that would wrap around
Previously we were only checking that each of the virtual pages in the
specified range were valid.

This made it possible to pass in negative buffer sizes to some syscalls
as long as (address) and (address+size) were on the same page.
2020-01-29 12:56:07 +01:00
..
AnonymousVMObject.cpp Kernel: AnonymousVMObject::create_for_physical_range() should fail more 2020-01-28 20:48:07 +01:00
AnonymousVMObject.h Kernel: AnonymousVMObject::create_for_physical_range() should fail more 2020-01-28 20:48:07 +01:00
InodeVMObject.cpp Kernel: Enforce W^X between sys$mmap() and sys$execve() 2020-01-18 23:40:12 +01:00
InodeVMObject.h Kernel: Enforce W^X between sys$mmap() and sys$execve() 2020-01-18 23:40:12 +01:00
MemoryManager.cpp Kernel: Fail with EFAULT for any address+size that would wrap around 2020-01-29 12:56:07 +01:00
MemoryManager.h Kernel: Remove map_for_kernel() in MemoryManager 2020-01-21 11:29:58 +01:00
PageDirectory.cpp Use uintptr_t instead of u32 when storing pointers as integers 2020-01-20 13:13:03 +01:00
PageDirectory.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PhysicalAddress.h Kernel: Remove some unnecessary casts to uintptr_t 2020-01-20 13:13:03 +01:00
PhysicalPage.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PhysicalPage.h AK: Let's call decrementing reference counts "unref" instead of "deref" 2020-01-23 15:14:21 +01:00
PhysicalRegion.cpp Use uintptr_t instead of u32 when storing pointers as integers 2020-01-20 13:13:03 +01:00
PhysicalRegion.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PurgeableVMObject.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PurgeableVMObject.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
RangeAllocator.cpp Kernel: Oops, fix bad sort order of available VM ranges 2020-01-19 15:53:43 +01:00
RangeAllocator.h Kernel: Optimize VM range deallocation a bit 2020-01-19 13:29:59 +01:00
Region.cpp Kernel: Tidy up debug logging a little bit 2020-01-21 16:16:20 +01:00
Region.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
VirtualAddress.h Use uintptr_t instead of u32 when storing pointers as integers 2020-01-20 13:13:03 +01:00
VMObject.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
VMObject.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00