kexec: ppc exec stack fix

Simon Horman horms at verge.net.au
Wed Dec 12 19:15:55 EST 2012


On Mon, Dec 10, 2012 at 11:07:32AM +0800, Dave Young wrote:
> 
> 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 at darkstar:~/kexec-tools$ execstack build/sbin/kexec 
> X build/sbin/kexec
> 
> With the patch:
> dave at darkstar:~/kexec-tools$ execstack build/sbin/kexec 
> - build/sbin/kexec
> 
> Signed-off-by: Dave Young <dyoung at redhat.com>

Thanks Dave, applied.



More information about the kexec mailing list