summaryrefslogtreecommitdiff
path: root/lib/libc/rpc
AgeCommit message (Collapse)Author
2006-11-10add void set_rpc_maxgrouplist(int), to be able to make mount_nfs -gAlexander von Gernler
working again. help from millert@, ok deraadt@ pedro@
2006-10-10Teach'em about cpus in spandexMiod Vallat
2006-09-22Check return value of authunix_create_default(); from bret lambertOtto Moerbeek
with some guidance by me; ok jaredy@
2006-09-17dont put two '\n' at the end of the string returnd by clnt_sperror()Thordur I. Bjornsson
ok deraadt@
2006-04-02be more careful checking for (off_t)-1 as the failure condition fromTheo de Raadt
lseek(), not just any old -1; ok millert
2006-04-02sprinkle a socklen_tTheo de Raadt
2006-03-31sprinkle a bit of ARGSUSEDTheo de Raadt
2006-03-31internal API newgetbroadcastnets() does not need a sockTheo de Raadt
2006-01-17Include param.h for MAXHOSTNAMELENTodd C. Miller
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
OK deraadt@
2005-10-30Make xdrstdio_getlong() and xdrstdio_putlong() work on 64-bit big-endianMark Kettenis
systems. From NetBSD and FreeBSD. ok deraadt@, otto@, "looks correct to me" fgsch@
2005-10-10Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.Marc Espie
Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks.
2005-10-02some fixes to the .Nm list:Jason McIntyre
- remove duplicate entry for clntudp_create - add missing entries for svc_{destroy,fds,run}
2005-09-10Use realloc() instead of malloc().Brad Smith
From: Alexander dot Farber at gmail dot com ok deraadt@
2005-08-08zap remaining rcsid.Marc Espie
Kill old files that are no longer compiled. okay theo
2005-08-05impelmentation -> implementationMarc Espie
yes, new typo for an old friend.
2005-08-01kernal->kernel;Jason McIntyre
from netbsd pr #30872 (anonymous post); ok deraadt@ krw@
2005-07-22- sync prototypes and header excerpts to realityJared Yanovich
- punctuation, rewording, typos/spelling, macro, and layout fixes - add crossrefs where relevant ok jmc
2005-04-25Do not define 'pl' globally. From Bjorn Sandell" <biorn at dce dot chalmersOtto Moerbeek
dot se>. ok deraadt@
2005-04-11more snprintf return value sloppiness; ok ottoTheo de Raadt
2005-04-01ansify. ok deraadt@ jaredy@Otto Moerbeek
2005-03-15- correct include file (from david leonard, pr 4147)Jason McIntyre
- r_number is type int, not long - lessen display indent to avoid line split ok deraadt@ millert@
2005-02-17alyte spelling-in-comment fixesJolan Luff
2005-01-08Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. PointedKenneth R Westerback
out by mickey@, seconded by millert@. ok deraadt@.
2004-12-17Ensure that 'addrs' is always initialized before use (from YamamotoKenneth R Westerback
Takashi). If no broadcast networks are found then just return RPC_CANTSEND. Eliminate perror() calls (suggested by Yamamoto Takashi and seconded by deraadt@, otto@ and millert@) and just let return values speak. ok millert@
2004-12-16De-reference pointer *after* checking if it is NULL.Kenneth R Westerback
ok millert@.
2004-09-14spacingTheo de Raadt
2004-04-28typo from Jared Yanovich;Jason McIntyre
ok deraadt@
2004-02-01s/arm32/arm/ with VFP bit to match netbsd.Dale Rahn
2004-01-28the rest of the libs stuff; from art@ againMichael Shalayeff
2003-12-31Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)Todd C. Miller
in the libc rpc code. The main difference between this and the previous version is the use of a simple free list that simplifies the logic when adding a socket to svc_pollfd. I've also added code to pack svc_pollfd when the free list gets too big. The idea general idea is to keep svc_pollfd as tightly packed as possible to make poll(2) efficient. Tested by many people and OK deraadt@
2003-09-20incorrect ordering of free operationsTheo de Raadt
2003-09-20do not leak if mem_alloc failsTheo de Raadt
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-06-29remove some old groff macros and replace them with -mdoc ones;Jason McIntyre
2003-05-30- whitespace at EOLJason McIntyre
- remove unnecessary macros - section reorder in getrpcent(3)
2003-05-20this is all new code. copyright to downsj and myself who managed toTheo de Raadt
erradicate the old stuff.
2003-05-07typos;Jason McIntyre
2003-04-11bindresvport() does not automatically select another port if theTodd C. Miller
specified one is in use (closes PR 3192). While I am here, reorganize and clean up much of the wording. This now reads like a native speaker of English wrote it.
2003-03-17some small typos;Jason McIntyre
2003-02-18copyrights added;Jason McIntyre
these are all Sun Microsystems
2003-02-14put my copyrights on hereTheo de Raadt
2002-12-11Make x_handy in XDR u_int, not int since there are places in theTodd C. Miller
code that assign a u_int value to x_handy. However, this means that we need to be careful checking for overflow as we can no longer subtract a value and check the result for < 0. We reorder the expression instead to avoid this problem (basic algebra). deraadt@ OK
2002-09-10remove extra output of \n in clnt_perror()Theo de Raadt
2002-09-06use socklen_t where needed; henning pvalchev okTheo de Raadt
2002-08-29clean; gwyllion@ace.ulyssis.orgTheo de Raadt
2002-08-22do not lose errnoTheo de Raadt
2002-08-22tweakTheo de Raadt
2002-08-03If malloc() fails, perror() and return. This is non-optimal but becauseTodd C. Miller
svr_run() is void we have no way to pass back error status.
2002-08-01KNF and correct overflow fix; jhutz@cmu.eduTheo de Raadt