summaryrefslogtreecommitdiff
path: root/src/thread/x32/__unmapself.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/x32/__unmapself.s')
-rw-r--r--src/thread/x32/__unmapself.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/x32/__unmapself.s b/src/thread/x32/__unmapself.s
index e2689e65..d9254601 100644
--- a/src/thread/x32/__unmapself.s
+++ b/src/thread/x32/__unmapself.s
@@ -3,8 +3,8 @@
.global __unmapself
.type __unmapself,@function
__unmapself:
- movl $11,%eax /* SYS_munmap */
+ movl $0x4000000b,%eax /* SYS_munmap */
syscall /* munmap(arg2,arg3) */
xor %rdi,%rdi /* exit() args: always return success */
- movl $60,%eax /* SYS_exit */
+ movl $0x4000003c,%eax /* SYS_exit */
syscall /* exit(0) */