summaryrefslogtreecommitdiffstats
path: root/libc/arch-mips64
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-07-30 15:05:09 -0700
committerElliott Hughes <enh@google.com>2014-07-30 15:19:29 -0700
commit79310994d2b3826a10598f7e7795acb5edb42a20 (patch)
tree34a7eec7841aaf4dc12eb33fe6309d078f672819 /libc/arch-mips64
parentc7706a02ad90ab73f3a056040d2c4a3464ab1ab1 (diff)
downloadbionic-79310994d2b3826a10598f7e7795acb5edb42a20.zip
bionic-79310994d2b3826a10598f7e7795acb5edb42a20.tar.gz
bionic-79310994d2b3826a10598f7e7795acb5edb42a20.tar.bz2
Implement <sys/fsuid.h>.
Change-Id: I1e5e50444a1b5a430ba5b5d9b8b1d91219af5e92
Diffstat (limited to 'libc/arch-mips64')
-rw-r--r--libc/arch-mips64/syscalls/setfsgid.S25
-rw-r--r--libc/arch-mips64/syscalls/setfsuid.S25
2 files changed, 50 insertions, 0 deletions
diff --git a/libc/arch-mips64/syscalls/setfsgid.S b/libc/arch-mips64/syscalls/setfsgid.S
new file mode 100644
index 0000000..7f75ed9
--- /dev/null
+++ b/libc/arch-mips64/syscalls/setfsgid.S
@@ -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)
diff --git a/libc/arch-mips64/syscalls/setfsuid.S b/libc/arch-mips64/syscalls/setfsuid.S
new file mode 100644
index 0000000..4cab9d4
--- /dev/null
+++ b/libc/arch-mips64/syscalls/setfsuid.S
@@ -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)