OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [ids.c] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* libc/sys/linux/ids.c - System calls related to user and group ids  */
2
 
3
/* Written 2000 by Werner Almesberger */
4
 
5
 
6
#include <sys/types.h>
7
#include <sys/unistd.h>
8
#include <machine/syscall.h>
9
 
10
 
11
_syscall1(int,setfsuid,uid_t,uid)
12
_syscall0(uid_t,getuid)
13
_syscall1(int,setfsgid,gid_t,gid)
14
_syscall0(gid_t,getgid)
15
_syscall0(uid_t,geteuid)
16
_syscall0(gid_t,getegid)
17
_syscall3(int,setresuid,uid_t,ruid,uid_t,euid,uid_t,suid)
18
_syscall3(int,syslog,int,type,char *,bufp,int,len)
19
 
20
#if !defined(_ELIX_LEVEL) || _ELIX_LEVEL > 3
21
_syscall2(int,getgroups,int,size,gid_t *,list)
22
_syscall1(int,setgid,gid_t,gid)
23
_syscall1(int,setuid,uid_t,uid)
24
#endif
25
 
26
weak_alias(__libc_getuid,__getuid);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.