summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/setresuid.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
commit21730caa6647f645974e132ca8afec79b4eeab2b (patch)
tree6c0a0e491526f19ab08062d7f22448ac60ca4bf5 /libc/sysdeps/linux/common/setresuid.c
parent35c8387f6d3dd3d901bdc9bb7eb1c681cd1b2c0d (diff)
downloaduClibc-alpine-21730caa6647f645974e132ca8afec79b4eeab2b.tar.bz2
uClibc-alpine-21730caa6647f645974e132ca8afec79b4eeab2b.tar.xz
trim Experimentally off and uncommented hidden
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/setresuid.c')
-rw-r--r--libc/sysdeps/linux/common/setresuid.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/setresuid.c b/libc/sysdeps/linux/common/setresuid.c
index c1e395a40..022ccfe64 100644
--- a/libc/sysdeps/linux/common/setresuid.c
+++ b/libc/sysdeps/linux/common/setresuid.c
@@ -15,7 +15,6 @@
# undef __NR_setresuid
# define __NR_setresuid __NR_setresuid32
-/* libc_hidden_proto(setresuid) */
_syscall3(int, setresuid, uid_t, ruid, uid_t, euid, uid_t, suid)
libc_hidden_def(setresuid)
@@ -25,7 +24,6 @@ libc_hidden_def(setresuid)
static __inline__ _syscall3(int, __syscall_setresuid,
__kernel_uid_t, rgid, __kernel_uid_t, egid, __kernel_uid_t, sgid)
-/* libc_hidden_proto(setresuid) */
int setresuid(uid_t ruid, uid_t euid, uid_t suid)
{
if (((ruid + 1) > (uid_t) ((__kernel_uid_t) - 1U))