Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvm: Fix stack access mode in KVM test ELF headers
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. Suggested-by: Fabian Vogt <fvogt@suse.com> Signed-off-by: Martin Doucha <mdoucha@suse.cz> Reviewed-by: Petr Vorel <pvorel@suse.cz> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
- Loading branch information