diff options
Diffstat (limited to 'guts/setfsgid.c')
-rw-r--r-- | guts/setfsgid.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/guts/setfsgid.c b/guts/setfsgid.c deleted file mode 100644 index 0e5a10b..0000000 --- a/guts/setfsgid.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright (c) 2008-2010 Wind River Systems; see - * guts/COPYRIGHT for information. - * - * static int - * wrap_setfsgid(gid_t fsgid) { - * int rc = -1; - */ - if (pseudo_euid == 0 || - pseudo_egid == fsgid || pseudo_rgid == fsgid || pseudo_sgid == fsgid) { - pseudo_fgid = fsgid; - rc = 0; - } else { - rc = -1; - errno = EPERM; - } -/* return rc; - * } - */ |