repo.or.cz
/
nyanglibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
clarify the purpose of this project
[nyanglibc.git]
/
login
/
unlockpt.shared.s
blob
90894dd349436bcd0465c43480362c50b6282f10
1
.text
2
#APP
3
memmove
=
__GI_memmove
4
memset
=
__GI_memset
5
memcpy
=
__GI_memcpy
6
#NO_APP
7
.p2align 4,,15
8
.globl unlockpt
9
.type unlockpt, @function
10
unlockpt
:
11
subq $
24
, %
rsp
12
xorl
%
eax
, %
eax
13
movl $
1074025521
, %
esi
14
leaq
12
(%
rsp
), %
rdx
15
movl $
0
,
12
(%
rsp
)
16
call __GI___ioctl
17
testl
%
eax
, %
eax
18
je
.L1
19
movq __libc_errno@gottpoff
(%
rip
), %
rdx
20
cmpl
$
25
, %
fs
:(%
rdx
)
21
je
.L8
22
.L1:
23
addq $
24
, %
rsp
24
ret
25
.p2align 4,,10
26
.p2align 3
27
.L8:
28
movl $
22
, %
fs
:(%
rdx
)
29
addq $
24
, %
rsp
30
ret
31
.size unlockpt, .-unlockpt