summaryrefslogtreecommitdiff
path: root/lib/libc/rpc
AgeCommit message (Collapse)Author
2009-06-01When an RPC client program encounters ENOMEM while trying to printIngo Schwarze
an error message, rather skip the error message than dereferencing a NULL pointer. debugging help and ok kjell@
2008-12-09Commit requested by marco:Otto Moerbeek
Add nonblock support for xdrrecs ok millert blambert & otto; from NetBSD. libc bump to follow soon.
2008-09-07Fix param list for xdrrec_eof. Found during coding some stuff that usesMarco Peereboom
xdr goo.
2008-06-25Change a very long selective list of all architectures which do IEEE intoTheo de Raadt
just handling the vax different (just vax for now, 'cause tahoe might even be too legacy for Miod) ok miod
2008-06-13document xdr_{u_}int64_t() functionsTheo de Raadt
2008-06-13implement xdr_int64_t, xdr_u_int64_tNikolay Sturm
from NetBSD
2007-09-17Fix comment typos; ok ray@, jmc@Bret Lambert
2007-09-12Remove wrong snprintf(3) truncation checks, which can't beMoritz Jodeit
triggered and are off-by-one anyways. Instead replace them with correct checks and add all the missing cases. ok deraadt@
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
OK joris@, otto@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-25eliminate call to abort(), which is very bad in libs. I forgat howOtto Moerbeek
this diff came into my tree, apologies for not naming the contributor. ok tedu@ deraadt@
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@.
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.