forked from Bananymous/banan-os
Bananymous
9a6cc0dc2d
Before reserving address space in SYS_EXEC verify that ELF address space is actually loadable. For example when trying to execute the kernel binary in userspace, binarys address space would overlap with current kernel address space. Now kernel won't crash anymore and will just send SIGKILL to the process calling exec*(). |
||
---|---|---|
.. | ||
ELF.h | ||
LoadableELF.h | ||
Types.h | ||
Values.h |