From ed07ff36ae7ae121e48d6c0579ff3fd5796bf57a Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Tue, 22 May 2018 09:46:18 +0200 Subject: [PATCH 1/2] compiler-clang.h: Add __nostackprotector function attribute --- include/linux/compiler-clang.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/compiler-clang.h b/include/linux/compiler-clang.h index 070f85d92c15..1da957c33140 100644 --- a/include/linux/compiler-clang.h +++ b/include/linux/compiler-clang.h @@ -21,3 +21,8 @@ #ifdef __noretpoline #undef __noretpoline #endif + +/* For details see . + * This feature requires Clang version 7 >= svn331925. + */ +#define __nostackprotector attribute((no_stack_protector)) -- 2.17.0