From dc6908ab44c3a3fc78319422410b57d3b7fb6c0c Mon Sep 17 00:00:00 2001 From: samuel Date: Tue, 11 Dec 2018 23:49:33 +0000 Subject: Ensure x86 stack is fortified, fixed #15335. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- coroutine/x86/Context.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'coroutine/x86') diff --git a/coroutine/x86/Context.S b/coroutine/x86/Context.S index 5fc0cccc24..d6a0a2def7 100644 --- a/coroutine/x86/Context.S +++ b/coroutine/x86/Context.S @@ -37,3 +37,7 @@ _coroutine_transfer: # Jump to the address on the stack ret + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif -- cgit v1.2.3