summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/auth_unix.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-26 14:14:05 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-26 14:14:05 +0000
commitf3b4c74b53903b32d1b852b381ae22b140b7b05b (patch)
treeb6adc3094d207688bce66a702523dc3597ff244e /libc/inet/rpc/auth_unix.c
parent83b2918ebe75fe7c3ee54c3a33bd8cc10234db8c (diff)
100 JUMP relocs less (remaining 431) by hiding internally used ones
Diffstat (limited to 'libc/inet/rpc/auth_unix.c')
-rw-r--r--libc/inet/rpc/auth_unix.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/libc/inet/rpc/auth_unix.c b/libc/inet/rpc/auth_unix.c
index 3e14ba2a5..4adb165cf 100644
--- a/libc/inet/rpc/auth_unix.c
+++ b/libc/inet/rpc/auth_unix.c
@@ -92,8 +92,8 @@ static bool_t marshal_new_auth (AUTH *) internal_function;
* Create a unix style authenticator.
* Returns an auth handle with the given stuff in it.
*/
-AUTH *
-authunix_create (char *machname, uid_t uid, gid_t gid, int len,
+AUTH attribute_hidden *
+__authunix_create (char *machname, uid_t uid, gid_t gid, int len,
gid_t *aup_gids)
{
struct authunix_parms aup;
@@ -158,13 +158,14 @@ no_memory:
marshal_new_auth (auth);
return auth;
}
+strong_alias(__authunix_create,authunix_create)
/*
* Returns an auth handle with parameters determined by doing lots of
* syscalls.
*/
-AUTH *
-authunix_create_default (void)
+AUTH attribute_hidden *
+__authunix_create_default (void)
{
int len;
char machname[MAX_MACHINE_NAME + 1];
@@ -184,8 +185,9 @@ authunix_create_default (void)
/* This braindamaged Sun code forces us here to truncate the
list of groups to NGRPS members since the code in
authuxprot.c transforms a fixed array. Grrr. */
- return authunix_create (machname, uid, gid, MIN (NGRPS, len), gids);
+ return __authunix_create (machname, uid, gid, MIN (NGRPS, len), gids);
}
+strong_alias(__authunix_create_default,authunix_create_default)
/*
* authunix operations