[LTP] [PATCH] kvm: Fix stack access mode in KVM test ELF headers

Petr Vorel pvorel@suse.cz
Wed Jun 1 16:27:37 CEST 2022


Hi Martin, Fabian,

> When the linker converts guest payload binary into a linkable resource
> object file, it somehow defaults to requesting executable stack section
> for the final test binary. This trips some build-time security checks
> on newer systems. Add explicit linker option to make the stack
> non-executable.

LGTM, thanks!

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


More information about the ltp mailing list