[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
- [PATCH 09/17] Move copy{in,out}msg declarations to copy_user.h, (continued)
- [PATCH 09/17] Move copy{in,out}msg declarations to copy_user.h, Sergey Bugaev, 2024/03/27
- [PATCH 15/17] tests: Make exception subcode a long, Sergey Bugaev, 2024/03/27
- [PATCH 12/17] tests: Add a more serious mach_msg_server() routine, Sergey Bugaev, 2024/03/27
- [PATCH 07/17] kern/rdxtree: Fix undefined behavior, Sergey Bugaev, 2024/03/27
- [PATCH 17/17] tests: Create tests/ in the build tree before trying to use it, Sergey Bugaev, 2024/03/27
- [PATCH 16/17] tests: Don't ask for executable stack,
Sergey Bugaev <=
- [PATCH 10/17] Make -fno-PIE etc. architecture-dependent, Sergey Bugaev, 2024/03/27
- [PATCH 13/17] tests: Add vm_page_size, Sergey Bugaev, 2024/03/27
- [PATCH 14/17] tests: Use vm_page_size, Sergey Bugaev, 2024/03/27