kernel: (temp) add WARNING-level exec debugging
This commit is contained in:
parent
23e3681c21
commit
5386f8390f
@ -215,7 +215,11 @@ static int sys_execve(const char * filename, char *const argv[], char *const env
|
||||
PTR_VALIDATE(filename);
|
||||
PTR_VALIDATE(envp);
|
||||
|
||||
debug_print(NOTICE, "%d = exec(%s, ...)", current_process->id, filename);
|
||||
debug_print(WARNING, "%d = exec(%s", current_process->id, filename);
|
||||
for (char * const * arg = argv; *arg; ++arg) {
|
||||
debug_print(WARNING, " %s", *arg);
|
||||
}
|
||||
debug_print(WARNING, " )");
|
||||
|
||||
int argc = 0;
|
||||
int envc = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user