DragonFly BSD
DragonFly kernel List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

libkern stack_protector


From: Robert Connolly <robert@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jan 2005 17:29:03 -0500

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]