forked from Bananymous/banan-os
Bananymous
773dcdd3a2
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.cpp | ||
LoadableELF.cpp |