mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 22:25:07 +00:00
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.
This commit is contained in:
parent
8e489b451a
commit
c14de7da99
1 changed files with 0 additions and 1 deletions
|
@ -92,7 +92,6 @@ KResultOr<size_t> TTY::read(FileDescription&, size_t, u8* buffer, size_t size)
|
|||
KResultOr<size_t> 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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue