1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-06-03 13:22:05 +03:00
Florian Weimer 4f5704ea34 powerpc: Use correct procedure call standard for getrandom vDSO call (bug 32440)
A plain indirect function call does not work on POWER because
success and failure are signaled through a flag register, and
not via the usual Linux negative return value convention.

This has potential security impact, in two ways: the return value
could be out of bounds (EAGAIN is 11 on powerpc6le), and no
random bytes have been written despite the non-error return value.

Fixes commit 461cab1de747f3842f27a5d24977d78d561d45f9 ("linux: Add
support for getrandom vDSO").

Reported-by: Ján Stanček <jstancek@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2024-12-11 17:49:04 +01:00
..
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-12-10 20:42:20 +00:00
2024-01-08 17:09:36 -03:00
2024-01-08 17:09:36 -03:00
2024-06-12 15:25:54 -03:00
2024-11-28 14:03:25 -03:00
2024-11-28 14:03:25 -03:00
2024-11-28 14:03:25 -03:00
2024-11-28 14:03:25 -03:00
2024-11-28 14:03:25 -03:00
2024-11-28 14:03:25 -03:00
2024-01-08 17:09:36 -03:00
2024-11-28 14:03:25 -03:00
2024-11-28 14:03:25 -03:00
2024-08-01 05:06:12 -07:00
2024-10-08 13:28:21 -03:00
2024-01-08 17:09:36 -03:00
2024-01-08 17:09:36 -03:00
2024-01-08 17:09:36 -03:00
2024-01-08 17:09:36 -03:00
2024-06-04 12:09:15 -05:00
2024-01-08 17:09:36 -03:00
2024-01-08 17:09:36 -03:00
2024-08-01 05:06:12 -07:00
2024-01-08 17:09:36 -03:00
2024-11-28 14:03:25 -03:00
2024-11-28 14:03:25 -03:00