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-04-03 12:36:40 +02:00
2019-08-21 16:48:59 +02:00
2019-11-13 16:37:04 +01:00
2019-11-13 16:37:04 +01:00
2019-04-03 12:36:40 +02:00
2019-05-28 17:31:20 +02:00
2019-07-03 21:20:13 +02:00
2019-11-04 14:03:14 +01:00
2019-08-18 15:59:59 +02:00
2019-08-18 15:59:59 +02:00
2019-08-21 16:48:59 +02:00
2019-08-21 16:48:59 +02:00
2019-10-07 10:11:39 +02:00
2019-11-04 14:03:14 +01:00
2019-10-23 07:46:16 +02:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-10-07 10:11:39 +02:00
2019-10-07 11:32:42 +02:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-10-07 10:11:39 +02:00
2019-10-07 11:32:42 +02:00
2019-11-13 16:37:04 +01:00
2019-11-13 16:37:04 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 15:15:48 +01:00
2019-09-04 11:11:03 +02:00
2019-09-04 11:06:10 +02:00
2019-11-04 14:03:14 +01:00
2019-07-09 15:04:45 +02:00
2019-05-15 21:40:41 +02:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00
2019-11-04 14:03:14 +01:00