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