mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
Kernel: Unsupported TTY ioctls should return EINVAL gracefully
Fixes #4971
This commit is contained in:
parent
47a4a5ac1d
commit
2830ce5383
Notes:
sideshowbarker
2024-07-18 23:01:24 +09:00
Author: https://github.com/tomuta
Commit: 2830ce5383
Pull-request: https://github.com/SerenityOS/serenity/pull/5035
Issue: https://github.com/SerenityOS/serenity/issues/4971
1 changed files with 0 additions and 1 deletions
|
@ -419,7 +419,6 @@ int TTY::ioctl(FileDescription&, unsigned request, FlatPtr arg)
|
|||
current_process.set_tty(nullptr);
|
||||
return 0;
|
||||
}
|
||||
ASSERT_NOT_REACHED();
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue