about summary refs log tree commit diff
path: root/sunrpc
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace.Joseph Myers2013-06-051-1/+1
|
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-167-0/+7
|
* Use *stat64 instead of *stat in installed programsFlorian Weimer2013-05-101-5/+5
| | | | | This ensures reliable operation on file systems with inode numbers which do not fit into 32 bits.
* Localize rpcgenAndreas Jaeger2013-05-101-0/+4
| | | | | | | [BZ #15395] * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for localization. Include <locale.h>.
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0214-14/+14
|
* * sunrpc/etc.rpc (fedfs_admin): Add entry.Jeff Law2012-12-051-0/+1
|
* * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...Siddhesh Poyarekar2012-11-301-1/+0
| | | | * include/rpc/svc.h: ... here.
* [BZ #14889]Jeff Law2012-11-285-2/+110
| | | | | | | | | | * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype. * sunrpc/svc.c: Include time.h. (__svc_accept_failed): New function. * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for any reason other than EINTR, call __svc_accept_failed. * sunrpc/svc_udp.c (svcudp_recv): Similarly. * sunrpc/svc_unix.c (rendezvous_request): Similarly.
* bindresvport() uses two static variables port and startport which are notPeng Haitao2012-11-191-0/+11
| | | | | | | | | | | protected. It is not safe when in multithread circumstance. bindresvport() select a port number from the range 512 to 1023, when in multithread circumstance, the port may be 1024. So the static variables will be protected. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
* Support --with-pkgversion and --with-bugurl.Joseph Myers2012-11-093-9/+6
|
* Fix sunrpc 64-bit (especially big-endian) issues (bug 14821).Joseph Myers2012-11-093-56/+56
|
* rpcgen - fall back to looking for cpp in system pathAllan McRae2012-08-071-22/+18
| | | | | | Fall back to the system cpp when /lib/cpp is not present. Removes searching for /usr/ccs/lib/cpp which is not supported on any system that uses glibc.
* Fix some -Wformat warnings in rpcgen.Roland McGrath2012-07-263-3/+3
|
* sunrpc: fix rpc bootstrap buildsMike Frysinger2012-07-061-1/+1
| | | | | | | | | | | | | | | | | | If you build & install glibc w/rpc disabled, you no longer have headers in /usr/include/rpc/ (this is expected). But if you try to build glibc w/rpc enabled, this gets into a bad state due to the new rpc helpers that get cross-compiled: $ make ... x86_64-pc-linux-gnu-gcc -m32 -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \ -include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \ -MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory compilation terminated. make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Remove use of INTDEF/INTUSE in libioAndreas Schwab2012-05-242-6/+6
|
* Fix sunrpc static libraryAndreas Jaeger2012-05-212-2/+6
| | | | | | * include/shlib-compat.h (libc_sunrpc_symbol): New macro. * sunrpc/svc_simple.c: Use it for registerrpc. * sunrpc/xcrypt.c: Use it for passwd2des.
* Fix dependency tracking on cross-rpcgen-objsAndreas Schwab2012-05-161-5/+3
|
* Make sunrpc code usable againAndreas Jaeger2012-05-1050-152/+158
| | | | | | | | 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.
* Build rpcgen-generated files when cross compiling.Maxim Kuvyrkov2012-05-102-8/+40
|
* Add dependency tracking for rpc-compat-routinesAndreas Schwab2012-05-101-2/+6
|
* 2012-03-23 Daniel Jacobowitz <dmj@google.com>Paul Pluzhnikov2012-03-231-5/+0
| | | | | | | | | | | | | | | | | | | Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #6528] * grp/Makefile (otherlibs): Don't set it. * inet/Makefile (otherlibs): Likewise. * login/Makefile (otherlibs): Likewise. * nscd/Makefile (otherlibs): Likewise. * posix/Makefile (otherlibs): Likewise. * pwd/Makefile (otherlibs): Likewise. * rt/Makefile (otherlibs): Likewise. * sunrpc/Makefile (otherlibs): Likewise. * nss/Makefile (otherlibs): Likewise. Add libnss_files to routines and static-only-routines. ($(objpfx)getent): Remove rule. * resolv/Makefile: Add libnss_dns and libresolv to routines and static-only-routines.
* Use standard build rule to build rpcgen.Joseph Myers2012-03-102-4/+4
|
* Remove __GNU_LIBRARY__ conditionals from rpcgen.Joseph Myers2012-03-093-57/+1
|
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-7/+1
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0910-30/+19
|
* Remove pre-ISO C supportUlrich Drepper2012-01-076-49/+49
| | | | No more __const.
* Fix aliasing issues in RPC codeUlrich Drepper2011-12-043-3/+31
|
* Fix case value used in RPC codUlrich Drepper2011-11-121-1/+1
|
* Fix netname2hostAndreas Jaeger2011-10-081-3/+2
|
* Cleanup of configuration optionsUlrich Drepper2011-09-1015-64/+29
| | | | Make several tool features mandatory and simplify the code.
* Quash some new warnings from GCC 4.6.Roland McGrath2011-06-101-4/+5
|
* Install rpc/netdb.h againAndreas Schwab2011-05-061-3/+4
|
* Fix "make xcheck" in sunrpc.H.J. Lu2011-04-224-3/+16
|
* Fix build problem in sunrpc.Ulrich Drepper2011-04-201-2/+2
|
* Add before-compile to dependencies for librpc_compat_pic objects.Ulrich Drepper2011-04-171-1/+1
|
* Obsolete RPC implementation in libc.Ulrich Drepper2011-04-1652-452/+730
|
* Remove duplicate version of pmap_getport from NIS code.Ulrich Drepper2010-09-012-7/+27
|
* Avoid nested comment.Roland McGrath2010-08-241-2/+1
|
* Once again change RPC copyright notices.Ulrich Drepper2010-08-1992-2666/+2418
| | | | According to email from Wim Coekaerts.
* Fix whitespaces.Ulrich Drepper2010-06-2710-124/+118
|
* Revert "Sun agreed to a change of the license for the RPC code to a BSD-like ↵Ulrich Drepper2010-06-2791-2431/+2726
| | | | | | | | | license." This reverts commit ab09b221594f12d90a63d29cbf5488d91f39d3f3. The lawyers now say the copy in glibc isn't contained in the agreement.
* sunrpc: Fix spurious fall-throughAndreas Schwab2010-05-213-0/+3
|
* Reinitialize _create_xid state after fork.Ulrich Drepper2009-11-221-5/+7
| | | | Programs forking and using RPC in the forks would use the same XIDs.
* Don't treat bug reporting message as a format string.Andreas Schwab2009-06-161-2/+2
|
* Sun agreed to a change of the license for the RPC code to a BSD-like license.Ulrich Drepper2009-05-2091-2726/+2431
|
* Remove sunrpc/.gitignore.Ulrich Drepper2009-05-161-1/+0
| | | | | We don't update the RPC sources from the original tarball anymore. No need to ignore that directory.
* remove subsumed .gitignore entries and filesJim Meyering2009-05-161-7/+0
|
* remove COPYING* from .gitignore filesJim Meyering2009-05-161-1/+1
|
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-151-0/+0
|
* * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper2009-04-261-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from definition. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define label if it is not used. * elf/dl-profile.c (_dl_start_profile): Define real-type variant of gmon_hist_hdr and gmon_hdr structures and use them. * elf/dl-load.c (open_verify): Add temporary variable to avoid warning. * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition to avoid cast. * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. * inet/rcmd.c (rcmd_af): Make from a union of the various needed types to avoid warnings. (iruserok_af): Use ss_family instead of casts. * gmon/gmon.c (write_hist): Define real-type variant of gmon_hist_hdr structure and use it. (write_gmon): Likewise for gmon_hdr. * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement function if we are not going to define it. * sysdeps/unix/sysv/linux/writev.c: Likewise. * inet/inet6_option.c (optin_alloc): Add temporary variable to avoid warning. * libio/strfile.h (struct _IO_streambuf): Use correct type and name of VTable element. * libio/iovsprintf.c: Avoid casts to avoid warnings. * libio/iovsscanf.c: Likewise. * libio/vasprintf.c: Likewise. * libio/vsnprintf.c: Likewise. * stdio-common/isoc99_vsscanf.c: Likewise. * stdlib/strfmon_l.c: Likewise. * debug/vasprintf_chk.c: Likewise. * debug/vsnprintf_chk.c: Likewise. * debug/vsprintf_chk.c: Likewise.