aboutsummaryrefslogtreecommitdiffstats
path: root/guts/setfsuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/setfsuid.c')
-rw-r--r--guts/setfsuid.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/guts/setfsuid.c b/guts/setfsuid.c
deleted file mode 100644
index e52b65e..0000000
--- a/guts/setfsuid.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright (c) 2008-2010 Wind River Systems; see
- * guts/COPYRIGHT for information.
- *
- * static int
- * wrap_setfsuid(uid_t fsuid) {
- * int rc = -1;
- */
- if (pseudo_euid == 0 ||
- pseudo_euid == fsuid || pseudo_ruid == fsuid || pseudo_suid == fsuid) {
- pseudo_fuid = fsuid;
- rc = 0;
- } else {
- rc = -1;
- errno = EPERM;
- }
-/* return rc;
- * }
- */