diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-10-28 11:36:12 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-10-28 17:12:18 +0200 |
commit | 9b685f96f4a725ce996aeab7d4b7d665f1c75eeb (patch) | |
tree | 6152d8618d35b2e006d0725aec8b0dc9472939c1 /malloc/malloc-internal.h | |
parent | 09fa7525b6c4318c93b9f224fd36c84173d6fcb2 (diff) | |
download | glibc-fw/heap-protector.tar.gz |
malloc: Implement heap protectorfw/heap-protector
Diffstat (limited to 'malloc/malloc-internal.h')
-rw-r--r-- | malloc/malloc-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/malloc/malloc-internal.h b/malloc/malloc-internal.h index a3df8c30ba..e723539dbf 100644 --- a/malloc/malloc-internal.h +++ b/malloc/malloc-internal.h @@ -81,5 +81,8 @@ void __malloc_fork_unlock_parent (void) internal_function attribute_hidden; /* Called in the child process after a fork. */ void __malloc_fork_unlock_child (void) internal_function attribute_hidden; +/* Random values for the heap protector. */ +extern INTERNAL_SIZE_T __malloc_header_guard attribute_hidden; +extern INTERNAL_SIZE_T __malloc_footer_guard attribute_hidden; #endif /* _MALLOC_INTERNAL_H */ |