diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2012-02-12 20:49:17 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2012-02-12 20:49:17 +1100 |
commit | 34de69aeddad98382505e6b894e9bbf83b302560 (patch) | |
tree | 2be97bda8a42e7c02bf1ad16beba3b527170094f /src | |
parent | 71396bb948f74a61619d05325280fa3830f5c13f (diff) | |
download | flac-34de69aeddad98382505e6b894e9bbf83b302560.tar.gz |
Disable executable stack in libFLAC.so.
This allows programs using it to run correctly on SE Linux systems, and
with exec-shield.
Patch from Russell Coker <russell@coker.com.au> via Debian.
Diffstat (limited to 'src')
-rw-r--r-- | src/libFLAC/ia32/nasm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libFLAC/ia32/nasm.h b/src/libFLAC/ia32/nasm.h index a0fb7247..afc3e12a 100644 --- a/src/libFLAC/ia32/nasm.h +++ b/src/libFLAC/ia32/nasm.h @@ -73,3 +73,6 @@ _%1: %1: %endmacro + +section .note.GNU-stack progbits noalloc noexec nowrite align=1 + |