summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/seteuid.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/libc/sysdeps/linux/common/seteuid.c b/libc/sysdeps/linux/common/seteuid.c
index a0a63610d..cbb43ce85 100644
--- a/libc/sysdeps/linux/common/seteuid.c
+++ b/libc/sysdeps/linux/common/seteuid.c
@@ -4,19 +4,5 @@
int seteuid(uid_t uid)
{
- switch (sizeof (uid_t))
- {
- case 2:
- if (uid == 65535)
- {
- __set_errno(EINVAL);
- return -1;
- }
- break;
-
- default:
- fprintf (stderr, "Uknown uid_t size and sign\n");
- }
-
- return setreuid(-1, uid);
+ return setreuid(-1, uid);
}