proc: separate from sched

This commit is contained in:
Matheus
2024-09-21 22:43:16 -03:00
parent 77c39fdda3
commit cc6477d46d
19 changed files with 430 additions and 383 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ syscallret_t syscall_killthread(context_t *context, int pid, int tid, int signal
}
proc_t *sender = current_thread()->proc;
proc_t *target = sched_getprocfrompid(pid);
proc_t *target = proc_get_from_pid(pid);
if (target == NULL) {
ret.errno = ESRCH;
return ret;