Implement <sys/fsuid.h>.
Change-Id: I1e5e50444a1b5a430ba5b5d9b8b1d91219af5e92
This commit is contained in:
25
libc/arch-mips64/syscalls/setfsgid.S
Normal file
25
libc/arch-mips64/syscalls/setfsgid.S
Normal file
@@ -0,0 +1,25 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <private/bionic_asm.h>
|
||||
|
||||
ENTRY(setfsgid)
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_setfsgid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
END(setfsgid)
|
||||
25
libc/arch-mips64/syscalls/setfsuid.S
Normal file
25
libc/arch-mips64/syscalls/setfsuid.S
Normal file
@@ -0,0 +1,25 @@
|
||||
/* Generated by gensyscalls.py. Do not edit. */
|
||||
|
||||
#include <private/bionic_asm.h>
|
||||
|
||||
ENTRY(setfsuid)
|
||||
.set push
|
||||
.set noreorder
|
||||
li v0, __NR_setfsuid
|
||||
syscall
|
||||
bnez a3, 1f
|
||||
move a0, v0
|
||||
j ra
|
||||
nop
|
||||
1:
|
||||
move t0, ra
|
||||
bal 2f
|
||||
nop
|
||||
2:
|
||||
.cpsetup ra, t1, 2b
|
||||
LA t9,__set_errno
|
||||
.cpreturn
|
||||
j t9
|
||||
move ra, t0
|
||||
.set pop
|
||||
END(setfsuid)
|
||||
Reference in New Issue
Block a user