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-04-22 21:15:54 +02:00
2021-08-04 11:01:16 +02:00
2021-07-27 13:15:16 +02:00
2021-09-17 01:02:48 +03:00
2021-04-22 11:22:27 +02: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-08-24 01:57:11 +02:00
2021-08-24 01:57:11 +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-08-04 20:14:54 +02:00
2021-07-27 13:15:16 +02:00
2021-09-07 20:15:15 +01:00
2021-07-29 10:38:31 +02:00
2021-07-27 13:15:16 +02: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-08-10 21:55:48 +02:00
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-08-04 19:53:04 +02:00
2021-08-04 19:53:04 +02:00
2021-09-06 01:55:27 +02:00
2021-09-10 18:05:46 +03:00
2021-08-22 03:34:10 +02:00
2021-07-27 13:15:16 +02: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-07-11 21:37:38 +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-08-14 19:58:11 +02:00
2021-09-07 13:53:14 +02:00
2021-09-07 13:53:14 +02:00
2021-08-25 12:12:59 +02:00
2021-08-24 01:57:11 +02:00
2021-08-24 01:57:11 +02:00
2021-09-07 13:53:14 +02:00
2021-09-10 18:05:46 +03:00