qemu: apply PaX markings
This commit is contained in:
parent
09cf92ccee
commit
dae5f53d25
|
@ -60,6 +60,13 @@ stdenv.mkDerivation rec {
|
||||||
++ optional stdenv.isDarwin "--enable-cocoa"
|
++ optional stdenv.isDarwin "--enable-cocoa"
|
||||||
++ optional stdenv.isLinux "--enable-linux-aio";
|
++ optional stdenv.isLinux "--enable-linux-aio";
|
||||||
|
|
||||||
|
postFixup =
|
||||||
|
''
|
||||||
|
for exe in $out/bin/qemu-system-* ; do
|
||||||
|
paxmark m $exe
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
# Add a ‘qemu-kvm’ wrapper for compatibility/convenience.
|
# Add a ‘qemu-kvm’ wrapper for compatibility/convenience.
|
||||||
|
|
Loading…
Reference in New Issue