git: libcrypto: Enable library to be loaded in non-executable stack

John Marino marino at crater.dragonflybsd.org
Sun Sep 6 02:06:24 PDT 2015


commit fbf2f1c697bc6902d12264313e5f11362896dcc3
Author: John Marino <draco at marino.st>
Date:   Sun Sep 6 10:58:37 2015 +0200

    libcrypto: Enable library to be loaded in non-executable stack
    
    I scanned my system for libraries that were loading on executable sections
    of the stack and found two: libc and libcrypto.  After adding a GNU-stack
    ELF note to each assembly file, the result is the crypto library now loads
    in a non-executable stack.

Summary of changes:
 secure/lib/libcrypto/asm/aes-x86_64.s        | 1 +
 secure/lib/libcrypto/asm/aesni-sha1-x86_64.s | 1 +
 secure/lib/libcrypto/asm/aesni-x86_64.s      | 1 +
 secure/lib/libcrypto/asm/bsaes-x86_64.s      | 1 +
 secure/lib/libcrypto/asm/cmll-x86_64.s       | 1 +
 secure/lib/libcrypto/asm/ghash-x86_64.s      | 1 +
 secure/lib/libcrypto/asm/md5-x86_64.s        | 1 +
 secure/lib/libcrypto/asm/modexp512-x86_64.s  | 1 +
 secure/lib/libcrypto/asm/rc4-md5-x86_64.s    | 1 +
 secure/lib/libcrypto/asm/rc4-x86_64.s        | 1 +
 secure/lib/libcrypto/asm/sha1-x86_64.s       | 1 +
 secure/lib/libcrypto/asm/sha256-x86_64.s     | 1 +
 secure/lib/libcrypto/asm/sha512-x86_64.s     | 1 +
 secure/lib/libcrypto/asm/vpaes-x86_64.s      | 1 +
 secure/lib/libcrypto/asm/wp-x86_64.s         | 1 +
 secure/lib/libcrypto/asm/x86_64-gf2m.s       | 1 +
 secure/lib/libcrypto/asm/x86_64-mont.s       | 1 +
 secure/lib/libcrypto/asm/x86_64-mont5.s      | 1 +
 secure/lib/libcrypto/asm/x86_64cpuid.s       | 1 +
 19 files changed, 19 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fbf2f1c697bc6902d12264313e5f11362896dcc3


-- 
DragonFly BSD source repository


More information about the Commits mailing list