summaryrefslogtreecommitdiff
path: root/lib/libc/rpc
AgeCommit message (Collapse)Author
2014-01-21Increment to the value, not the pointer. (Thorsten Brehm)christos
2014-01-02don't lose the RPC error from CLNT_CALL.christos
2013-10-17Avoid casting gymnastics that lead to pointer aliasing by introducing anchristos
inline function.
2013-05-07- add __clnt_sigfillset() that does not blindly block all signals but excludeschristos
the tty generated ones (int, quit, tstp), plus term and hup. This makes command line clients behave on connect(2) where before they would need to be killed from a different tty. Much easier than making the file descriptor non-blocking for the duration of connect and then using pselect/pollts to detect when actual connection or timeout occured using a different sigmask. - factor out some of the error paths.
2013-04-17PR/47747: Thorsten Brehm: TCP-based RPC client calls no longer terminate whenchristos
connections break. Return proper error code. XXX: pullup 6
2013-04-05stdlib.h, not malloc.hdholland
2013-03-11Replace previous Sun Microsystems, Inc. license with a standardtron
BSD 3-clause license granted by Oracle America, Inc.. This license change was approved by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation. This fixes PR lib/45293 by Pedro Giffuni.
2013-03-05make this usable from RUMPchristos
2013-03-04PR/47617: Thorsten Brehm: Memory and socket leak in librpcchristos
2013-03-04fix error messages and warnings.christos
2013-02-26PR/13082: Thorsten Brehm: Fix wrong memcpy that caused possible memorychristos
corruption. XXX: pullup to 6.
2012-08-10Don't depend on HAVE_GCC being always defined.joerg
2012-06-25Update old-style definitions to ANSI, remove a couple of registerabs
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2012-06-24fix old style definitions; XXX: gcc should have picked them up but it did not.christos
2012-05-13Remove unneeded commas in table.wiz
From Bug Hunting.
2012-03-22vax-specific lint fixes.christos
2012-03-20Use C89 definitionsmatt
Remove use of __P
2012-03-18parenthesize.christos
2012-03-13PR/45989: Martin Husemann: lint invocation does include -w only on i386christos
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds) approved by core@
2012-01-02Remove unnecessary cast to caddr_t.dholland
2012-01-02stdlib.h, not malloc.hdholland
2011-10-15close on exec fixes:christos
- open + fcntl -> open O_CLOEXEC - configuration database file descriptors that can stay open are now opened fopen(db, "re")
2011-08-30provide a complete prototype for xdrproc_tplunky
(I found no instances where three arguments were actually used, as per the claim in the comment. If there are any in third party code then they will need to use a cast)
2011-07-08Bump date for xdr_sizeof. Remove trailing whitespace.wiz
2011-07-04Add documentation link xdr_sizeof(3) -> xdr(3)manu
2011-07-04insert some (uintptr_t) between int and pointer casts.mrg
2011-07-04Document newly imported xdr_sizeof()manu
2011-07-04Import xdr_sizeof() from FreeBSDmanu
2011-06-22apply some -Wno-error and/or -fno-strict-aliasing.mrg
all of this should be looked at closer, but some of them are not very trivial.
2011-06-20various build fixes for gcc 4.5. from chuq. XXX i'm not sure all ofmrg
these work properly wtf pointer aliasing, but there are no casts at least... the lib/libpuffs/puffs_priv.h is definately a real bug fix. from chuq.
2011-05-17Use Pq or Po macro for better output rather than putting raw open parenenami
at the end of line.
2011-02-04PR/44514: Andrey Simonenko: Buffer underflow in RPC library for non-blockingchristos
TCP sockets
2011-02-04knf - no functional changeschristos
2010-12-08Use __isthreaded from reentrant.h and don't redeclare it.joerg
2010-11-23PR/44132: Wolfgang Stukenbrock: libc/rpc may overwrite not-allocated memorychristos
Return XPRT_DIED when realloc fails for lack of a better error.
2010-07-08Explicitly cast argument of ffs(3) to fix lint error.tron
2010-07-08svc_getreq[set]: use unsigned when assigning to fds_bits.rmind
XXX: This code should not invade fd_set internals at all.
2010-03-23remove some stray __weak_aliases, where the target functions weredrochner
__RENAMEd due to the time_t/dev_t type changes, which caused bogus references to compat functions now a libc built with BUILDCOLD is usable
2010-03-22Use .In for header files instead of .Ar Pa and variations.joerg
2010-03-07indentation/whitespacedholland
2010-03-07remove stray semicolondholland
2009-10-13No .Pp inside .Rs/.Re.joerg
2009-05-23remove stray comma, from anon ymous.christos
2009-04-11Add missing .Re.joerg
2009-04-11Fix markup.joerg
2009-04-11Remove .IP, it doesn't change output.joerg
2009-04-11Fix markup.joerg
2009-04-09Fix markupjoerg
2009-04-04PR/41138: Henning Petersen: Redundant declarations in rpc_internal.hchristos
While here remove __P, KNF.
2009-03-11Do not mark up punctuation.wiz