mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03: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
Notes:
sideshowbarker
2024-07-19 02:53:12 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c14de7da99b
@ -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…
Reference in New Issue
Block a user