diff options
author | Eric Hameleers <alien@slackware.com> | 2016-10-23 10:22:57 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2016-10-23 10:22:57 +0000 |
commit | c94c2ffa360615db221a2efbf8e527f26a8d3f91 (patch) | |
tree | 3fd805cbd7819d35d9c8f5f156eb4ff32b3ad8d8 | |
parent | 24e8779d6d47560e349014fdce4511010049e7a7 (diff) | |
download | asb-c94c2ffa360615db221a2efbf8e527f26a8d3f91.tar.gz asb-c94c2ffa360615db221a2efbf8e527f26a8d3f91.tar.xz |
Initial revision
-rw-r--r-- | veracrypt/build/patches/veracrypt_no_execstack.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/veracrypt/build/patches/veracrypt_no_execstack.patch b/veracrypt/build/patches/veracrypt_no_execstack.patch new file mode 100644 index 00000000..f5f2dd0c --- /dev/null +++ b/veracrypt/build/patches/veracrypt_no_execstack.patch @@ -0,0 +1,60 @@ +--- src/Crypto/Aes_hw_cpu.asm.old 2011-06-01 17:12:53.078000001 -0400 ++++ src/Crypto/Aes_hw_cpu.asm 2011-06-01 17:12:53.080000002 -0400 +@@ -328,3 +328,12 @@ + + + %endif ; __BITS__ != 16 ++ %ifidn __OUTPUT_FORMAT__,elf ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif ++ %ifidn __OUTPUT_FORMAT__,elf32 ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif ++ %ifidn __OUTPUT_FORMAT__,elf64 ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif +--- src/Crypto/AesSmall_x86.asm.old 2011-06-01 17:12:53.084000002 -0400 ++++ src/Crypto/AesSmall_x86.asm 2011-06-01 17:12:53.086000002 -0400 +@@ -1442,3 +1442,12 @@ + db v8(0xe1),v8(0x69),v8(0x14),v8(0x63),v8(0x55),v8(0x21),v8(0x0c),v8(0x7d) + + %endif ++ %ifidn __OUTPUT_FORMAT__,elf ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif ++ %ifidn __OUTPUT_FORMAT__,elf32 ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif ++ %ifidn __OUTPUT_FORMAT__,elf64 ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif +--- src/Crypto/Aes_x64.asm.old 2011-06-01 17:12:53.090000002 -0400 ++++ src/Crypto/Aes_x64.asm 2011-06-01 17:12:53.092000002 -0400 +@@ -905,3 +905,12 @@ + %endif + + %endif ++ %ifidn __OUTPUT_FORMAT__,elf ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif ++ %ifidn __OUTPUT_FORMAT__,elf32 ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif ++ %ifidn __OUTPUT_FORMAT__,elf64 ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif +--- src/Crypto/Aes_x86.asm.old 2011-06-01 17:12:53.096000002 -0400 ++++ src/Crypto/Aes_x86.asm 2011-06-01 17:12:53.097000002 -0400 +@@ -644,3 +644,12 @@ + do_exit + + %endif ++ %ifidn __OUTPUT_FORMAT__,elf ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif ++ %ifidn __OUTPUT_FORMAT__,elf32 ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif ++ %ifidn __OUTPUT_FORMAT__,elf64 ++ section .note.GNU-stack noalloc noexec nowrite progbits ++ %endif |