mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 20:21:07 +00:00
7 lines
170 B
C
7 lines
170 B
C
|
#include <stdint.h>
|
||
|
|
||
|
#define STACK_CHK_GUARD \
|
||
|
({ uintptr_t x; \
|
||
|
asm ("mov %%fs:%c1, %0" : "=r" (x) \
|
||
|
: "i" (offsetof (tcbhead_t, stack_guard))); x; })
|