4.115
Last change
on this file since 4c782c2 was
4c782c2,
checked in by Joel Sherrill <joel.sherrill@…>, on 08/02/10 at 18:10:10
|
2010-07-30 Bharath Suri <bharath.s.jois@…>
PR 1645/cpukit
- libcsupport/src/getuid.c: Moved setuid() routine to its own
file.
- libcsupport/src/setuid.c: New file with setuid() routine.
- libcsupport/src/seteuid.c: New file with seteuid() routine.
|
-
Property mode set to
100644
|
File size:
472 bytes
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2010. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.com/license/LICENSE. |
---|
8 | * |
---|
9 | * $Id$ |
---|
10 | */ |
---|
11 | |
---|
12 | #if HAVE_CONFIG_H |
---|
13 | #include "config.h" |
---|
14 | #endif |
---|
15 | |
---|
16 | #include <limits.h> |
---|
17 | #include <string.h> |
---|
18 | #include <sys/types.h> |
---|
19 | |
---|
20 | #include <rtems/userenv.h> |
---|
21 | |
---|
22 | int seteuid( uid_t euid ) |
---|
23 | { |
---|
24 | _POSIX_types_Euid = euid; |
---|
25 | return 0; |
---|
26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.