diff options
author | Andreas Kling <kling@serenityos.org> | 2020-12-25 16:20:26 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-25 16:22:01 +0100 |
commit | 89d3b09638ea6f810b3b07d417367bc3458ce98b (patch) | |
tree | 7117ac166398820264d27808773e95d5b2e1f724 /Kernel/VirtualAddress.h | |
parent | d55fb7b5e205c15a775b22b40d2b1d8006db4cad (diff) | |
download | serenity-89d3b09638ea6f810b3b07d417367bc3458ce98b.zip |
Kernel: Allocate new main thread stack before committing to exec
If the allocation fails (e.g ENOMEM) we want to simply return an error
from sys$execve() and continue executing the current executable.
This patch also moves make_userspace_stack_for_main_thread() out of the
Thread class since it had nothing in particular to do with Thread.
Diffstat (limited to 'Kernel/VirtualAddress.h')
0 files changed, 0 insertions, 0 deletions