about summary refs log tree commit diff
path: root/localedata/charmaps/ES
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-05 10:27:29 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-07-08 10:23:10 -0300
commita03631124602f2dcef40d46660b96d2e51c44bfd (patch)
tree9a6009db7fe617f6f64fd5002a473c6a06225018 /localedata/charmaps/ES
parentd2cbfcf1d9a4b539007fe04d33e0bdb82d02a2f2 (diff)
downloadglibc-release/2.39/master.tar.gz
glibc-release/2.39/master.tar.xz
glibc-release/2.39/master.zip
stdlib: fix arc4random fallback to /dev/urandom (BZ 31612) release/2.39/master
The __getrandom_nocancel used by __arc4random_buf uses
INLINE_SYSCALL_CALL (which returns -1/errno) and the loop checks for
the return value instead of errno to fallback to /dev/urandom.

The malloc code now uses __getrandom_nocancel_nostatus, which uses
INTERNAL_SYSCALL_CALL, so there is no need to use the variant that does
not set errno (BZ#29624).

Checked on x86_64-linux-gnu.

Reviewed-by: Xi Ruoyao <xry111@xry111.site>
(cherry picked from commit 184b9e530e6326e668709826903b6d30dc6cac3f)
Diffstat (limited to 'localedata/charmaps/ES')
0 files changed, 0 insertions, 0 deletions