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
..
2021-09-18 22:57:42 +03:00
2021-08-23 00:02:09 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 16:42:03 +02:00
2021-09-08 00:42:20 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-06 20:33:35 +02:00
2021-09-06 01:55:27 +02:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-07 13:47:37 +02:00
2021-08-23 01:07:45 +02:00
2021-06-24 00:38:23 +02:00
2021-04-22 11:22:27 +02:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-08-08 00:03:45 +02:00
2021-04-22 11:22:27 +02:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00