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-16 17:17:13 +02:00
2021-09-12 11:52:16 +02:00
2021-09-12 11:52:16 +02:00
2021-09-18 22:57:42 +03:00
2021-09-17 01:02:48 +03:00
2021-09-12 11:52:16 +02:00
2021-09-17 01:02:48 +03:00
2021-09-12 16:36:52 +02:00
2021-09-12 11:52:16 +02:00
2021-09-07 22:16:25 +02:00
2021-09-14 18:31:16 +00:00
2021-09-18 17:49:24 +03:00
2021-09-18 17:49:24 +03:00
2021-09-17 17:59:22 +03:00
2021-09-18 15:05:51 +03:00
2021-09-16 23:47:46 +02:00
2021-09-07 13:53:14 +02:00
2021-09-12 11:52:16 +02:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-10 22:01:23 +02:00
2021-09-09 21:25:10 +02:00
2021-09-09 21:25:10 +02:00
2021-09-07 13:53:14 +02:00
2021-09-14 18:31:16 +00:00
2021-09-07 16:00:39 +02:00
2021-09-07 13:53:14 +02:00
2021-09-08 00:42:20 +02:00
2021-09-17 01:02:48 +03:00
2021-09-17 01:02:48 +03:00
2021-09-08 20:16:00 +02:00
2021-09-13 14:38:53 +04:30
2021-09-08 20:16:00 +02:00
2021-09-06 19:25:36 +02:00
2021-09-06 19:25:36 +02:00
2021-09-17 01:02:48 +03:00
2021-09-10 22:58:08 +03:00
2021-09-06 19:25:36 +02:00
2021-09-13 14:38:53 +04:30
2021-09-07 13:53:14 +02:00
2021-09-07 20:15:15 +01:00
2021-09-07 13:16:01 +02:00
2021-09-13 14:38:53 +04:30
2021-09-13 14:38:53 +04:30
2021-09-17 01:02:48 +03:00
2021-09-12 11:52:16 +02:00
2021-09-07 15:54:23 +02:00
2021-09-07 13:53:14 +02:00
2021-09-06 01:55:27 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 13:53:14 +02:00
2021-09-07 22:16:25 +02:00
2021-09-01 18:06:14 +02:00
2021-09-06 01:53:26 +02:00
2021-09-06 01:55:27 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 01:18:02 +02:00
2021-09-07 01:18:02 +02:00
2021-09-05 09:48:43 +01:00
2021-09-12 18:24:15 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 13:53:14 +02:00
2021-09-07 14:48:13 +02:00
2021-09-07 22:16:25 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 13:53:14 +02:00
2021-09-07 13:53:14 +02:00
2021-09-07 13:53:14 +02:00
2021-09-10 18:05:46 +03:00