Brian Gianforcaro
7e6fbef8db
Kernel: Partial usage of Userspace<T> for the poll syscall
...
This change mostly converts poll to Userspace<T> with the caveat
of the fds member of SC_poll_params. It's current usage is a bit
too gnarly for me to take on right now, this appears to need a lot
more love.
In addition to enlightening the syscall to use Userspace<T>, I've
also re-worked most of the handling to use validate_read_and_copy
instead of just directly de-referencing the user pointer. We also
appeared to be missing a re-evaluation of the fds array after the
thread block is awoken.
2020-08-06 10:22:44 +02:00
..
2020-08-02 11:01:00 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:40:57 +02:00
2020-07-31 16:34:47 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:40:57 +02:00
2020-08-05 09:36:53 +02:00
2020-08-01 11:37:40 +02:00
2020-08-04 18:17:16 +02:00
2020-07-30 23:40:57 +02:00
2020-08-05 14:36:48 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:50:31 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:40:57 +02:00
2020-08-05 13:03:50 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:52:28 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:40:57 +02:00
2020-07-31 00:17:25 +02:00
2020-08-03 18:23:00 +02:00
2020-08-03 18:40:28 +02:00
2020-07-30 23:40:57 +02:00
2020-08-02 11:01:00 +02:00
2020-08-05 09:36:53 +02:00
2020-08-05 09:36:53 +02:00
2020-07-30 23:40:57 +02:00
2020-07-31 01:01:41 +02:00
2020-08-05 09:36:53 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:50:31 +02:00
2020-08-02 10:56:43 +02:00
2020-08-01 11:37:40 +02:00
2020-08-02 17:15:11 +02:00
2020-08-02 00:29:04 +02:00
2020-07-30 23:40:57 +02:00
2020-08-04 18:17:16 +02:00
2020-08-05 09:36:53 +02:00
2020-07-30 23:40:57 +02:00
2020-08-05 09:36:53 +02:00
2020-08-02 11:01:00 +02:00
2020-08-02 20:53:48 +02:00
2020-08-06 10:22:44 +02:00
2020-07-30 23:40:57 +02:00
2020-08-02 10:56:33 +02:00
2020-08-02 17:15:11 +02:00
2020-07-30 23:40:57 +02:00
2020-08-02 17:15:11 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:40:57 +02:00
2020-08-04 18:17:16 +02:00
2020-07-31 16:28:37 +02:00
2020-07-30 23:40:57 +02:00
2020-07-31 18:26:33 +02:00
2020-08-05 09:36:53 +02:00
2020-07-30 23:40:57 +02:00
2020-08-04 18:17:16 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:40:57 +02:00
2020-07-30 23:40:57 +02:00
2020-08-03 12:54:51 +02:00
2020-07-31 16:38:47 +02:00
2020-08-05 09:36:53 +02:00
2020-08-01 11:37:40 +02:00
2020-08-04 18:17:16 +02:00