Back to index

glibc  2.9
dl-osinfo.h
Go to the documentation of this file.
00001 #include <stdint.h>
00002 
00003 static inline uintptr_t __attribute__ ((always_inline))
00004 _dl_setup_stack_chk_guard (void)
00005 {
00006   uintptr_t ret = 0;
00007   unsigned char *p = (unsigned char *) &ret;
00008   p[sizeof (ret) - 1] = 255;
00009   p[sizeof (ret) - 2] = '\n';
00010   p[0] = 0;
00011   return ret;
00012 }