From 765696aac59b7146777e4dfda0d8d35df0bb29e1 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 4 Dec 2005 01:08:42 +0000 Subject: More hiding, 300 left --- libc/inet/rpc/ruserpass.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libc/inet/rpc/ruserpass.c') 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 @@ -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() -- cgit v1.2.3