diff options
author | root <root@rshg054.dnsready.net> | 2011-10-16 23:14:27 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-16 23:14:27 +0000 |
commit | d286d980d2ff42151e9bc81ec348c864c24f9cc4 (patch) | |
tree | 0df8ee0846c9886fd41db46eba16f7877d70af93 /extra/gnutls/addGNU-stack.diff | |
parent | 8fd7bc607a8e4b26853b4263153a736767b163cd (diff) |
Sun Oct 16 23:14:27 UTC 2011
Diffstat (limited to 'extra/gnutls/addGNU-stack.diff')
-rw-r--r-- | extra/gnutls/addGNU-stack.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/gnutls/addGNU-stack.diff b/extra/gnutls/addGNU-stack.diff new file mode 100644 index 000000000..8324b5a58 --- /dev/null +++ b/extra/gnutls/addGNU-stack.diff @@ -0,0 +1,13 @@ +Description: Prevent executable stack +Author: Andreas Metzler <ametzler@debian.org> + +--- gnutls28-3.0.4.orig/lib/accelerated/x86/asm/padlock-common.s ++++ gnutls28-3.0.4/lib/accelerated/x86/asm/padlock-common.s +@@ -38,3 +38,7 @@ is_padlock_nano: + xorl %eax,%eax + ret + .size is_padlock_nano,.-is_padlock_nano ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif |