libkern stack_protector

Robert Connolly robert at linuxfromscratch.org
Fri Jan 28 14:38:10 PST 2005


Hello. In regards to your:
src/sys/libkern/stack_protector.c

You have:
#if BYTE_ORDER == LITTLE_ENDIAN
int __guard = 0x00000aff;
#else
int __guard = 0xff0a0000;
#endif

Why do you check for endianness? 

robert





More information about the Kernel mailing list