Files
third_party_Linux_Kernel/include/linux/stackprotector.h
T
maguangyao 7a09b52600 fix:add Linux headfiles back for toolchain compiling
Change-Id: I8420a745de2a76dd4c0ea79b24da12653cbe7b52
2021-03-30 15:22:10 +08:00

17 lines
285 B
C

#ifndef _LINUX_STACKPROTECTOR_H
#define _LINUX_STACKPROTECTOR_H 1
#include <linux/compiler.h>
#include <linux/sched.h>
#include <linux/random.h>
#ifdef CONFIG_CC_STACKPROTECTOR
# include <asm/stackprotector.h>
#else
static inline void boot_init_stack_canary(void)
{
}
#endif
#endif