selftests/x86: Add a missing .note.GNU-stack section to thunks_32.S
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 commitaeaaf005da("selftests/x86: Add missing .note.GNU-stack sections"). Fixes:aeaaf005da("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
This commit is contained in:
parent
2d4177c01b
commit
f706bb5920
1 changed files with 2 additions and 0 deletions
|
|
@ -45,3 +45,5 @@ call64_from_32:
|
|||
ret
|
||||
|
||||
.size call64_from_32, .-call64_from_32
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue