1 /* Copyright 2011-2012 Nicholas J. Kain, licensed under standard MIT license */
2 .text
3 .global __unmapself
4 .type   __unmapself,@function
5 __unmapself:
6 	movl $0x4000000b,%eax   /* SYS_munmap */
7 	syscall         /* munmap(arg2,arg3) */
8 	xor %rdi,%rdi   /* exit() args: always return success */
9 	movl $0x4000003c,%eax   /* SYS_exit */
10 	syscall         /* exit(0) */
11