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]
/
io
/
open64_2.s
blob
08308c9c7117dfdea8c5af2f199c6b0c43afdc5c
1
.text
2
.section .rodata.str1.8,
"aMS"
,@progbits,1
3
.align 8
4
.LC0:
5
.string
"invalid open64 call: O_CREAT or O_TMPFILE without mode"
6
.text
7
.p2align 4,,15
8
.globl __open64_2
9
.type __open64_2, @function
10
__open64_2
:
11
testb $
64
, %
sil
12
jne
.L2
13
movl
%
esi
, %
eax
14
andl $
4259840
, %
eax
15
cmpl
$
4259840
, %
eax
16
je
.L2
17
xorl
%
eax
, %
eax
18
jmp __open64
19
.L2:
20
leaq
.LC0(%rip), %rdi
21
subq $
8
, %
rsp
22
call __fortify_fail
23
.size __open64_2, .-__open64_2
24
.hidden __fortify_fail
25
.hidden __open64