Blame view

include/linux/stackprotector.h 285 Bytes
9b5609fd7   Ingo Molnar   stackprotector: i...
1
2
  #ifndef _LINUX_STACKPROTECTOR_H
  #define _LINUX_STACKPROTECTOR_H 1
420594296   Ingo Molnar   x86: fix the stac...
3
4
5
  #include <linux/compiler.h>
  #include <linux/sched.h>
  #include <linux/random.h>
9b5609fd7   Ingo Molnar   stackprotector: i...
6
7
  #ifdef CONFIG_CC_STACKPROTECTOR
  # include <asm/stackprotector.h>
18aa8bb12   Ingo Molnar   stackprotector: a...
8
9
10
11
  #else
  static inline void boot_init_stack_canary(void)
  {
  }
9b5609fd7   Ingo Molnar   stackprotector: i...
12
13
14
  #endif
  
  #endif