repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update NEWS and ChangeLog with two tile bug fixes.
[glibc.git]
/
sysdeps
/
x86_64
/
stackguard-macros.h
blob
1948800cd0086e292d57aff064a0a4da7c0c945d
1
#include <stdint.h>
2
3
#define STACK_CHK_GUARD \
4
({ uintptr_t x; \
5
asm (
"mov %%fs:%c1, %0"
:
"=r"
(x) \
6
:
"i"
(offsetof (tcbhead_t, stack_guard))); x; })
7
8
#define POINTER_CHK_GUARD \
9
({ uintptr_t x; \
10
asm (
"mov %%fs:%c1, %0"
:
"=r"
(x) \
11
:
"i"
(offsetof (tcbhead_t, pointer_guard))); x; })