Files
ladybird/Kernel
Liav A f7d1b8cd0c Kernel: Avoid potential memory info leak when doing mmap on /dev/mem
Although we can still consider this impossible to happen now, because
the mmap syscall entry code verifies that specified offset must be page
aligned, it's still a good practice to VERIFY we actually take a start
address as page-aligned in case of doing mmap on /dev/mem.

As for read(2) on /dev/mem, we don't map anything to userspace so it's
safe to read from whatever offset userspace specified as long as it does
not break the original rules of reading physical memory from /dev/mem.
2022-01-08 13:21:16 +02:00
..
2022-01-04 17:57:54 +00:00
2022-01-07 15:44:42 +01:00
2022-01-07 10:56:59 +01:00
2021-12-26 21:22:59 +01:00
2021-10-17 17:09:58 +01:00
2022-01-07 15:44:42 +01:00
2022-01-07 10:56:59 +01:00