From c14de7da99b76837c6c59d5a0351a648f163d440 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 6 Sep 2020 18:12:07 +0200 Subject: [PATCH] Kernel: Remove bogus FIXME in TTY::write() Failure to send SIGTTOU to the current process is not something that should cause write() to fail with -ESRCH. --- Kernel/TTY/TTY.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Kernel/TTY/TTY.cpp b/Kernel/TTY/TTY.cpp index 6ffce4dbff..ac6fbc1a00 100644 --- a/Kernel/TTY/TTY.cpp +++ b/Kernel/TTY/TTY.cpp @@ -92,7 +92,6 @@ KResultOr TTY::read(FileDescription&, size_t, u8* buffer, size_t size) KResultOr TTY::write(FileDescription&, size_t, const u8* buffer, size_t size) { if (Process::current()->pgid() != pgid()) { - // FIXME: Should we propigate this error path somehow? (void)Process::current()->send_signal(SIGTTOU, nullptr); return KResult(-EINTR); }