stackprotector.h 285 B

12345678910111213141516
  1. #ifndef _LINUX_STACKPROTECTOR_H
  2. #define _LINUX_STACKPROTECTOR_H 1
  3. #include <linux/compiler.h>
  4. #include <linux/sched.h>
  5. #include <linux/random.h>
  6. #ifdef CONFIG_CC_STACKPROTECTOR
  7. # include <asm/stackprotector.h>
  8. #else
  9. static inline void boot_init_stack_canary(void)
  10. {
  11. }
  12. #endif
  13. #endif