aboutsummaryrefslogtreecommitdiff
path: root/shadow/shadow.h
diff options
context:
space:
mode:
authorMichael Jeanson <mjeanson@efficios.com>2025-02-14 13:54:22 -0500
committerMichael Jeanson <mjeanson@efficios.com>2025-02-21 22:21:25 +0000
commit689a62a4217fae78b9ce0db781dc2a421f2b1ab4 (patch)
treeb826362f3b5463bf593ef654fcbf082be1f2560d /shadow/shadow.h
parent41f6684557255c8bdb7b5ec5bfe63c4e6c6cd5cf (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
nptl: clear the whole rseq area before registrationHEADmaster
Due to the extensible nature of the rseq area we can't explictly initialize fields that are not part of the ABI yet. It was agreed with upstream that all new fields will be documented as zero initialized by userspace. Future kernels configured with CONFIG_DEBUG_RSEQ will validate the content of all fields during registration. Replace the explicit field initialization with a memset of the whole rseq area which will cover fields as they are added to future kernels. Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'shadow/shadow.h')
0 files changed, 0 insertions, 0 deletions