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