about summary refs log tree commit diff
path: root/elf/tst-noload.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-01-12 09:17:09 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-01-12 09:50:54 -0300
commitf430293d842031f2afc3013f156e1018065e480e (patch)
tree0d2f41076707b5b25b41124ba169e0a7dab0a542 /elf/tst-noload.c
parent0400f928335a5e04c788e1c831d8825d42612c49 (diff)
downloadglibc-f430293d842031f2afc3013f156e1018065e480e.tar.gz
glibc-f430293d842031f2afc3013f156e1018065e480e.tar.xz
glibc-f430293d842031f2afc3013f156e1018065e480e.zip
posix: consume less entropy on tempname
The first getrandom is used only for __GT_NOCREATE, which is inherently
insecure and can use the entropy as a small improvement.  On the
second and later attempts it might help against DoS attacks.

It sync with gnulib commit 854fbb81d91f7a0f2b463e7ace2499dee2f380f2.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'elf/tst-noload.c')
0 files changed, 0 insertions, 0 deletions