binutils: Add PaX patch
This commit is contained in:
parent
ff05d11dca
commit
86c17c42be
|
@ -27,6 +27,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# Make binutils output deterministic by default.
|
# Make binutils output deterministic by default.
|
||||||
./deterministic.patch
|
./deterministic.patch
|
||||||
|
|
||||||
|
# Always add PaX flags section to ELF files.
|
||||||
|
# This is needed, for instance, so that running "ldd" on a binary that is
|
||||||
|
# PaX-marked to disable mprotect doesn't fail with permission denied.
|
||||||
|
./pt-pax-flags-20121023.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
|
1786
pkgs/development/tools/misc/binutils/pt-pax-flags-20121023.patch
Normal file
1786
pkgs/development/tools/misc/binutils/pt-pax-flags-20121023.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user