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
@@ -356,7 +356,7 @@ int tty_ioctl(tty_t *tty, unsigned long req, void *arg, int *result, cred_t *cre
if (e)
return e;
proc_t *proc = sched_getprocfrompid(pgrp);
proc_t *proc = proc_get_from_pid(pgrp);
if (proc == NULL)
return ESRCH;