initial signal implementation

This commit is contained in:
Matheus
2024-05-14 15:04:48 -03:00
parent 00c212fa8d
commit 7b0cc4c51b
22 changed files with 824 additions and 55 deletions
+6
View File
@@ -284,3 +284,9 @@ void jobctl_procremove(proc_t *proc) {
tty_t *tty = proc->session.controllingtty;
VOP_RELEASE(tty->mastervnode);
}
// proc can be null if the signal is being sent to the calling processes own process group
// since that is only passed from a userland thread, we can assume _cpu()->thread->proc is not null
int jobctl_signal(proc_t *proc, int signal) {
}