clarify the purpose of this project
[nyanglibc.git] / misc / quotactl.shared.s
blob2abb817d4cc5db17beee488aa4ecbc086bfdfd3d
1 .text
2 .globl quotactl
3 .type quotactl,@function
4 .align 1<<4
5 quotactl:
7 movq %rcx, %r10
8 movl $179, %eax
9 syscall
10 cmpq $-4095, %rax
11 jae 0f
12 ret
13 0: movq __libc_errno@GOTTPOFF(%rip), %rcx
14 neg %eax
15 movl %eax, %fs:(%rcx)
16 or $-1, %rax
17 ret
18 .size quotactl,.-quotactl
19 .globl __GI_quotactl
20 .set __GI_quotactl,quotactl