mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
Make sunrpc code usable again
New configure option --enable-obsolete-rpc makes the deprecated RPC headers and functions available at compile time as they were before version 2.14. This option will be removed at some time in the future after the TI-RPC library becomes fully sufficient for the needs of existing applications.
This commit is contained in:
parent
b5c086a281
commit
021db4be6f
63
ChangeLog
63
ChangeLog
@ -1,3 +1,66 @@
|
|||||||
|
2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
|
||||||
|
* configure: Regenerated.
|
||||||
|
* config.h.in (LINK_OBSOLETE_RPC): New macro.
|
||||||
|
* config.make.in (link-obsolete-rpc): New substituted variable.
|
||||||
|
* include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
|
||||||
|
libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
|
||||||
|
* sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
|
||||||
|
(shared-only-routines): Don't set it under [link-obsolete-rpc],
|
||||||
|
so that libc.a contains the symbols.
|
||||||
|
* nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
|
||||||
|
* sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
|
||||||
|
* sunrpc/auth_none.c: Likewise.
|
||||||
|
* sunrpc/auth_unix.c: Likewise.
|
||||||
|
* sunrpc/authdes_prot.c: Likewise.
|
||||||
|
* sunrpc/authuxprot.c: Likewise.
|
||||||
|
* sunrpc/clnt_gen.c: Likewise.
|
||||||
|
* sunrpc/clnt_perr.c: Likewise.
|
||||||
|
* sunrpc/clnt_raw.c: Likewise.
|
||||||
|
* sunrpc/clnt_simp.c: Likewise.
|
||||||
|
* sunrpc/clnt_tcp.c: Likewise.
|
||||||
|
* sunrpc/clnt_udp.c: Likewise.
|
||||||
|
* sunrpc/clnt_unix.c: Likewise.
|
||||||
|
* sunrpc/des_crypt.c: Likewise.
|
||||||
|
* sunrpc/des_soft.c: Likewise.
|
||||||
|
* sunrpc/get_myaddr.c: Likewise.
|
||||||
|
* sunrpc/key_call.c: Likewise.
|
||||||
|
* sunrpc/key_prot.c: Likewise.
|
||||||
|
* sunrpc/netname.c: Likewise.
|
||||||
|
* sunrpc/pm_getmaps.c: Likewise.
|
||||||
|
* sunrpc/pm_getport.c: Likewise.
|
||||||
|
* sunrpc/pmap_clnt.c: Likewise.
|
||||||
|
* sunrpc/pmap_prot.c: Likewise.
|
||||||
|
* sunrpc/pmap_prot2.c: Likewise.
|
||||||
|
* sunrpc/pmap_rmt.c: Likewise.
|
||||||
|
* sunrpc/publickey.c: Likewise.
|
||||||
|
* sunrpc/rpc_cmsg.c: Likewise.
|
||||||
|
* sunrpc/rpc_common.c: Likewise.
|
||||||
|
* sunrpc/rpc_dtable.c: Likewise.
|
||||||
|
* sunrpc/rpc_prot.c: Likewise.
|
||||||
|
* sunrpc/rpc_thread.c: Likewise.
|
||||||
|
* sunrpc/rtime.c: Likewise.
|
||||||
|
* sunrpc/svc.c: Likewise.
|
||||||
|
* sunrpc/svc_auth.c: Likewise.
|
||||||
|
* sunrpc/svc_raw.c: Likewise.
|
||||||
|
* sunrpc/svc_run.c: Likewise.
|
||||||
|
* sunrpc/svc_tcp.c: Likewise.
|
||||||
|
* sunrpc/svc_udp.c: Likewise.
|
||||||
|
* sunrpc/svc_unix.c: Likewise.
|
||||||
|
* sunrpc/svcauth_des.c: Likewise.
|
||||||
|
* sunrpc/xcrypt.c: Likewise.
|
||||||
|
* sunrpc/xdr.c: Likewise.
|
||||||
|
* sunrpc/xdr_array.c: Likewise.
|
||||||
|
* sunrpc/xdr_float.c: Likewise.
|
||||||
|
* sunrpc/xdr_intXX_t.c: Likewise.
|
||||||
|
* sunrpc/xdr_mem.c: Likewise.
|
||||||
|
* sunrpc/xdr_rec.c: Likewise.
|
||||||
|
* sunrpc/xdr_ref.c: Likewise.
|
||||||
|
* sunrpc/xdr_sizeof.c: Likewise.
|
||||||
|
* sunrpc/xdr_stdio.c: Likewise.
|
||||||
|
|
||||||
2012-05-10 Roland McGrath <roland@hack.frob.com>
|
2012-05-10 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
|
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
|
||||||
|
6
NEWS
6
NEWS
@ -56,6 +56,12 @@ Version 2.16
|
|||||||
|
|
||||||
* More generic and 64-bit performance optimizations to math functions.
|
* More generic and 64-bit performance optimizations to math functions.
|
||||||
Implemented by Ulrich Drepper.
|
Implemented by Ulrich Drepper.
|
||||||
|
|
||||||
|
* New configure option --enable-obsolete-rpc makes the deprecated RPC
|
||||||
|
headers and functions available at compile time as they were before
|
||||||
|
version 2.14. This option will be removed at some time in the future
|
||||||
|
after the TI-RPC library becomes fully sufficient for the needs of
|
||||||
|
existing applications.
|
||||||
|
|
||||||
Version 2.15
|
Version 2.15
|
||||||
|
|
||||||
|
@ -178,6 +178,9 @@
|
|||||||
/* Define if `.ctors' and `.dtors' sections shouldn't be used. */
|
/* Define if `.ctors' and `.dtors' sections shouldn't be used. */
|
||||||
#undef NO_CTORS_DTORS_SECTIONS
|
#undef NO_CTORS_DTORS_SECTIONS
|
||||||
|
|
||||||
|
/* Define if obsolete RPC code should be made available for user-level code
|
||||||
|
to link against. */
|
||||||
|
#undef LINK_OBSOLETE_RPC
|
||||||
/*
|
/*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -96,6 +96,7 @@ add-on-subdirs = @add_on_subdirs@
|
|||||||
sysdeps-add-ons = @sysdeps_add_ons@
|
sysdeps-add-ons = @sysdeps_add_ons@
|
||||||
cross-compiling = @cross_compiling@
|
cross-compiling = @cross_compiling@
|
||||||
force-install = @force_install@
|
force-install = @force_install@
|
||||||
|
link-obsolete-rpc = @link_obsolete_rpc@
|
||||||
|
|
||||||
# Build tools.
|
# Build tools.
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
18
configure
vendored
18
configure
vendored
@ -687,6 +687,7 @@ multi_arch
|
|||||||
base_machine
|
base_machine
|
||||||
add_on_subdirs
|
add_on_subdirs
|
||||||
add_ons
|
add_ons
|
||||||
|
link_obsolete_rpc
|
||||||
libc_cv_nss_crypt
|
libc_cv_nss_crypt
|
||||||
all_warnings
|
all_warnings
|
||||||
force_install
|
force_install
|
||||||
@ -779,6 +780,7 @@ enable_kernel
|
|||||||
enable_all_warnings
|
enable_all_warnings
|
||||||
enable_multi_arch
|
enable_multi_arch
|
||||||
enable_nss_crypt
|
enable_nss_crypt
|
||||||
|
enable_obsolete_rpc
|
||||||
with_cpu
|
with_cpu
|
||||||
'
|
'
|
||||||
ac_precious_vars='build_alias
|
ac_precious_vars='build_alias
|
||||||
@ -1434,6 +1436,8 @@ Optional Features:
|
|||||||
--enable-multi-arch enable single DSO with optimizations for multiple
|
--enable-multi-arch enable single DSO with optimizations for multiple
|
||||||
architectures
|
architectures
|
||||||
--enable-nss-crypt enable libcrypt to use nss
|
--enable-nss-crypt enable libcrypt to use nss
|
||||||
|
--enable-obsolete-rpc build and install the obsolete RPC code for
|
||||||
|
link-time usage
|
||||||
|
|
||||||
Optional Packages:
|
Optional Packages:
|
||||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||||
@ -3746,6 +3750,20 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Check whether --enable-obsolete-rpc was given.
|
||||||
|
if test "${enable_obsolete_rpc+set}" = set; then :
|
||||||
|
enableval=$enable_obsolete_rpc; link_obsolete_rpc=$enableval
|
||||||
|
else
|
||||||
|
link_obsolete_rpc=no
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if test "$link_obsolete_rpc" = yes; then
|
||||||
|
$as_echo "#define LINK_OBSOLETE_RPC 1" >>confdefs.h
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
# The way shlib-versions is used to generate soversions.mk uses a
|
# The way shlib-versions is used to generate soversions.mk uses a
|
||||||
# fairly simplistic model for name recognition that can't distinguish
|
# fairly simplistic model for name recognition that can't distinguish
|
||||||
# i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
|
# i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
|
||||||
|
11
configure.in
11
configure.in
@ -252,6 +252,17 @@ else
|
|||||||
fi
|
fi
|
||||||
AC_SUBST(libc_cv_nss_crypt)
|
AC_SUBST(libc_cv_nss_crypt)
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([obsolete-rpc],
|
||||||
|
AC_HELP_STRING([--enable-obsolete-rpc],
|
||||||
|
[build and install the obsolete RPC code for link-time usage]),
|
||||||
|
[link_obsolete_rpc=$enableval],
|
||||||
|
[link_obsolete_rpc=no])
|
||||||
|
AC_SUBST(link_obsolete_rpc)
|
||||||
|
|
||||||
|
if test "$link_obsolete_rpc" = yes; then
|
||||||
|
AC_DEFINE(LINK_OBSOLETE_RPC)
|
||||||
|
fi
|
||||||
|
|
||||||
# The way shlib-versions is used to generate soversions.mk uses a
|
# The way shlib-versions is used to generate soversions.mk uses a
|
||||||
# fairly simplistic model for name recognition that can't distinguish
|
# fairly simplistic model for name recognition that can't distinguish
|
||||||
# i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
|
# i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
|
||||||
|
@ -556,7 +556,12 @@ for linking")
|
|||||||
# define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
|
# define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
|
||||||
# define libc_hidden_def(name) hidden_def (name)
|
# define libc_hidden_def(name) hidden_def (name)
|
||||||
# define libc_hidden_weak(name) hidden_weak (name)
|
# define libc_hidden_weak(name) hidden_weak (name)
|
||||||
# define libc_hidden_nolink(name, version) hidden_nolink (name, libc, version)
|
# ifdef LINK_OBSOLETE_RPC
|
||||||
|
/* libc_hidden_nolink_sunrpc should only get used in sunrpc code. */
|
||||||
|
# define libc_hidden_nolink_sunrpc(name, version) hidden_def (name)
|
||||||
|
# else
|
||||||
|
# define libc_hidden_nolink_sunrpc(name, version) hidden_nolink (name, libc, version)
|
||||||
|
# endif
|
||||||
# define libc_hidden_ver(local, name) hidden_ver (local, name)
|
# define libc_hidden_ver(local, name) hidden_ver (local, name)
|
||||||
# define libc_hidden_data_def(name) hidden_data_def (name)
|
# define libc_hidden_data_def(name) hidden_data_def (name)
|
||||||
# define libc_hidden_data_weak(name) hidden_data_weak (name)
|
# define libc_hidden_data_weak(name) hidden_data_weak (name)
|
||||||
|
@ -23,6 +23,12 @@ subdir := nis
|
|||||||
|
|
||||||
aux := nis_hash
|
aux := nis_hash
|
||||||
|
|
||||||
|
include ../Makeconfig
|
||||||
|
|
||||||
|
ifeq ($(link-obsolete-rpc),yes)
|
||||||
|
headers := $(wildcard rpcsvc/*.[hx])
|
||||||
|
endif
|
||||||
|
|
||||||
# These are the databases available for the nis (and perhaps later nisplus)
|
# These are the databases available for the nis (and perhaps later nisplus)
|
||||||
# service. This must be a superset of the services in nss.
|
# service. This must be a superset of the services in nss.
|
||||||
databases = proto service hosts network grp pwd rpc ethers \
|
databases = proto service hosts network grp pwd rpc ethers \
|
||||||
|
@ -60,6 +60,10 @@ generated-dirs := rpcsvc
|
|||||||
|
|
||||||
include ../Makeconfig
|
include ../Makeconfig
|
||||||
|
|
||||||
|
ifeq ($(link-obsolete-rpc),yes)
|
||||||
|
headers += $(headers-in-tirpc) $(headers-not-in-tirpc)
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(versioning),yes)
|
ifeq ($(versioning),yes)
|
||||||
need-export-routines := auth_des auth_unix clnt_gen clnt_perr clnt_tcp \
|
need-export-routines := auth_des auth_unix clnt_gen clnt_perr clnt_tcp \
|
||||||
clnt_udp get_myaddr key_call netname pm_getport \
|
clnt_udp get_myaddr key_call netname pm_getport \
|
||||||
@ -73,9 +77,11 @@ routines := auth_none authuxprot bindrsvprt clnt_raw clnt_simp \
|
|||||||
svc_simple xdr_float xdr_rec publickey authdes_prot \
|
svc_simple xdr_float xdr_rec publickey authdes_prot \
|
||||||
des_crypt des_impl des_soft key_prot openchild rtime svcauth_des \
|
des_crypt des_impl des_soft key_prot openchild rtime svcauth_des \
|
||||||
clnt_unix svc_unix create_xid $(need-export-routines)
|
clnt_unix svc_unix create_xid $(need-export-routines)
|
||||||
|
ifneq ($(link-obsolete-rpc),yes)
|
||||||
# We only add the RPC for compatibility to libc.so.
|
# We only add the RPC for compatibility to libc.so.
|
||||||
shared-only-routines = $(routines)
|
shared-only-routines = $(routines)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# We do not build rpcinfo anymore. It is not needed for a bootstrap
|
# We do not build rpcinfo anymore. It is not needed for a bootstrap
|
||||||
# and not wanted on complete systems.
|
# and not wanted on complete systems.
|
||||||
|
@ -117,7 +117,7 @@ authdes_create (const char *servername, u_int window,
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (authdes_create)
|
libc_hidden_def (authdes_create)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (authdes_create, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (authdes_create, GLIBC_2_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
AUTH *
|
AUTH *
|
||||||
@ -211,7 +211,7 @@ failed:
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (authdes_pk_create)
|
libc_hidden_def (authdes_pk_create)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (authdes_pk_create, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (authdes_pk_create, GLIBC_2_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -95,7 +95,7 @@ authnone_create (void)
|
|||||||
__libc_once (authnone_private_guard, authnone_create_once);
|
__libc_once (authnone_private_guard, authnone_create_once);
|
||||||
return &authnone_private.no_client;
|
return &authnone_private.no_client;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (authnone_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (authnone_create, GLIBC_2_0)
|
||||||
|
|
||||||
static bool_t
|
static bool_t
|
||||||
authnone_marshal (AUTH *client, XDR *xdrs)
|
authnone_marshal (AUTH *client, XDR *xdrs)
|
||||||
|
@ -149,7 +149,7 @@ no_memory:
|
|||||||
marshal_new_auth (auth);
|
marshal_new_auth (auth);
|
||||||
return auth;
|
return auth;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (authunix_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (authunix_create, GLIBC_2_0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns an auth handle with parameters determined by doing lots of
|
* Returns an auth handle with parameters determined by doing lots of
|
||||||
@ -216,7 +216,7 @@ authunix_create_default (void)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (authunix_create_default)
|
libc_hidden_def (authunix_create_default)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (authunix_create_default, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (authunix_create_default, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -63,7 +63,7 @@ xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_authdes_cred, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_authdes_cred, GLIBC_2_1)
|
||||||
|
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
@ -78,4 +78,4 @@ xdr_authdes_verf (register XDR *xdrs, register struct authdes_verf *verf)
|
|||||||
sizeof (verf->adv_int_u)));
|
sizeof (verf->adv_int_u)));
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_authdes_verf, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_authdes_verf, GLIBC_2_1)
|
||||||
|
@ -63,4 +63,4 @@ xdr_authunix_parms (XDR * xdrs, struct authunix_parms *p)
|
|||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_authunix_parms, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_authunix_parms, GLIBC_2_0)
|
||||||
|
@ -175,5 +175,5 @@ clnt_create (const char *hostname, u_long prog, u_long vers,
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (clnt_create)
|
libc_hidden_def (clnt_create)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (clnt_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clnt_create, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
@ -127,7 +127,7 @@ clnt_sperror (CLIENT * rpch, const char *msg)
|
|||||||
|
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (clnt_sperror, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clnt_sperror, GLIBC_2_0)
|
||||||
|
|
||||||
void
|
void
|
||||||
clnt_perror (CLIENT * rpch, const char *msg)
|
clnt_perror (CLIENT * rpch, const char *msg)
|
||||||
@ -137,7 +137,7 @@ clnt_perror (CLIENT * rpch, const char *msg)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (clnt_perror)
|
libc_hidden_def (clnt_perror)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (clnt_perror, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clnt_perror, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -270,7 +270,7 @@ clnt_perrno (enum clnt_stat num)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (clnt_perrno)
|
libc_hidden_def (clnt_perrno)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (clnt_perrno, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clnt_perrno, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char *
|
char *
|
||||||
@ -308,7 +308,7 @@ clnt_spcreateerror (const char *msg)
|
|||||||
|
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (clnt_spcreateerror, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clnt_spcreateerror, GLIBC_2_0)
|
||||||
|
|
||||||
void
|
void
|
||||||
clnt_pcreateerror (const char *msg)
|
clnt_pcreateerror (const char *msg)
|
||||||
@ -318,7 +318,7 @@ clnt_pcreateerror (const char *msg)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (clnt_pcreateerror)
|
libc_hidden_def (clnt_pcreateerror)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (clnt_pcreateerror, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clnt_pcreateerror, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct auth_errtab
|
struct auth_errtab
|
||||||
|
@ -129,7 +129,7 @@ clntraw_create (u_long prog, u_long vers)
|
|||||||
client->cl_auth = authnone_create ();
|
client->cl_auth = authnone_create ();
|
||||||
return client;
|
return client;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (clntraw_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clntraw_create, GLIBC_2_0)
|
||||||
|
|
||||||
static enum clnt_stat
|
static enum clnt_stat
|
||||||
clntraw_call (h, proc, xargs, argsp, xresults, resultsp, timeout)
|
clntraw_call (h, proc, xargs, argsp, xresults, resultsp, timeout)
|
||||||
|
@ -139,7 +139,7 @@ callrpc (const char *host, u_long prognum, u_long versnum, u_long procnum,
|
|||||||
crp->valid = 0;
|
crp->valid = 0;
|
||||||
return (int) clnt_stat;
|
return (int) clnt_stat;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (callrpc, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (callrpc, GLIBC_2_0)
|
||||||
|
|
||||||
#ifdef _RPC_THREAD_SAFE_
|
#ifdef _RPC_THREAD_SAFE_
|
||||||
void
|
void
|
||||||
|
@ -220,7 +220,7 @@ fooy:
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (clnttcp_create)
|
libc_hidden_def (clnttcp_create)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (clnttcp_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clnttcp_create, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static enum clnt_stat
|
static enum clnt_stat
|
||||||
|
@ -239,7 +239,7 @@ fooy:
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (__libc_clntudp_bufcreate)
|
libc_hidden_def (__libc_clntudp_bufcreate)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (__libc_clntudp_bufcreate, GLIBC_PRIVATE)
|
libc_hidden_nolink_sunrpc (__libc_clntudp_bufcreate, GLIBC_PRIVATE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CLIENT *
|
CLIENT *
|
||||||
@ -250,7 +250,7 @@ clntudp_bufcreate (struct sockaddr_in *raddr, u_long program, u_long version,
|
|||||||
return __libc_clntudp_bufcreate (raddr, program, version, wait,
|
return __libc_clntudp_bufcreate (raddr, program, version, wait,
|
||||||
sockp, sendsz, recvsz, 0);
|
sockp, sendsz, recvsz, 0);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (clntudp_bufcreate, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clntudp_bufcreate, GLIBC_2_0)
|
||||||
|
|
||||||
CLIENT *
|
CLIENT *
|
||||||
clntudp_create (raddr, program, version, wait, sockp)
|
clntudp_create (raddr, program, version, wait, sockp)
|
||||||
@ -266,7 +266,7 @@ clntudp_create (raddr, program, version, wait, sockp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (clntudp_create)
|
libc_hidden_def (clntudp_create)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (clntudp_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clntudp_create, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -200,7 +200,7 @@ fooy:
|
|||||||
mem_free ((caddr_t) h, sizeof (CLIENT));
|
mem_free ((caddr_t) h, sizeof (CLIENT));
|
||||||
return (CLIENT *) NULL;
|
return (CLIENT *) NULL;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (clntunix_create, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (clntunix_create, GLIBC_2_1)
|
||||||
|
|
||||||
static enum clnt_stat
|
static enum clnt_stat
|
||||||
clntunix_call (h, proc, xdr_args, args_ptr, xdr_results, results_ptr, timeout)
|
clntunix_call (h, proc, xdr_args, args_ptr, xdr_results, results_ptr, timeout)
|
||||||
|
@ -102,7 +102,7 @@ cbc_crypt (char *key, char *buf, unsigned int len, unsigned int mode,
|
|||||||
COPY8 (dp.des_ivec, ivec);
|
COPY8 (dp.des_ivec, ivec);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (cbc_crypt, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (cbc_crypt, GLIBC_2_1)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ECB mode encryption
|
* ECB mode encryption
|
||||||
@ -115,4 +115,4 @@ ecb_crypt (char *key, char *buf, unsigned int len, unsigned int mode)
|
|||||||
dp.des_mode = ECB;
|
dp.des_mode = ECB;
|
||||||
return common_crypt (key, buf, len, mode, &dp);
|
return common_crypt (key, buf, len, mode, &dp);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (ecb_crypt, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (ecb_crypt, GLIBC_2_1)
|
||||||
|
@ -70,4 +70,4 @@ des_setparity (char *p)
|
|||||||
p++;
|
p++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (des_setparity, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (des_setparity, GLIBC_2_1)
|
||||||
|
@ -99,5 +99,5 @@ get_myaddress (struct sockaddr_in *addr)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (get_myaddress)
|
libc_hidden_def (get_myaddress)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (get_myaddress, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (get_myaddress, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
@ -80,7 +80,7 @@ key_setsecret (char *secretkey)
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (key_setsecret, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (key_setsecret, GLIBC_2_1)
|
||||||
|
|
||||||
/* key_secretkey_is_set() returns 1 if the keyserver has a secret key
|
/* key_secretkey_is_set() returns 1 if the keyserver has a secret key
|
||||||
* stored for the caller's effective uid; it returns 0 otherwise
|
* stored for the caller's effective uid; it returns 0 otherwise
|
||||||
@ -109,7 +109,7 @@ key_secretkey_is_set (void)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (key_secretkey_is_set)
|
libc_hidden_def (key_secretkey_is_set)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (key_secretkey_is_set, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (key_secretkey_is_set, GLIBC_2_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
@ -133,7 +133,7 @@ key_encryptsession (char *remotename, des_block *deskey)
|
|||||||
*deskey = res.cryptkeyres_u.deskey;
|
*deskey = res.cryptkeyres_u.deskey;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (key_encryptsession, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (key_encryptsession, GLIBC_2_1)
|
||||||
|
|
||||||
int
|
int
|
||||||
key_decryptsession (char *remotename, des_block *deskey)
|
key_decryptsession (char *remotename, des_block *deskey)
|
||||||
@ -155,7 +155,7 @@ key_decryptsession (char *remotename, des_block *deskey)
|
|||||||
*deskey = res.cryptkeyres_u.deskey;
|
*deskey = res.cryptkeyres_u.deskey;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (key_decryptsession, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (key_decryptsession, GLIBC_2_1)
|
||||||
|
|
||||||
int
|
int
|
||||||
key_encryptsession_pk (char *remotename, netobj *remotekey,
|
key_encryptsession_pk (char *remotename, netobj *remotekey,
|
||||||
@ -180,7 +180,7 @@ key_encryptsession_pk (char *remotename, netobj *remotekey,
|
|||||||
*deskey = res.cryptkeyres_u.deskey;
|
*deskey = res.cryptkeyres_u.deskey;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (key_encryptsession_pk, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (key_encryptsession_pk, GLIBC_2_1)
|
||||||
|
|
||||||
int
|
int
|
||||||
key_decryptsession_pk (char *remotename, netobj *remotekey,
|
key_decryptsession_pk (char *remotename, netobj *remotekey,
|
||||||
@ -205,7 +205,7 @@ key_decryptsession_pk (char *remotename, netobj *remotekey,
|
|||||||
*deskey = res.cryptkeyres_u.deskey;
|
*deskey = res.cryptkeyres_u.deskey;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (key_decryptsession_pk, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (key_decryptsession_pk, GLIBC_2_1)
|
||||||
|
|
||||||
int
|
int
|
||||||
key_gendes (des_block *key)
|
key_gendes (des_block *key)
|
||||||
@ -239,7 +239,7 @@ key_gendes (des_block *key)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (key_gendes)
|
libc_hidden_def (key_gendes)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (key_gendes, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (key_gendes, GLIBC_2_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
@ -259,7 +259,7 @@ key_setnet (struct key_netstarg *arg)
|
|||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (key_setnet, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (key_setnet, GLIBC_2_1)
|
||||||
|
|
||||||
int
|
int
|
||||||
key_get_conv (char *pkey, des_block *deskey)
|
key_get_conv (char *pkey, des_block *deskey)
|
||||||
@ -278,7 +278,7 @@ key_get_conv (char *pkey, des_block *deskey)
|
|||||||
*deskey = res.cryptkeyres_u.deskey;
|
*deskey = res.cryptkeyres_u.deskey;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (key_get_conv, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (key_get_conv, GLIBC_2_1)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hack to allow the keyserver to use AUTH_DES (for authenticated
|
* Hack to allow the keyserver to use AUTH_DES (for authenticated
|
||||||
|
@ -38,7 +38,7 @@ xdr_keystatus (XDR * xdrs, keystatus * objp)
|
|||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_keystatus, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_keystatus, GLIBC_2_0)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_keybuf (XDR * xdrs, keybuf objp)
|
xdr_keybuf (XDR * xdrs, keybuf objp)
|
||||||
@ -48,7 +48,7 @@ xdr_keybuf (XDR * xdrs, keybuf objp)
|
|||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_keybuf, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_keybuf, GLIBC_2_0)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_netnamestr (XDR * xdrs, netnamestr * objp)
|
xdr_netnamestr (XDR * xdrs, netnamestr * objp)
|
||||||
@ -58,7 +58,7 @@ xdr_netnamestr (XDR * xdrs, netnamestr * objp)
|
|||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_netnamestr, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_netnamestr, GLIBC_2_1)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_cryptkeyarg (XDR * xdrs, cryptkeyarg * objp)
|
xdr_cryptkeyarg (XDR * xdrs, cryptkeyarg * objp)
|
||||||
@ -71,7 +71,7 @@ xdr_cryptkeyarg (XDR * xdrs, cryptkeyarg * objp)
|
|||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_cryptkeyarg, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_cryptkeyarg, GLIBC_2_0)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_cryptkeyarg2 (XDR * xdrs, cryptkeyarg2 * objp)
|
xdr_cryptkeyarg2 (XDR * xdrs, cryptkeyarg2 * objp)
|
||||||
@ -84,7 +84,7 @@ xdr_cryptkeyarg2 (XDR * xdrs, cryptkeyarg2 * objp)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_cryptkeyarg2, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_cryptkeyarg2, GLIBC_2_0)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_cryptkeyres (XDR * xdrs, cryptkeyres * objp)
|
xdr_cryptkeyres (XDR * xdrs, cryptkeyres * objp)
|
||||||
@ -102,7 +102,7 @@ xdr_cryptkeyres (XDR * xdrs, cryptkeyres * objp)
|
|||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_cryptkeyres, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_cryptkeyres, GLIBC_2_0)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_unixcred (XDR * xdrs, unixcred * objp)
|
xdr_unixcred (XDR * xdrs, unixcred * objp)
|
||||||
@ -117,7 +117,7 @@ xdr_unixcred (XDR * xdrs, unixcred * objp)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_unixcred, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_unixcred, GLIBC_2_1)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_getcredres (XDR * xdrs, getcredres * objp)
|
xdr_getcredres (XDR * xdrs, getcredres * objp)
|
||||||
@ -135,7 +135,7 @@ xdr_getcredres (XDR * xdrs, getcredres * objp)
|
|||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_getcredres, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_getcredres, GLIBC_2_1)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_key_netstarg (XDR * xdrs, key_netstarg * objp)
|
xdr_key_netstarg (XDR * xdrs, key_netstarg * objp)
|
||||||
@ -148,7 +148,7 @@ xdr_key_netstarg (XDR * xdrs, key_netstarg * objp)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_key_netstarg, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_key_netstarg, GLIBC_2_0)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_key_netstres (XDR * xdrs, key_netstres * objp)
|
xdr_key_netstres (XDR * xdrs, key_netstres * objp)
|
||||||
@ -166,4 +166,4 @@ xdr_key_netstres (XDR * xdrs, key_netstres * objp)
|
|||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_key_netstres, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_key_netstres, GLIBC_2_0)
|
||||||
|
@ -54,7 +54,7 @@ user2netname (char netname[MAXNETNAMELEN + 1], const uid_t uid,
|
|||||||
netname[i - 1] = '\0';
|
netname[i - 1] = '\0';
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (user2netname, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (user2netname, GLIBC_2_1)
|
||||||
|
|
||||||
int
|
int
|
||||||
host2netname (char netname[MAXNETNAMELEN + 1], const char *host,
|
host2netname (char netname[MAXNETNAMELEN + 1], const char *host,
|
||||||
@ -118,7 +118,7 @@ host2netname (char netname[MAXNETNAMELEN + 1], const char *host,
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (host2netname)
|
libc_hidden_def (host2netname)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (host2netname, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (host2netname, GLIBC_2_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
@ -134,7 +134,7 @@ getnetname (char name[MAXNETNAMELEN + 1])
|
|||||||
dummy = user2netname (name, uid, NULL);
|
dummy = user2netname (name, uid, NULL);
|
||||||
return (dummy);
|
return (dummy);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (getnetname, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (getnetname, GLIBC_2_1)
|
||||||
|
|
||||||
/* Type of the lookup function for netname2user. */
|
/* Type of the lookup function for netname2user. */
|
||||||
typedef int (*netname2user_function) (const char netname[MAXNETNAMELEN + 1],
|
typedef int (*netname2user_function) (const char netname[MAXNETNAMELEN + 1],
|
||||||
@ -187,7 +187,7 @@ netname2user (const char netname[MAXNETNAMELEN + 1], uid_t * uidp, gid_t * gidp,
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (netname2user)
|
libc_hidden_def (netname2user)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (netname2user, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (netname2user, GLIBC_2_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
@ -214,4 +214,4 @@ netname2host (const char netname[MAXNETNAMELEN + 1], char *hostname,
|
|||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (netname2host, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (netname2host, GLIBC_2_1)
|
||||||
|
@ -84,4 +84,4 @@ pmap_getmaps (struct sockaddr_in *address)
|
|||||||
address->sin_port = 0;
|
address->sin_port = 0;
|
||||||
return head;
|
return head;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (pmap_getmaps, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (pmap_getmaps, GLIBC_2_0)
|
||||||
|
@ -142,7 +142,7 @@ __libc_rpc_getport (address, program, version, protocol, timeout_sec,
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (__libc_rpc_getport)
|
libc_hidden_def (__libc_rpc_getport)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (__libc_rpc_getport, GLIBC_PRIVATE)
|
libc_hidden_nolink_sunrpc (__libc_rpc_getport, GLIBC_PRIVATE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -160,4 +160,4 @@ pmap_getport (address, program, version, protocol)
|
|||||||
{
|
{
|
||||||
return __libc_rpc_getport (address, program, version, protocol, 5, 60);
|
return __libc_rpc_getport (address, program, version, protocol, 5, 60);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (pmap_getport, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (pmap_getport, GLIBC_2_0)
|
||||||
|
@ -131,7 +131,7 @@ pmap_set (u_long program, u_long version, int protocol, u_short port)
|
|||||||
/* (void)close(socket); CLNT_DESTROY closes it */
|
/* (void)close(socket); CLNT_DESTROY closes it */
|
||||||
return rslt;
|
return rslt;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (pmap_set, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (pmap_set, GLIBC_2_0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Remove the mapping between program,version and port.
|
* Remove the mapping between program,version and port.
|
||||||
@ -162,4 +162,4 @@ pmap_unset (u_long program, u_long version)
|
|||||||
/* (void)close(socket); CLNT_DESTROY already closed it */
|
/* (void)close(socket); CLNT_DESTROY already closed it */
|
||||||
return rslt;
|
return rslt;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (pmap_unset, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (pmap_unset, GLIBC_2_0)
|
||||||
|
@ -49,4 +49,4 @@ xdr_pmap (xdrs, regs)
|
|||||||
return xdr_u_long (xdrs, ®s->pm_port);
|
return xdr_u_long (xdrs, ®s->pm_port);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_pmap, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_pmap, GLIBC_2_0)
|
||||||
|
@ -110,4 +110,4 @@ xdr_pmaplist (xdrs, rp)
|
|||||||
rp = freeing ? &next : &((*rp)->pml_next);
|
rp = freeing ? &next : &((*rp)->pml_next);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_pmaplist, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_pmaplist, GLIBC_2_0)
|
||||||
|
@ -104,7 +104,7 @@ pmap_rmtcall (addr, prog, vers, proc, xdrargs, argsp, xdrres, resp, tout, port_p
|
|||||||
addr->sin_port = 0;
|
addr->sin_port = 0;
|
||||||
return stat;
|
return stat;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (pmap_rmtcall, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (pmap_rmtcall, GLIBC_2_0)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -137,7 +137,7 @@ xdr_rmtcall_args (XDR *xdrs, struct rmtcallargs *cap)
|
|||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_rmtcall_args, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_rmtcall_args, GLIBC_2_0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XDR remote call results
|
* XDR remote call results
|
||||||
@ -160,7 +160,7 @@ xdr_rmtcallres (xdrs, crp)
|
|||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_rmtcallres, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_rmtcallres, GLIBC_2_0)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -388,4 +388,4 @@ done_broad:
|
|||||||
AUTH_DESTROY (unix_auth);
|
AUTH_DESTROY (unix_auth);
|
||||||
return stat;
|
return stat;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (clnt_broadcast, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (clnt_broadcast, GLIBC_2_0)
|
||||||
|
@ -75,7 +75,7 @@ getpublickey (const char *name, char *key)
|
|||||||
|
|
||||||
return status == NSS_STATUS_SUCCESS;
|
return status == NSS_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (getpublickey, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (getpublickey, GLIBC_2_0)
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
@ -118,4 +118,4 @@ getsecretkey (const char *name, char *key, const char *passwd)
|
|||||||
|
|
||||||
return status == NSS_STATUS_SUCCESS;
|
return status == NSS_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (getsecretkey, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (getsecretkey, GLIBC_2_0)
|
||||||
|
@ -194,4 +194,4 @@ xdr_callmsg (XDR *xdrs, struct rpc_msg *cmsg)
|
|||||||
return xdr_opaque_auth (xdrs, &(cmsg->rm_call.cb_verf));
|
return xdr_opaque_auth (xdrs, &(cmsg->rm_call.cb_verf));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_callmsg, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_callmsg, GLIBC_2_0)
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
section but we cannot add const to the type because this isn't how
|
section but we cannot add const to the type because this isn't how
|
||||||
the variable is declared. So we use the section attribute. */
|
the variable is declared. So we use the section attribute. */
|
||||||
struct opaque_auth _null_auth __attribute__ ((nocommon));
|
struct opaque_auth _null_auth __attribute__ ((nocommon));
|
||||||
libc_hidden_nolink (_null_auth, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (_null_auth, GLIBC_2_0)
|
||||||
fd_set svc_fdset;
|
fd_set svc_fdset;
|
||||||
struct rpc_createerr rpc_createerr;
|
struct rpc_createerr rpc_createerr;
|
||||||
struct pollfd *svc_pollfd;
|
struct pollfd *svc_pollfd;
|
||||||
|
@ -46,4 +46,4 @@ _rpc_dtablesize (void)
|
|||||||
|
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (_rpc_dtablesize, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (_rpc_dtablesize, GLIBC_2_0)
|
||||||
|
@ -57,7 +57,7 @@ xdr_opaque_auth (XDR *xdrs, struct opaque_auth *ap)
|
|||||||
&ap->oa_length, MAX_AUTH_BYTES);
|
&ap->oa_length, MAX_AUTH_BYTES);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_opaque_auth, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_opaque_auth, GLIBC_2_0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XDR a DES block
|
* XDR a DES block
|
||||||
@ -67,7 +67,7 @@ xdr_des_block (XDR *xdrs, des_block *blkp)
|
|||||||
{
|
{
|
||||||
return xdr_opaque (xdrs, (caddr_t) blkp, sizeof (des_block));
|
return xdr_opaque (xdrs, (caddr_t) blkp, sizeof (des_block));
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_des_block, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_des_block, GLIBC_2_0)
|
||||||
|
|
||||||
/* * * * * * * * * * * * * * XDR RPC MESSAGE * * * * * * * * * * * * * * * */
|
/* * * * * * * * * * * * * * XDR RPC MESSAGE * * * * * * * * * * * * * * * */
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ xdr_accepted_reply (XDR *xdrs, struct accepted_reply *ar)
|
|||||||
}
|
}
|
||||||
return TRUE; /* TRUE => open ended set of problems */
|
return TRUE; /* TRUE => open ended set of problems */
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_accepted_reply, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_accepted_reply, GLIBC_2_0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XDR the MSG_DENIED part of a reply message union
|
* XDR the MSG_DENIED part of a reply message union
|
||||||
@ -118,7 +118,7 @@ xdr_rejected_reply (XDR *xdrs, struct rejected_reply *rr)
|
|||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_rejected_reply, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_rejected_reply, GLIBC_2_0)
|
||||||
|
|
||||||
static const struct xdr_discrim reply_dscrm[3] =
|
static const struct xdr_discrim reply_dscrm[3] =
|
||||||
{
|
{
|
||||||
@ -142,7 +142,7 @@ xdr_replymsg (xdrs, rmsg)
|
|||||||
NULL_xdrproc_t);
|
NULL_xdrproc_t);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_replymsg, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_replymsg, GLIBC_2_0)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -167,7 +167,7 @@ xdr_callhdr (xdrs, cmsg)
|
|||||||
return xdr_u_long (xdrs, &(cmsg->rm_call.cb_vers));
|
return xdr_u_long (xdrs, &(cmsg->rm_call.cb_vers));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_callhdr, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_callhdr, GLIBC_2_0)
|
||||||
|
|
||||||
/* ************************** Client utility routine ************* */
|
/* ************************** Client utility routine ************* */
|
||||||
|
|
||||||
@ -277,4 +277,4 @@ _seterr_reply (struct rpc_msg *msg,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (_seterr_reply, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (_seterr_reply, GLIBC_2_0)
|
||||||
|
@ -97,7 +97,7 @@ __rpc_thread_svc_fdset (void)
|
|||||||
return &svc_fdset;
|
return &svc_fdset;
|
||||||
return &tvp->svc_fdset_s;
|
return &tvp->svc_fdset_s;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (__rpc_thread_svc_fdset, GLIBC_2_2_3)
|
libc_hidden_nolink_sunrpc (__rpc_thread_svc_fdset, GLIBC_2_2_3)
|
||||||
|
|
||||||
struct rpc_createerr *
|
struct rpc_createerr *
|
||||||
__rpc_thread_createerr (void)
|
__rpc_thread_createerr (void)
|
||||||
@ -109,7 +109,7 @@ __rpc_thread_createerr (void)
|
|||||||
return &rpc_createerr;
|
return &rpc_createerr;
|
||||||
return &tvp->rpc_createerr_s;
|
return &tvp->rpc_createerr_s;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (__rpc_thread_createerr, GLIBC_2_2_3)
|
libc_hidden_nolink_sunrpc (__rpc_thread_createerr, GLIBC_2_2_3)
|
||||||
|
|
||||||
struct pollfd **
|
struct pollfd **
|
||||||
__rpc_thread_svc_pollfd (void)
|
__rpc_thread_svc_pollfd (void)
|
||||||
@ -124,7 +124,7 @@ __rpc_thread_svc_pollfd (void)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (__rpc_thread_svc_pollfd)
|
libc_hidden_def (__rpc_thread_svc_pollfd)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (__rpc_thread_svc_pollfd, GLIBC_2_2_3)
|
libc_hidden_nolink_sunrpc (__rpc_thread_svc_pollfd, GLIBC_2_2_3)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int *
|
int *
|
||||||
@ -140,7 +140,7 @@ __rpc_thread_svc_max_pollfd (void)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (__rpc_thread_svc_max_pollfd)
|
libc_hidden_def (__rpc_thread_svc_max_pollfd)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (__rpc_thread_svc_max_pollfd, GLIBC_2_2_3)
|
libc_hidden_nolink_sunrpc (__rpc_thread_svc_max_pollfd, GLIBC_2_2_3)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _RPC_THREAD_SAFE_ */
|
#endif /* _RPC_THREAD_SAFE_ */
|
||||||
|
@ -140,4 +140,4 @@ rtime (struct sockaddr_in *addrp, struct rpc_timeval *timep,
|
|||||||
timep->tv_usec = 0;
|
timep->tv_usec = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (rtime, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (rtime, GLIBC_2_1)
|
||||||
|
32
sunrpc/svc.c
32
sunrpc/svc.c
@ -115,7 +115,7 @@ xprt_register (SVCXPRT *xprt)
|
|||||||
POLLRDNORM | POLLRDBAND);
|
POLLRDNORM | POLLRDBAND);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xprt_register, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xprt_register, GLIBC_2_0)
|
||||||
|
|
||||||
/* De-activate a transport handle. */
|
/* De-activate a transport handle. */
|
||||||
void
|
void
|
||||||
@ -139,7 +139,7 @@ xprt_unregister (SVCXPRT *xprt)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xprt_unregister)
|
libc_hidden_def (xprt_unregister)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xprt_unregister, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xprt_unregister, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ pmap_it:
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (svc_register)
|
libc_hidden_def (svc_register)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (svc_register, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svc_register, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Remove a service program from the callout list. */
|
/* Remove a service program from the callout list. */
|
||||||
@ -242,7 +242,7 @@ svc_unregister (rpcprog_t prog, rpcvers_t vers)
|
|||||||
if (! svc_is_mapped (prog, vers))
|
if (! svc_is_mapped (prog, vers))
|
||||||
pmap_unset (prog, vers);
|
pmap_unset (prog, vers);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svc_unregister, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svc_unregister, GLIBC_2_0)
|
||||||
|
|
||||||
/* ******************* REPLY GENERATION ROUTINES ************ */
|
/* ******************* REPLY GENERATION ROUTINES ************ */
|
||||||
|
|
||||||
@ -264,7 +264,7 @@ svc_sendreply (register SVCXPRT *xprt, xdrproc_t xdr_results,
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (svc_sendreply)
|
libc_hidden_def (svc_sendreply)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (svc_sendreply, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svc_sendreply, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* No procedure error reply */
|
/* No procedure error reply */
|
||||||
@ -282,7 +282,7 @@ svcerr_noproc (register SVCXPRT *xprt)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (svcerr_noproc)
|
libc_hidden_def (svcerr_noproc)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (svcerr_noproc, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcerr_noproc, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Can't decode args error reply */
|
/* Can't decode args error reply */
|
||||||
@ -300,7 +300,7 @@ svcerr_decode (register SVCXPRT *xprt)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (svcerr_decode)
|
libc_hidden_def (svcerr_decode)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (svcerr_decode, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcerr_decode, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Some system error */
|
/* Some system error */
|
||||||
@ -318,7 +318,7 @@ svcerr_systemerr (register SVCXPRT *xprt)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (svcerr_systemerr)
|
libc_hidden_def (svcerr_systemerr)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (svcerr_systemerr, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcerr_systemerr, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Authentication error reply */
|
/* Authentication error reply */
|
||||||
@ -333,7 +333,7 @@ svcerr_auth (SVCXPRT *xprt, enum auth_stat why)
|
|||||||
rply.rjcted_rply.rj_why = why;
|
rply.rjcted_rply.rj_why = why;
|
||||||
SVC_REPLY (xprt, &rply);
|
SVC_REPLY (xprt, &rply);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svcerr_auth, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcerr_auth, GLIBC_2_0)
|
||||||
|
|
||||||
/* Auth too weak error reply */
|
/* Auth too weak error reply */
|
||||||
void
|
void
|
||||||
@ -341,7 +341,7 @@ svcerr_weakauth (SVCXPRT *xprt)
|
|||||||
{
|
{
|
||||||
svcerr_auth (xprt, AUTH_TOOWEAK);
|
svcerr_auth (xprt, AUTH_TOOWEAK);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svcerr_weakauth, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcerr_weakauth, GLIBC_2_0)
|
||||||
|
|
||||||
/* Program unavailable error reply */
|
/* Program unavailable error reply */
|
||||||
void
|
void
|
||||||
@ -355,7 +355,7 @@ svcerr_noprog (register SVCXPRT *xprt)
|
|||||||
rply.acpted_rply.ar_stat = PROG_UNAVAIL;
|
rply.acpted_rply.ar_stat = PROG_UNAVAIL;
|
||||||
SVC_REPLY (xprt, &rply);
|
SVC_REPLY (xprt, &rply);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svcerr_noprog, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcerr_noprog, GLIBC_2_0)
|
||||||
|
|
||||||
/* Program version mismatch error reply */
|
/* Program version mismatch error reply */
|
||||||
void
|
void
|
||||||
@ -372,7 +372,7 @@ svcerr_progvers (register SVCXPRT *xprt, rpcvers_t low_vers,
|
|||||||
rply.acpted_rply.ar_vers.high = high_vers;
|
rply.acpted_rply.ar_vers.high = high_vers;
|
||||||
SVC_REPLY (xprt, &rply);
|
SVC_REPLY (xprt, &rply);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svcerr_progvers, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcerr_progvers, GLIBC_2_0)
|
||||||
|
|
||||||
/* ******************* SERVER INPUT STUFF ******************* */
|
/* ******************* SERVER INPUT STUFF ******************* */
|
||||||
|
|
||||||
@ -401,7 +401,7 @@ svc_getreq (int rdfds)
|
|||||||
readfds.fds_bits[0] = rdfds;
|
readfds.fds_bits[0] = rdfds;
|
||||||
svc_getreqset (&readfds);
|
svc_getreqset (&readfds);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svc_getreq, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svc_getreq, GLIBC_2_0)
|
||||||
|
|
||||||
void
|
void
|
||||||
svc_getreqset (fd_set *readfds)
|
svc_getreqset (fd_set *readfds)
|
||||||
@ -420,7 +420,7 @@ svc_getreqset (fd_set *readfds)
|
|||||||
for (mask = *maskp++; (bit = ffsl (mask)); mask ^= (1L << (bit - 1)))
|
for (mask = *maskp++; (bit = ffsl (mask)); mask ^= (1L << (bit - 1)))
|
||||||
svc_getreq_common (sock + bit - 1);
|
svc_getreq_common (sock + bit - 1);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svc_getreqset, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svc_getreqset, GLIBC_2_0)
|
||||||
|
|
||||||
void
|
void
|
||||||
svc_getreq_poll (struct pollfd *pfdp, int pollretval)
|
svc_getreq_poll (struct pollfd *pfdp, int pollretval)
|
||||||
@ -449,7 +449,7 @@ svc_getreq_poll (struct pollfd *pfdp, int pollretval)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (svc_getreq_poll)
|
libc_hidden_def (svc_getreq_poll)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (svc_getreq_poll, GLIBC_2_2)
|
libc_hidden_nolink_sunrpc (svc_getreq_poll, GLIBC_2_2)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -542,7 +542,7 @@ svc_getreq_common (const int fd)
|
|||||||
}
|
}
|
||||||
while (stat == XPRT_MOREREQS);
|
while (stat == XPRT_MOREREQS);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svc_getreq_common, GLIBC_2_2)
|
libc_hidden_nolink_sunrpc (svc_getreq_common, GLIBC_2_2)
|
||||||
|
|
||||||
#ifdef _RPC_THREAD_SAFE_
|
#ifdef _RPC_THREAD_SAFE_
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ _authenticate (register struct svc_req *rqst, struct rpc_msg *msg)
|
|||||||
|
|
||||||
return AUTH_REJECTEDCRED;
|
return AUTH_REJECTEDCRED;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (_authenticate, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (_authenticate, GLIBC_2_1)
|
||||||
|
|
||||||
static enum auth_stat
|
static enum auth_stat
|
||||||
_svcauth_null (struct svc_req *rqst, struct rpc_msg *msg)
|
_svcauth_null (struct svc_req *rqst, struct rpc_msg *msg)
|
||||||
|
@ -88,7 +88,7 @@ svcraw_create (void)
|
|||||||
xdrmem_create (&srp->xdr_stream, srp->_raw_buf, UDPMSGSIZE, XDR_FREE);
|
xdrmem_create (&srp->xdr_stream, srp->_raw_buf, UDPMSGSIZE, XDR_FREE);
|
||||||
return &srp->server;
|
return &srp->server;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svcraw_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcraw_create, GLIBC_2_0)
|
||||||
|
|
||||||
static enum xprt_stat
|
static enum xprt_stat
|
||||||
svcraw_stat (SVCXPRT *xprt)
|
svcraw_stat (SVCXPRT *xprt)
|
||||||
|
@ -46,7 +46,7 @@ svc_exit (void)
|
|||||||
svc_pollfd = NULL;
|
svc_pollfd = NULL;
|
||||||
svc_max_pollfd = 0;
|
svc_max_pollfd = 0;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svc_exit, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svc_exit, GLIBC_2_0)
|
||||||
|
|
||||||
void
|
void
|
||||||
svc_run (void)
|
svc_run (void)
|
||||||
@ -104,5 +104,5 @@ svc_run (void)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (svc_run)
|
libc_hidden_def (svc_run)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (svc_run, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svc_run, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
@ -187,7 +187,7 @@ svctcp_create (int sock, u_int sendsize, u_int recvsize)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (svctcp_create)
|
libc_hidden_def (svctcp_create)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (svctcp_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svctcp_create, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -199,7 +199,7 @@ svcfd_create (int fd, u_int sendsize, u_int recvsize)
|
|||||||
{
|
{
|
||||||
return makefd_xprt (fd, sendsize, recvsize);
|
return makefd_xprt (fd, sendsize, recvsize);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svcfd_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcfd_create, GLIBC_2_0)
|
||||||
|
|
||||||
static SVCXPRT *
|
static SVCXPRT *
|
||||||
internal_function
|
internal_function
|
||||||
|
@ -184,7 +184,7 @@ svcudp_create: xp_pad is too small for IP_PKTINFO\n"));
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (svcudp_bufcreate)
|
libc_hidden_def (svcudp_bufcreate)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (svcudp_bufcreate, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcudp_bufcreate, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SVCXPRT *
|
SVCXPRT *
|
||||||
@ -196,7 +196,7 @@ svcudp_create (sock)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (svcudp_create)
|
libc_hidden_def (svcudp_create)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (svcudp_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcudp_create, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static enum xprt_stat
|
static enum xprt_stat
|
||||||
@ -500,7 +500,7 @@ svcudp_enablecache (SVCXPRT *transp, u_long size)
|
|||||||
su->su_cache = (char *) uc;
|
su->su_cache = (char *) uc;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svcudp_enablecache, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (svcudp_enablecache, GLIBC_2_0)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -184,7 +184,7 @@ svcunix_create (int sock, u_int sendsize, u_int recvsize, char *path)
|
|||||||
xprt_register (xprt);
|
xprt_register (xprt);
|
||||||
return xprt;
|
return xprt;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svcunix_create, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (svcunix_create, GLIBC_2_1)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Like svunix_create(), except the routine takes any *open* UNIX file
|
* Like svunix_create(), except the routine takes any *open* UNIX file
|
||||||
@ -195,7 +195,7 @@ svcunixfd_create (int fd, u_int sendsize, u_int recvsize)
|
|||||||
{
|
{
|
||||||
return makefd_xprt (fd, sendsize, recvsize);
|
return makefd_xprt (fd, sendsize, recvsize);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (svcunixfd_create, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (svcunixfd_create, GLIBC_2_1)
|
||||||
|
|
||||||
static SVCXPRT *
|
static SVCXPRT *
|
||||||
internal_function
|
internal_function
|
||||||
|
@ -583,7 +583,7 @@ authdes_getucred (const struct authdes_cred *adc, uid_t * uid, gid_t * gid,
|
|||||||
groups[i] = cred->groups[i];
|
groups[i] = cred->groups[i];
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (authdes_getucred, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (authdes_getucred, GLIBC_2_1)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
internal_function
|
internal_function
|
||||||
|
@ -127,7 +127,7 @@ xencrypt (char *secret, char *passwd)
|
|||||||
free (buf);
|
free (buf);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xencrypt, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xencrypt, GLIBC_2_0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decrypt secret key using passwd
|
* Decrypt secret key using passwd
|
||||||
@ -163,7 +163,7 @@ xdecrypt (char *secret, char *passwd)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdecrypt)
|
libc_hidden_def (xdecrypt)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdecrypt, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdecrypt, GLIBC_2_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
44
sunrpc/xdr.c
44
sunrpc/xdr.c
@ -72,7 +72,7 @@ xdr_free (xdrproc_t proc, char *objp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_free)
|
libc_hidden_def (xdr_free)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_free, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_free, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -86,7 +86,7 @@ xdr_void (void)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_void)
|
libc_hidden_def (xdr_void)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_void, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_void, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -126,7 +126,7 @@ xdr_int (XDR *xdrs, int *ip)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_int)
|
libc_hidden_def (xdr_int)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_int, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_int, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -165,7 +165,7 @@ xdr_u_int (XDR *xdrs, u_int *up)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_u_int)
|
libc_hidden_def (xdr_u_int)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_u_int, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_u_int, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -193,7 +193,7 @@ xdr_long (XDR *xdrs, long *lp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_long)
|
libc_hidden_def (xdr_long)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_long, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_long, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -232,7 +232,7 @@ xdr_u_long (XDR *xdrs, u_long *ulp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_u_long)
|
libc_hidden_def (xdr_u_long)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_u_long, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_u_long, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -268,7 +268,7 @@ xdr_hyper (XDR *xdrs, quad_t *llp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_hyper)
|
libc_hidden_def (xdr_hyper)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_hyper, GLIBC_2_1_1)
|
libc_hidden_nolink_sunrpc (xdr_hyper, GLIBC_2_1_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -304,7 +304,7 @@ xdr_u_hyper (XDR *xdrs, u_quad_t *ullp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_u_hyper)
|
libc_hidden_def (xdr_u_hyper)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_u_hyper, GLIBC_2_1_1)
|
libc_hidden_nolink_sunrpc (xdr_u_hyper, GLIBC_2_1_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
@ -315,7 +315,7 @@ xdr_longlong_t (XDR *xdrs, quad_t *llp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_longlong_t)
|
libc_hidden_def (xdr_longlong_t)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_longlong_t, GLIBC_2_1_1)
|
libc_hidden_nolink_sunrpc (xdr_longlong_t, GLIBC_2_1_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
@ -326,7 +326,7 @@ xdr_u_longlong_t (XDR *xdrs, u_quad_t *ullp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_u_longlong_t)
|
libc_hidden_def (xdr_u_longlong_t)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_u_longlong_t, GLIBC_2_1_1)
|
libc_hidden_nolink_sunrpc (xdr_u_longlong_t, GLIBC_2_1_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -359,7 +359,7 @@ xdr_short (XDR *xdrs, short *sp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_short)
|
libc_hidden_def (xdr_short)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_short, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_short, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -392,7 +392,7 @@ xdr_u_short (XDR *xdrs, u_short *usp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_u_short)
|
libc_hidden_def (xdr_u_short)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_u_short, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_u_short, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -415,7 +415,7 @@ xdr_char (XDR *xdrs, char *cp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_char)
|
libc_hidden_def (xdr_char)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_char, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_char, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -437,7 +437,7 @@ xdr_u_char (XDR *xdrs, u_char *cp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_u_char)
|
libc_hidden_def (xdr_u_char)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_u_char, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_u_char, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -470,7 +470,7 @@ xdr_bool (XDR *xdrs, bool_t *bp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_bool)
|
libc_hidden_def (xdr_bool)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_bool, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_bool, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -525,7 +525,7 @@ xdr_enum (XDR *xdrs, enum_t *ep)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_enum)
|
libc_hidden_def (xdr_enum)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_enum, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_enum, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -580,7 +580,7 @@ xdr_opaque (XDR *xdrs, caddr_t cp, u_int cnt)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_opaque)
|
libc_hidden_def (xdr_opaque)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_opaque, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_opaque, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -648,7 +648,7 @@ xdr_bytes (xdrs, cpp, sizep, maxsize)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_bytes)
|
libc_hidden_def (xdr_bytes)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_bytes, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_bytes, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -665,7 +665,7 @@ xdr_netobj (xdrs, np)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_netobj)
|
libc_hidden_def (xdr_netobj)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_netobj, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_netobj, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -714,7 +714,7 @@ xdr_union (xdrs, dscmp, unp, choices, dfault)
|
|||||||
return ((dfault == NULL_xdrproc_t) ? FALSE :
|
return ((dfault == NULL_xdrproc_t) ? FALSE :
|
||||||
(*dfault) (xdrs, unp, LASTUNSIGNED));
|
(*dfault) (xdrs, unp, LASTUNSIGNED));
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_union, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_union, GLIBC_2_0)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -806,7 +806,7 @@ xdr_string (xdrs, cpp, maxsize)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_string)
|
libc_hidden_def (xdr_string)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_string, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_string, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -827,5 +827,5 @@ xdr_wrapstring (xdrs, cpp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_wrapstring)
|
libc_hidden_def (xdr_wrapstring)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_wrapstring, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_wrapstring, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
@ -127,7 +127,7 @@ xdr_array (xdrs, addrp, sizep, maxsize, elsize, elproc)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_array)
|
libc_hidden_def (xdr_array)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_array, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_array, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -162,4 +162,4 @@ xdr_vector (xdrs, basep, nelem, elemsize, xdr_elem)
|
|||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_vector, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_vector, GLIBC_2_0)
|
||||||
|
@ -158,7 +158,7 @@ xdr_float(xdrs, fp)
|
|||||||
}
|
}
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_float, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_float, GLIBC_2_0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This routine works on Suns (Sky / 68000's) and Vaxen.
|
* This routine works on Suns (Sky / 68000's) and Vaxen.
|
||||||
@ -300,4 +300,4 @@ xdr_double(xdrs, dp)
|
|||||||
}
|
}
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_double, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_double, GLIBC_2_0)
|
||||||
|
@ -46,14 +46,14 @@ xdr_int64_t (XDR *xdrs, int64_t *ip)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_int64_t, GLIBC_2_1_1)
|
libc_hidden_nolink_sunrpc (xdr_int64_t, GLIBC_2_1_1)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_quad_t (XDR *xdrs, quad_t *ip)
|
xdr_quad_t (XDR *xdrs, quad_t *ip)
|
||||||
{
|
{
|
||||||
return xdr_int64_t (xdrs, (int64_t *) ip);
|
return xdr_int64_t (xdrs, (int64_t *) ip);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_quad_t, GLIBC_2_3_4)
|
libc_hidden_nolink_sunrpc (xdr_quad_t, GLIBC_2_3_4)
|
||||||
|
|
||||||
/* XDR 64bit unsigned integers */
|
/* XDR 64bit unsigned integers */
|
||||||
bool_t
|
bool_t
|
||||||
@ -82,14 +82,14 @@ xdr_uint64_t (XDR *xdrs, uint64_t *uip)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_uint64_t, GLIBC_2_1_1)
|
libc_hidden_nolink_sunrpc (xdr_uint64_t, GLIBC_2_1_1)
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_u_quad_t (XDR *xdrs, u_quad_t *ip)
|
xdr_u_quad_t (XDR *xdrs, u_quad_t *ip)
|
||||||
{
|
{
|
||||||
return xdr_uint64_t (xdrs, (uint64_t *) ip);
|
return xdr_uint64_t (xdrs, (uint64_t *) ip);
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_u_quad_t, GLIBC_2_3_4)
|
libc_hidden_nolink_sunrpc (xdr_u_quad_t, GLIBC_2_3_4)
|
||||||
|
|
||||||
/* XDR 32bit integers */
|
/* XDR 32bit integers */
|
||||||
bool_t
|
bool_t
|
||||||
@ -107,7 +107,7 @@ xdr_int32_t (XDR *xdrs, int32_t *lp)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_int32_t, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_int32_t, GLIBC_2_1)
|
||||||
|
|
||||||
/* XDR 32bit unsigned integers */
|
/* XDR 32bit unsigned integers */
|
||||||
bool_t
|
bool_t
|
||||||
@ -128,7 +128,7 @@ xdr_uint32_t (XDR *xdrs, uint32_t *ulp)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_uint32_t)
|
libc_hidden_def (xdr_uint32_t)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_uint32_t, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_uint32_t, GLIBC_2_1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* XDR 16bit integers */
|
/* XDR 16bit integers */
|
||||||
@ -153,7 +153,7 @@ xdr_int16_t (XDR *xdrs, int16_t *ip)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_int16_t, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_int16_t, GLIBC_2_1)
|
||||||
|
|
||||||
/* XDR 16bit unsigned integers */
|
/* XDR 16bit unsigned integers */
|
||||||
bool_t
|
bool_t
|
||||||
@ -177,7 +177,7 @@ xdr_uint16_t (XDR *xdrs, uint16_t *uip)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_uint16_t, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_uint16_t, GLIBC_2_1)
|
||||||
|
|
||||||
/* XDR 8bit integers */
|
/* XDR 8bit integers */
|
||||||
bool_t
|
bool_t
|
||||||
@ -201,7 +201,7 @@ xdr_int8_t (XDR *xdrs, int8_t *ip)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_int8_t, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_int8_t, GLIBC_2_1)
|
||||||
|
|
||||||
/* XDR 8bit unsigned integers */
|
/* XDR 8bit unsigned integers */
|
||||||
bool_t
|
bool_t
|
||||||
@ -225,4 +225,4 @@ xdr_uint8_t (XDR *xdrs, uint8_t *uip)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_uint8_t, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_uint8_t, GLIBC_2_1)
|
||||||
|
@ -81,7 +81,7 @@ xdrmem_create (XDR *xdrs, const caddr_t addr, u_int size, enum xdr_op op)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdrmem_create)
|
libc_hidden_def (xdrmem_create)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdrmem_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdrmem_create, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -189,7 +189,7 @@ xdrrec_create (XDR *xdrs, u_int sendsize,
|
|||||||
rstrm->fbtbc = 0;
|
rstrm->fbtbc = 0;
|
||||||
rstrm->last_frag = TRUE;
|
rstrm->last_frag = TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdrrec_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdrrec_create, GLIBC_2_0)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -477,7 +477,7 @@ xdrrec_skiprecord (XDR *xdrs)
|
|||||||
rstrm->last_frag = FALSE;
|
rstrm->last_frag = FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdrrec_skiprecord, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdrrec_skiprecord, GLIBC_2_0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Lookahead function.
|
* Lookahead function.
|
||||||
@ -501,7 +501,7 @@ xdrrec_eof (XDR *xdrs)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdrrec_eof, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdrrec_eof, GLIBC_2_0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The client must tell the package when an end-of-record has occurred.
|
* The client must tell the package when an end-of-record has occurred.
|
||||||
@ -528,7 +528,7 @@ xdrrec_endofrecord (XDR *xdrs, bool_t sendnow)
|
|||||||
rstrm->out_finger += BYTES_PER_XDR_UNIT;
|
rstrm->out_finger += BYTES_PER_XDR_UNIT;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdrrec_endofrecord, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdrrec_endofrecord, GLIBC_2_0)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -90,7 +90,7 @@ xdr_reference (xdrs, pp, size, proc)
|
|||||||
}
|
}
|
||||||
return stat;
|
return stat;
|
||||||
}
|
}
|
||||||
libc_hidden_nolink (xdr_reference, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_reference, GLIBC_2_0)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -137,5 +137,5 @@ xdr_pointer (xdrs, objpp, obj_size, xdr_obj)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_pointer)
|
libc_hidden_def (xdr_pointer)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_pointer, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdr_pointer, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
@ -161,5 +161,5 @@ xdr_sizeof (xdrproc_t func, void *data)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdr_sizeof)
|
libc_hidden_def (xdr_sizeof)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdr_sizeof, GLIBC_2_1)
|
libc_hidden_nolink_sunrpc (xdr_sizeof, GLIBC_2_1)
|
||||||
#endif
|
#endif
|
||||||
|
@ -191,5 +191,5 @@ xdrstdio_putint32 (XDR *xdrs, const int32_t *ip)
|
|||||||
#ifdef EXPORT_RPC_SYMBOLS
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (xdrstdio_create)
|
libc_hidden_def (xdrstdio_create)
|
||||||
#else
|
#else
|
||||||
libc_hidden_nolink (xdrstdio_create, GLIBC_2_0)
|
libc_hidden_nolink_sunrpc (xdrstdio_create, GLIBC_2_0)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user