| // Copyright 2013 Google Inc. All Rights Reserved. | |
| // | |
| // Define UID/GID related functions which are always successful. | |
| // They always return zero with nacl-glibc, too. | |
| // | |
| #include <sys/types.h> | |
| #include <unistd.h> | |
| uid_t getegid(void) { | |
| return 0; | |
| } | |
| uid_t geteuid(void) { | |
| return 0; | |
| } | |
| uid_t getgid(void) { | |
| return 0; | |
| } | |
| uid_t getuid(void) { | |
| return 0; | |
| } |