]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86_64: Use __seg_fs qualifiers in {STACK, POINTER}_CHK_GUARD macros
authorUros Bizjak <ubizjak@gmail.com>
Tue, 9 Sep 2025 16:41:53 +0000 (18:41 +0200)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 10 Sep 2025 12:32:17 +0000 (05:32 -0700)
commitf402c54483bd7686d95df25d072edaf0964cdabe
tree328603126cc395379ebbd83b223c8ce05149594e
parent4be94f6a9c0d31b9c16302059658001c294dc449
x86_64: Use __seg_fs qualifiers in {STACK, POINTER}_CHK_GUARD macros

Use the __seg_fs named address space qualifiers to cast reads of
the guard values in the TCB as %fs: prefixed addresses.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Cc: H.J.Lu <hjl.tools@gmail.com>
Cc: Florian Weimer <fweimer@redhat.com>
Cc: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
sysdeps/x86_64/stackguard-macros.h