about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.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/x86_64/x32/arch-syscall.h
parentc18de3b76ab679acb5a98e27a60fcb7626729f52 (diff)
downloadglibc-master.tar.gz
glibc-master.tar.xz
glibc-master.zip
nptl: initialize rseq area prior to registration HEAD master
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/x86_64/x32/arch-syscall.h')
0 files changed, 0 insertions, 0 deletions