selftests/x86: Add missing .note.GNU-stack sections
authorAndy Lutomirski <luto@kernel.org>
Mon, 2 Nov 2020 19:51:11 +0000 (11:51 -0800)
committerBorislav Petkov <bp@suse.de>
Tue, 24 Nov 2020 12:55:39 +0000 (13:55 +0100)
commitaeaaf005da1de075929e56562dced4a58238efc4
tree193bf40c6b1057d6c73f1893786db5a78b651c0e
parent716572b0003ef67a4889bd7d85baf5099c5a0248
selftests/x86: Add missing .note.GNU-stack sections

Several of the x86 selftests end up with executable stacks because
the asm was missing the annotation that says that they are modern
and don't need executable stacks.  Add the annotations.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/6f043c03e9e0e4557e1e975a63b07a4d18965a68.1604346596.git.luto@kernel.org
tools/testing/selftests/x86/raw_syscall_helper_32.S
tools/testing/selftests/x86/thunks.S