Skip to content

Commit 445a6a2

Browse files
amlutogregkh
authored andcommitted
selftests/x86: Add a missing .note.GNU-stack section to thunks_32.S
[ Upstream commit f706bb5 ] test_syscall_vdso_32 ended up with an executable stacks because the asm was missing the annotation that says that it is modern and doesn't need an executable stack. Add the annotation. This was missed in commit aeaaf00 ("selftests/x86: Add missing .note.GNU-stack sections"). Fixes: aeaaf00 ("selftests/x86: Add missing .note.GNU-stack sections") Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/487ed5348a43c031b816fa7e9efedb75dc324299.1614877299.git.luto@kernel.org Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 5348e8b commit 445a6a2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tools/testing/selftests/x86/thunks_32.S‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ call64_from_32:
4545
ret
4646

4747
.size call64_from_32, .-call64_from_32
48+
49+
.section .note.GNU-stack,"",%progbits

0 commit comments

Comments
 (0)