aboutsummaryrefslogtreecommitdiffstats
path: root/guts/getresuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/getresuid.c')
-rw-r--r--guts/getresuid.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/guts/getresuid.c b/guts/getresuid.c
deleted file mode 100644
index 2e47520..0000000
--- a/guts/getresuid.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2008-2010 Wind River Systems; see
- * guts/COPYRIGHT for information.
- *
- * static int
- * wrap_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid) {
- * int rc = -1;
- */
- if (ruid)
- *ruid = pseudo_ruid;
- if (euid)
- *euid = pseudo_euid;
- if (suid)
- *suid = pseudo_suid;
- if (ruid && euid && suid) {
- rc = 0;
- } else {
- rc = -1;
- errno = EFAULT;
- }
-/* return rc;
- * }
- */