aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/getrandom-internal.h
diff options
context:
space:
mode:
authorMichael Jeanson <mjeanson@efficios.com>2024-11-07 22:23:49 +0100
committerFlorian Weimer <fweimer@redhat.com>2024-11-07 22:23:49 +0100
commit97f60abd25628425971f07e9b0e7f8eec0741235 (patch)
tree20b20195d5bd7beec6bb49ae2086081157e79003 /sysdeps/unix/sysv/linux/getrandom-internal.h
parentc18de3b76ab679acb5a98e27a60fcb7626729f52 (diff)
downloadglibc-97f60abd25628425971f07e9b0e7f8eec0741235.zip
glibc-97f60abd25628425971f07e9b0e7f8eec0741235.tar.gz
glibc-97f60abd25628425971f07e9b0e7f8eec0741235.tar.bz2
nptl: initialize rseq area prior to registration
Per the rseq syscall documentation, 3 fields are required to be initialized by userspace prior to registration, they are 'cpu_id', 'rseq_cs' and 'flags'. Since we have no guarantee that 'struct pthread' is cleared on all architectures, explicitly set those 3 fields prior to registration. Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/getrandom-internal.h')
0 files changed, 0 insertions, 0 deletions