3 .type getlogin_r_fd0, @function
39 # 66 "../sysdeps/unix/getlogin_r.c" 1
47 # 47 "../sysdeps/unix/sysv/linux/x86/lowlevellock.h" 1
48 cmpxchgl
%edx
, __libc_utmp_lock
(%rip
)
56 call __libc_getutline_r
60 movq __libc_errno@gottpoff
(%rip
), %rax
68 # 78 "../sysdeps/unix/getlogin_r.c" 1
74 subl $
1, __libc_utmp_lock
(%rip
)
87 movq __libc_errno@gottpoff
(%rip
), %rax
105 # 78 "../sysdeps/unix/getlogin_r.c" 1
106 xchgl
%eax
, __libc_utmp_lock
(%rip
)
114 leaq __libc_utmp_lock
(%rip
), %rdi
117 # 78 "../sysdeps/unix/getlogin_r.c" 1
127 lock cmpxchgl
%edx
, __libc_utmp_lock
(%rip
)
129 leaq __libc_utmp_lock
(%rip
), %rdi
130 call __lll_lock_wait_private
132 .size getlogin_r_fd0, .-getlogin_r_fd0
133 .section .rodata.str1.1,"aMS",@progbits,1
135 .string "/proc/self/loginuid"
138 .globl __getlogin_r_loginuid
139 .hidden __getlogin_r_loginuid
140 .type __getlogin_r_loginuid, @function
141 __getlogin_r_loginuid
:
153 leaq
.LC0(%rip), %rdi
163 movq __libc_errno@gottpoff
(%rip
), %rax
175 call __close_nocancel
183 movb $
0, 36(%rsp
,%r15)
194 movq $
1024, 104(%rsp
)
215 call __libc_scratch_buffer_grow
239 call __close_nocancel
254 movq __libc_errno@gottpoff
(%rip
), %rax
266 movq __libc_errno@gottpoff
(%rip
), %rax
278 .size __getlogin_r_loginuid, .-__getlogin_r_loginuid
282 .type __getlogin_r, @function
289 call __getlogin_r_loginuid
305 .size __getlogin_r, .-__getlogin_r
308 .set getlogin_r,__getlogin_r
310 .hidden __libc_scratch_buffer_grow
313 .hidden __close_nocancel
314 .hidden __read_nocancel
315 .hidden __open_nocancel
316 .hidden __lll_lock_wait_private
318 .hidden __libc_endutent
319 .hidden __libc_getutline_r
320 .hidden __libc_setutent
321 .hidden __libc_utmp_lock