summaryrefslogtreecommitdiffstats
path: root/libc/inet/rpc/ruserpass.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-04 01:08:42 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-04 01:08:42 +0000
commit765696aac59b7146777e4dfda0d8d35df0bb29e1 (patch)
treea1f2f8ce19de35f8030e8e388a3b962a2bff8cc7 /libc/inet/rpc/ruserpass.c
parent855dca36fe7aa348dc56996385fbbb77fbf3e83d (diff)
downloaduClibc-alpine-765696aac59b7146777e4dfda0d8d35df0bb29e1.tar.bz2
uClibc-alpine-765696aac59b7146777e4dfda0d8d35df0bb29e1.tar.xz
More hiding, 300 left
Diffstat (limited to 'libc/inet/rpc/ruserpass.c')
-rw-r--r--libc/inet/rpc/ruserpass.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/inet/rpc/ruserpass.c b/libc/inet/rpc/ruserpass.c
index edb5170e9..b6fd482c5 100644
--- a/libc/inet/rpc/ruserpass.c
+++ b/libc/inet/rpc/ruserpass.c
@@ -29,7 +29,9 @@
#define __fsetlocking __fsetlocking_internal
#define getgid __getgid
+#define getuid __getuid
#define getegid __getegid
+#define geteuid __geteuid
#define __FORCE_GLIBC
#include <features.h>
@@ -95,7 +97,7 @@ static const struct toktab {
-int ruserpass(const char *host, const char **aname, const char **apass)
+int attribute_hidden __ruserpass(const char *host, const char **aname, const char **apass)
{
char *hdir, *buf, *tmp;
char myname[1024], *mydomain;
@@ -292,6 +294,7 @@ bad:
(void) fclose(cfile);
return (-1);
}
+strong_alias(__ruserpass,ruserpass)
static int
token()