We don't require an executable stack for our x86 setjmp implementations. Note that, so we don't get a warning when we start using this implementation for sandbox when compiled on x86. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- arch/x86/lib/setjmp_32.S | 2 ++ arch/x86/lib/setjmp_64.S | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/x86/lib/setjmp_32.S b/arch/x86/lib/setjmp_32.S index 5814623f9478..cf340d35d8fd 100644 --- a/arch/x86/lib/setjmp_32.S +++ b/arch/x86/lib/setjmp_32.S @@ -10,6 +10,8 @@ #include <linux/linkage.h> #include <asm-generic/pointer.h> +.section .note.GNU-stack,"",%progbits + .text .align 8 diff --git a/arch/x86/lib/setjmp_64.S b/arch/x86/lib/setjmp_64.S index bfa152149975..a0be4c0d7858 100644 --- a/arch/x86/lib/setjmp_64.S +++ b/arch/x86/lib/setjmp_64.S @@ -8,6 +8,8 @@ #include <linux/linkage.h> #include <asm-generic/pointer.h> +.section .note.GNU-stack,"",%progbits + .text .align 8 -- 2.39.2