Calvin Buckley
7e4e092653
Kernel: Add a Linux-style getrandom syscall
...
The way it gets the entropy and blasts it to the buffer is pretty
ugly IMHO, but it does work for now. (It should be replaced, by
not truncating a u32.)
It implements an (unused for now) flags argument, like Linux but
instead of OpenBSD's. This is in case we want to distinguish
between entropy sources or any other reason and have to implement
a new syscall later. Of course, learn from Linux's struggles with
entropy sourcing too.
2019-10-13 18:03:21 +02:00
..
2019-10-13 14:39:04 +02:00
2019-09-21 16:31:52 +02:00
2019-10-07 11:32:42 +02:00
2019-10-08 11:10:30 +02:00
2019-10-10 11:58:15 +02:00
2019-10-08 21:44:50 +02:00
2019-09-16 09:01:44 +02:00
2019-10-02 14:13:49 +02: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-10-07 10:11:39 +02:00
2019-06-04 07:15:44 -07:00
2019-07-03 16:57:37 +02:00
2019-10-13 08:45:49 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +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-10-07 10:11:39 +02:00
2019-05-17 21:59:48 +02: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-09-09 08:14:00 +02:00
2019-08-02 19:22:48 +02:00
2019-08-11 08:22:42 +02:00
2019-09-30 08:57:01 +02:00
2019-09-06 15:36:54 +02:00
2019-04-01 21:43:07 +02:00
2019-10-12 19:30:59 +02:00
2019-10-12 19:30:59 +02:00
2019-10-13 08:45:49 +02:00
2019-10-07 10:11:39 +02:00
2019-04-30 14:47:22 +02: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-10-13 18:03:21 +02:00
2019-10-13 18:03:21 +02:00
2019-07-03 21:20:13 +02:00
2019-07-09 15:04:45 +02:00
2019-09-28 13:59:49 +02:00
2019-05-28 17:31:20 +02:00
2019-10-13 15:07:23 +02:00
2019-10-07 16:39:47 +02:00
2019-09-14 20:21:10 +02:00
2019-09-04 11:27:14 +02:00
2019-09-04 11:27:14 +02:00
2019-09-16 09:01:44 +02:00
2019-08-11 16:30:43 +02:00
2019-06-04 07:15:44 -07:00
2019-10-13 18:03:21 +02:00
2019-10-13 18:03:21 +02:00
2019-10-13 14:36:55 +02:00
2019-10-13 14:36:55 +02:00
2019-10-02 18:20:11 +02:00