summaryrefslogtreecommitdiffstats
path: root/libc/arch-mips/syscalls
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-mips/syscalls
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-mips/syscalls')
-rw-r--r--libc/arch-mips/syscalls/setfsgid.S19
-rw-r--r--libc/arch-mips/syscalls/setfsuid.S19
2 files changed, 38 insertions, 0 deletions
diff --git a/libc/arch-mips/syscalls/setfsgid.S b/libc/arch-mips/syscalls/setfsgid.S
new file mode 100644
index 0000000..6a59565
--- /dev/null
+++ b/libc/arch-mips/syscalls/setfsgid.S
@@ -0,0 +1,19 @@
+/* Generated by gensyscalls.py. Do not edit. */
+
+#include <private/bionic_asm.h>
+
+ENTRY(setfsgid)
+ .set noreorder
+ .cpload t9
+ li v0, __NR_setfsgid
+ syscall
+ bnez a3, 1f
+ move a0, v0
+ j ra
+ nop
+1:
+ la t9,__set_errno
+ j t9
+ nop
+ .set reorder
+END(setfsgid)
diff --git a/libc/arch-mips/syscalls/setfsuid.S b/libc/arch-mips/syscalls/setfsuid.S
new file mode 100644
index 0000000..1c2317a
--- /dev/null
+++ b/libc/arch-mips/syscalls/setfsuid.S
@@ -0,0 +1,19 @@
+/* Generated by gensyscalls.py. Do not edit. */
+
+#include <private/bionic_asm.h>
+
+ENTRY(setfsuid)
+ .set noreorder
+ .cpload t9
+ li v0, __NR_setfsuid
+ syscall
+ bnez a3, 1f
+ move a0, v0
+ j ra
+ nop
+1:
+ la t9,__set_errno
+ j t9
+ nop
+ .set reorder
+END(setfsuid)