bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 16/17] tests: Don't ask for executable stack


From: Sergey Bugaev
Subject: [PATCH 16/17] tests: Don't ask for executable stack
Date: Wed, 27 Mar 2024 19:18:40 +0300

---
 tests/start.S    | 2 ++
 tests/syscalls.S | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tests/start.S b/tests/start.S
index b795bfbd..15970fb9 100644
--- a/tests/start.S
+++ b/tests/start.S
@@ -26,3 +26,5 @@ _start:
         movq    %rsp,%rdi
         callq   c_start
 #endif /* __x86_64__ */
+
+       .section .note.GNU-stack,"",%progbits
diff --git a/tests/syscalls.S b/tests/syscalls.S
index df9c9bc0..b1e18aa8 100644
--- a/tests/syscalls.S
+++ b/tests/syscalls.S
@@ -2,3 +2,5 @@
         #include <mach/syscall_sw.h>
 
         kernel_trap(invalid_syscall,-31,0)
+
+       .section .note.GNU-stack,"",%progbits
-- 
2.44.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]