Sergey Bugaev
cfdbb712fb
Kernel: Fix failing in can_read()/can_write()
...
Now that the SystemMonitor queries which open files can be read and written to,
having can_read()/can_write() unconditionally call ASSERT_NOT_REACHED() leads
to system crashes when inspecting the WindowServer.
Instead, just return true from can_read()/can_write() (indicating that the
read()/write() syscalls should not block) and return -EINVAL when trying to
actually read from or write to these devices.
2019-11-13 16:37:04 +01:00
..
2019-11-09 22:42:19 +01:00
2019-11-13 16:37:04 +01:00
2019-11-09 22:42:19 +01:00
2019-11-04 12:04:35 +01:00
2019-11-09 22:42:19 +01:00
2019-11-06 13:58:08 +01:00
2019-11-08 22:39:29 +01:00
2019-08-06 21:09:24 +02:00
2019-06-30 10:41:26 +02:00
2019-06-07 20:02:01 +02:00
2019-11-03 13:11:43 +01:00
2019-11-03 13:11:43 +01:00
2019-11-03 09:26:22 +01:00
2019-11-11 13:13:08 +01:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-10-18 15:58:06 +02:00
2019-10-18 15:58:06 +02:00
2019-08-18 07:40:02 +02:00
2019-10-07 10:11:39 +02:00
2019-08-11 08:22:42 +02:00
2019-11-09 22:42:19 +01:00
2019-11-03 09:26:22 +01:00
2019-07-13 08:00:24 +02:00
2019-07-09 15:04:43 +02:00
2019-07-03 21:20:13 +02:00
2019-09-27 14:25:42 +02:00
2019-08-06 20:04:12 +02:00
2019-09-06 15:36:54 +02:00
2019-07-03 21:20:13 +02:00
2019-07-24 10:25:43 +02:00
2019-09-06 15:36:54 +02:00
2019-11-03 13:17:55 +01:00
2019-08-02 19:22:48 +02:00
2019-08-11 08:22:42 +02:00
2019-11-08 17:36:29 +01:00
2019-11-06 13:36:37 +01:00
2019-11-08 17:38:23 +01:00
2019-10-12 19:30:59 +02:00
2019-10-12 19:30:59 +02:00
2019-11-12 10:26:50 +01:00
2019-11-06 13:45:21 +01:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-08-14 06:28:53 +02:00
2019-08-14 06:28:53 +02:00
2019-11-11 13:13:08 +01:00
2019-11-10 13:51:27 +01:00
2019-07-03 21:20:13 +02:00
2019-11-04 14:03:14 +01:00
2019-09-28 13:59:49 +02:00
2019-11-05 18:56:43 +01:00
2019-11-06 16:30:06 +01:00
2019-09-14 20:21:10 +02:00
2019-11-03 21:11:08 +01:00
2019-09-04 11:27:14 +02:00
2019-11-06 13:07:07 +01:00
2019-08-11 16:30:43 +02:00
2019-11-12 10:26:50 +01:00
2019-11-09 22:42:19 +01:00
2019-11-10 21:19:08 +01:00
2019-11-06 16:30:06 +01:00
2019-11-06 16:30:06 +01:00
2019-11-10 13:51:27 +01:00