Kernel: Start exec by loading the ELF file. It might not exist...

This commit is contained in:
2024-01-03 23:47:39 +02:00
parent ccaa159a73
commit 0ba278041b
2 changed files with 8 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ namespace Kernel
BAN::ErrorOr<long> sys_settermios(const ::termios*);
BAN::ErrorOr<long> sys_fork(uintptr_t rsp, uintptr_t rip);
BAN::ErrorOr<long> sys_exec(BAN::StringView path, const char* const* argv, const char* const* envp);
BAN::ErrorOr<long> sys_exec(const char* path, const char* const* argv, const char* const* envp);
BAN::ErrorOr<long> sys_wait(pid_t pid, int* stat_loc, int options);
BAN::ErrorOr<long> sys_sleep(int seconds);