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