forked from Minki/linux
stackprotector: include files
create <linux/stackprotector.h> for core kernel files to include. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
72370f2a5b
commit
9b5609fd77
4
include/asm-x86/stackprotector.h
Normal file
4
include/asm-x86/stackprotector.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _ASM_STACKPROTECTOR_H
|
||||
#define _ASM_STACKPROTECTOR_H 1
|
||||
|
||||
#endif
|
8
include/linux/stackprotector.h
Normal file
8
include/linux/stackprotector.h
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef _LINUX_STACKPROTECTOR_H
|
||||
#define _LINUX_STACKPROTECTOR_H 1
|
||||
|
||||
#ifdef CONFIG_CC_STACKPROTECTOR
|
||||
# include <asm/stackprotector.h>
|
||||
#endif
|
||||
|
||||
#endif
|
@ -14,6 +14,7 @@
|
||||
#include <linux/proc_fs.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/syscalls.h>
|
||||
#include <linux/stackprotector.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/delay.h>
|
||||
|
Loading…
Reference in New Issue
Block a user