diff options
author | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-11 23:49:33 +0000 |
---|---|---|
committer | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-11 23:49:33 +0000 |
commit | dc6908ab44c3a3fc78319422410b57d3b7fb6c0c (patch) | |
tree | 60361548fd7db4ae2d129d99513b1f0ec1ba01e2 /coroutine | |
parent | 20c99b1ff57bd8e55e443faa406c0a344d9be139 (diff) | |
download | ruby-dc6908ab44c3a3fc78319422410b57d3b7fb6c0c.tar.gz |
Ensure x86 stack is fortified, fixed #15335.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'coroutine')
-rw-r--r-- | coroutine/x86/Context.S | 4 |
1 files changed, 4 insertions, 0 deletions
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 |