commit | 8908ee4b164abe6f038b74d2067e6271346422ac | [log] [tgz] |
---|---|---|
author | Dave Young <dyoung@redhat.com> | Mon Dec 10 11:07:32 2012 +0800 |
committer | Simon Horman <horms@verge.net.au> | Thu Dec 13 09:14:35 2012 +0900 |
tree | 44d95862cb59ad019b014b75921c12977d5a8946 | |
parent | 1e91e0a30f2236e070b5d1fb01b2b437993d001d [diff] |
ppc: exec stack fix execstack shows ppc kexec has an executable stack, this leaves it vulnerable to buffer overflows. Fix it by adding ASFLAGS --noexecstack Tested on PowerMac G4 Macmini: Without the patch: dave@darkstar:~/kexec-tools$ execstack build/sbin/kexec X build/sbin/kexec With the patch: dave@darkstar:~/kexec-tools$ execstack build/sbin/kexec - build/sbin/kexec Signed-off-by: Dave Young <dyoung@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au>