Andreas Kling
33efeaf71a
crash: Add "-X" option for attempting to execute non-executable memory
2019-12-25 13:35:57 +01:00
Andreas Kling
f41ae755ec
Kernel: Crash on memory access in non-readable regions
...
This patch makes it possible to make memory regions non-readable.
This is enforced using the "present" bit in the page tables.
A process that hits an not-present page fault in a non-readable
region will be crashed.
2019-12-02 19:18:52 +01:00
Andreas Kling
e56daf547c
Kernel: Disallow syscalls from writeable memory
...
Processes will now crash with SIGSEGV if they attempt making a syscall
from PROT_WRITE memory.
This neat idea comes from OpenBSD. :^)
2019-11-29 16:30:05 +01:00
Andreas Kling
189f234b47
Docs: Add info about -T and -t to crash(1)
2019-11-17 19:23:35 +01:00
Sergey Bugaev
fed96f455d
Base: Write some initial man pages
...
It ain't much, but it's honest work!
2019-09-28 18:29:42 +02:00