1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-06-03 13:22:05 +03:00
Xi Ruoyao 5a85786a90
Make __getrandom_nocancel set errno and add a _nostatus version
The __getrandom_nocancel function returns errors as negative values
instead of errno.  This is inconsistent with other _nocancel functions
and it breaks "TEMP_FAILURE_RETRY (__getrandom_nocancel (p, n, 0))" in
__arc4random_buf.  Use INLINE_SYSCALL_CALL instead of
INTERNAL_SYSCALL_CALL to fix this issue.

But __getrandom_nocancel has been avoiding from touching errno for a
reason, see BZ 29624.  So add a __getrandom_nocancel_nostatus function
and use it in tcache_key_initialize.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2024-01-12 14:23:11 +01:00
..
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-09 13:55:51 -03:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-08 17:09:36 -03:00
2024-01-08 17:09:36 -03:00
2023-07-17 10:08:10 -04:00
2023-07-17 10:08:10 -04: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-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-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-01-08 17:09:36 -03:00
2024-01-08 17:09:36 -03:00
2024-01-08 17:09:36 -03:00
2023-09-05 13:08:59 -03:00
2024-01-08 17:09:36 -03:00