8 .type getlogin_r_fd0, @function
44 # 66 "../sysdeps/unix/getlogin_r.c" 1
52 # 47 "../sysdeps/unix/sysv/linux/x86/lowlevellock.h" 1
53 cmpxchgl
%edx
, __libc_utmp_lock
(%rip
)
61 call __libc_getutline_r
65 movq __libc_errno@gottpoff
(%rip
), %rax
73 # 78 "../sysdeps/unix/getlogin_r.c" 1
79 subl $
1, __libc_utmp_lock
(%rip
)
92 movq __libc_errno@gottpoff
(%rip
), %rax
110 # 78 "../sysdeps/unix/getlogin_r.c" 1
111 xchgl
%eax
, __libc_utmp_lock
(%rip
)
119 leaq __libc_utmp_lock
(%rip
), %rdi
122 # 78 "../sysdeps/unix/getlogin_r.c" 1
132 lock cmpxchgl
%edx
, __libc_utmp_lock
(%rip
)
134 leaq __libc_utmp_lock
(%rip
), %rdi
135 call __lll_lock_wait_private
137 .size getlogin_r_fd0, .-getlogin_r_fd0
138 .section .rodata.str1.1,"aMS",@progbits,1
140 .string "/proc/self/loginuid"
143 .globl __getlogin_r_loginuid
144 .hidden __getlogin_r_loginuid
145 .type __getlogin_r_loginuid, @function
146 __getlogin_r_loginuid
:
158 leaq
.LC0(%rip), %rdi
159 call __GI___open_nocancel
168 movq __libc_errno@gottpoff
(%rip
), %rax
175 call __GI___read_nocancel
180 call __GI___close_nocancel
188 movb $
0, 36(%rsp
,%r15)
199 movq $
1024, 104(%rsp
)
220 call __GI___libc_scratch_buffer_grow
244 call __GI___close_nocancel
259 movq __libc_errno@gottpoff
(%rip
), %rax
271 movq __libc_errno@gottpoff
(%rip
), %rax
283 .size __getlogin_r_loginuid, .-__getlogin_r_loginuid
285 .globl __GI___getlogin_r
286 .hidden __GI___getlogin_r
287 .type __GI___getlogin_r, @function
294 call __getlogin_r_loginuid
310 .size __GI___getlogin_r, .-__GI___getlogin_r
312 .set __getlogin_r,__GI___getlogin_r
313 .weak __GI_getlogin_r
314 .hidden __GI_getlogin_r
315 .set __GI_getlogin_r,__getlogin_r
317 .set getlogin_r,__GI_getlogin_r
319 .hidden __lll_lock_wait_private
320 .hidden __libc_endutent
321 .hidden __libc_getutline_r
322 .hidden __libc_setutent
323 .hidden __libc_utmp_lock