ladybird/Kernel/Devices
Przemysław R. Kusiak c6e23e45c5 Kernel: Let MouseDevice and KeyboardDevice write method return EINVAL
Currently, writing anything to `/dev/mouse0` or `/dev/keyboard0` causes
the Kernel to panic. The reason for this is that
`[Mouse,Keyboard]Device::write` always returns 0, which is explicitly
prohibited by `VERIFY` macro in `Process::sys$write`.  The fix seems
trivial; `write` should return EINVAL instead (as is the case with, for
example, `KCOVDevice`).
2021-09-18 22:57:42 +03:00
..
HID Kernel: Let MouseDevice and KeyboardDevice write method return EINVAL 2021-09-18 22:57:42 +03:00
AsyncDeviceRequest.cpp Kernel: Convert Processor::in_irq() to static current_in_irq() 2021-08-23 00:02:09 +02:00
AsyncDeviceRequest.h AK+Everywhere: Reduce the number of template parameters of IntrusiveList 2021-09-10 18:05:46 +03:00
BlockDevice.cpp Kernel: Make Device request creation return KResultOr 2021-09-07 16:42:03 +02:00
BlockDevice.h Kernel/Storage: Implement basic AHCI hotplug support 2021-09-08 00:42:20 +02:00
CharacterDevice.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CharacterDevice.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ConsoleDevice.cpp Kernel/Devices: Use try_create_device helper for ConsoleDevice 2021-09-17 01:02:48 +03:00
ConsoleDevice.h Kernel/Devices: Use try_create_device helper for ConsoleDevice 2021-09-17 01:02:48 +03:00
Device.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
Device.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
DeviceManagement.cpp Kernel/Devices: Use try_create_device helper for SB16 2021-09-17 01:02:48 +03:00
DeviceManagement.h Kernel/Devices: Use try_create_device helper for SB16 2021-09-17 01:02:48 +03:00
FullDevice.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
FullDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
KCOVDevice.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
KCOVDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
KCOVInstance.cpp Kernel/KCOV: Use TRY() in KCOVInstance::buffer_allocate() 2021-09-06 20:33:35 +02:00
KCOVInstance.h Kernel/KCOV: Bring closer to typical SerenityOS coding style 2021-09-06 01:55:27 +02:00
MemoryDevice.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
MemoryDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
NullDevice.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
NullDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
PCISerialDevice.cpp Kernel/PCI: Simplify the entire subsystem 2021-09-07 13:47:37 +02:00
PCISerialDevice.h Kernel: Rename PCI::DeviceController => PCI::Device 2021-08-23 01:07:45 +02:00
PCSpeaker.cpp Kernel: Move special sections into Sections.h 2021-06-24 00:38:23 +02:00
PCSpeaker.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RandomDevice.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
RandomDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
SB16.cpp Kernel/Devices: Use try_create_device helper for SB16 2021-09-17 01:02:48 +03:00
SB16.h Kernel/Devices: Use try_create_device helper for SB16 2021-09-17 01:02:48 +03:00
SerialDevice.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
SerialDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
VMWareBackdoor.cpp Everywhere: Replace AK::Singleton => Singleton 2021-08-08 00:03:45 +02:00
VMWareBackdoor.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ZeroDevice.cpp Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
ZeroDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00