jobctl/tty: foreground/background and send sighup on unregister

This commit is contained in:
Matheus
2024-05-21 17:48:41 -03:00
parent 0b01bd5e9d
commit 3587dfa28e
6 changed files with 226 additions and 3 deletions
-1
View File
@@ -96,7 +96,6 @@ static int close(int minor, int flags) {
if (pty == NULL)
return ENODEV;
// TODO do tty cleanup stuff like sending sighup
bool intstatus = interrupt_set(false);
spinlock_acquire(&pty->lock);
pty->hangup = true;