Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/ids.c')
-rw-r--r--newlib/libc/sys/linux/ids.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/newlib/libc/sys/linux/ids.c b/newlib/libc/sys/linux/ids.c
deleted file mode 100644
index 8a120291c..000000000
--- a/newlib/libc/sys/linux/ids.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* libc/sys/linux/ids.c - System calls related to user and group ids */
-
-/* Written 2000 by Werner Almesberger */
-
-
-#include <sys/types.h>
-#include <sys/unistd.h>
-#include <sys/syscall.h>
-
-
-_syscall1(int,setuid,uid_t,uid)
-_syscall0(uid_t,getuid)
-_syscall1(int,setgid,gid_t,gid)
-_syscall0(gid_t,getgid)
-_syscall0(uid_t,geteuid)
-_syscall0(gid_t,getegid)
-_syscall2(int,getgroups,int,size,gid_t *,list)