projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
in sem_open, don't leak vm mapping if fstat fails
[musl]
/
src
/
thread
/
x86_64
/
__unmapself.s
diff --git
a/src/thread/x86_64/__unmapself.s
b/src/thread/x86_64/__unmapself.s
index
d36257d
..
e2689e6
100644
(file)
--- a/
src/thread/x86_64/__unmapself.s
+++ b/
src/thread/x86_64/__unmapself.s
@@
-1,11
+1,10
@@
-/* Copyright 2011
Nicholas J. Kain, licensed GNU LGPL 2.1 or later
*/
+/* Copyright 2011
-2012 Nicholas J. Kain, licensed under standard MIT license
*/
.text
.global __unmapself
.text
.global __unmapself
-.type __unmapself,
%
function
+.type __unmapself,
@
function
__unmapself:
__unmapself:
- movl $11,%eax /*
__NR
_munmap */
+ movl $11,%eax /*
SYS
_munmap */
syscall /* munmap(arg2,arg3) */
xor %rdi,%rdi /* exit() args: always return success */
syscall /* munmap(arg2,arg3) */
xor %rdi,%rdi /* exit() args: always return success */
- movl $60,%eax /*
__NR
_exit */
+ movl $60,%eax /*
SYS
_exit */
syscall /* exit(0) */
syscall /* exit(0) */
-.size __unmapself,.-__unmapself