2008-02-14 16:41:09 +08:00
|
|
|
#ifndef _LINUX_STACKPROTECTOR_H
|
|
|
|
#define _LINUX_STACKPROTECTOR_H 1
|
|
|
|
|
2008-02-14 16:44:08 +08:00
|
|
|
#include <linux/compiler.h>
|
|
|
|
#include <linux/sched.h>
|
|
|
|
#include <linux/random.h>
|
|
|
|
|
2008-02-14 16:41:09 +08:00
|
|
|
#ifdef CONFIG_CC_STACKPROTECTOR
|
|
|
|
# include <asm/stackprotector.h>
|
2008-02-14 16:42:02 +08:00
|
|
|
#else
|
|
|
|
static inline void boot_init_stack_canary(void)
|
|
|
|
{
|
|
|
|
}
|
2008-02-14 16:41:09 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|