Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-04-17 | add some prototypes, casts, includes, parenthesis, and whatnot to | Ted Unangst | |
silence some warnings. | |||
2013-04-16 | Replace a realloc() + memcpy() with calloc() + memcpy(). | Todd C. Miller | |
We don't need to zero pfd but using calloc() gets us overflow protection for free. OK chl@ deraadt@ | |||
2013-04-15 | Back out r1.17 and its subsequent conversion to poll. Otherwise | Todd C. Miller | |
we can get into a svc_getreq_poll() -> readtcp() -> svc_getreq_poll() loop until we run out of stack. If we want to avoid blocking on the new fd in readtcp() we need to poll() in svc_getreq_poll(), which will require a more elaborate change. OK tedu@ | |||
2013-03-11 | handle ECONNABORTED errors from accept(). In many code blocks they can be | Theo de Raadt | |
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... | |||
2012-09-27 | last stage of rfc changes, using consistent Rs/Re blocks, and moving the | Jason McIntyre | |
references into a STANDARDS section; | |||
2012-03-04 | Drop the rpcauth(3) MLINK, there is no function of that name. | Ingo Schwarze | |
Joint work with and OK haesbaert@ jmc@ | |||
2012-02-26 | Fix several manpage titles, from Lawrence Teo. | Christiano F. Haesbaert | |
ok dcoppa@ jmc@ schwarze@. | |||
2011-07-26 | At some point we've switched to the VFP floating-point--unlike FPA | Martynas Venckus | |
it actually stores floats in natural-endian--therefore the existing checks became wrong. Take into account __VFP_FP__, effectively bringing back the old behavior. This way it will work now, and in the future when some of our platforms are switched to FPA, where it's much faster. | |||
2011-07-26 | Assumptions about floating-point word order based on BYTE_ORDER are | Martynas Venckus | |
wrong on ARM. A more elegant solution is pending, but this is good for now. OK miod@. | |||
2010-10-29 | - the nroff workaround is no longer needed | Jason McIntyre | |
- use some Fn and \*(Gt | |||
2010-09-07 | do not use .B, which is man(7), not mdoc(7); and stop .Tn abuse | Ingo Schwarze | |
feedback and ok jmc@, ok millert@ | |||
2010-09-01 | Oracle has re-licensed sunrpc under a three-clause BSD license. | Todd C. Miller | |
Update our sources appropriately. OK deraadt@ jsg@ | |||
2010-07-17 | Correct the #includes to avoid warnings in <rpc/svc.h> | Philip Guenthe | |
ok miod@ | |||
2009-12-14 | Keep all bits of __svc_fdset up to date, not just those beyond FD_SETSIZE. | Ingo Schwarze | |
Bug found while auditing the same complaint by parfait, see the previous commit; still not shutting parfait up. "wow, that's nasty" deraadt@ | |||
2009-12-11 | __svc_fdsetsize is counted in bits, not in array elements | Ingo Schwarze | |
When exceeding fd 1024, this bug cleared flag bits for all file descriptors except those <= 64. Found while auditing a (false positive) complaint by parfait. This bugfix does not shut parfait up, though. OK millert@ deraadt@ | |||
2009-06-07 | Modify the uc_entries allocation check such that the lhs is a constant. | Todd C. Miller | |
OK deraadt@ | |||
2009-06-06 | correct error codes after malloc(3) failure, as 0 means RPC_SUCCESS; | Ingo Schwarze | |
noticed by and OK deraadt@, ok millert@ | |||
2009-06-06 | use calloc() and realloc() more; ok schwarze | Theo de Raadt | |
2009-06-05 | use calloc() to provide size * nitems safety | Theo de Raadt | |
2009-06-05 | use calloc() to provide size * nitems safety; ok millert | Theo de Raadt | |
2009-06-04 | Proper error handling in clntraw_create: | Ingo Schwarze | |
Bail out and clean up after all errors, and report in libc/rpc style. Among others, this fixes a NULL pointer dereference in clntraw_call. Feedback and ok kjell@ and millert@. | |||
2009-06-03 | State that clnt{raw,udp}_create can fail. | Ingo Schwarze | |
"no objection" millert@ | |||
2009-06-03 | Don't postpone memory allocation for the error message to the error handler: | Ingo Schwarze | |
That way, memory exhaustion simply cannot be reported because it would require to... allocate memory. Instead, really use a statical buffer as it is advertised in the manual. "looks good" millert@ | |||
2009-06-02 | When authnone_create fails, do not leave behind a NULL cl_auth attribute, | Ingo Schwarze | |
because that one will typically derefenced later without any checking. Instead, flag the error condition and bail out cleanly. useful feedback from kjell@ and ok millert@ | |||
2009-06-02 | make the documentation of {svc,clnt}*create complete and correct | Ingo Schwarze | |
ok millert@ jmc@ | |||
2009-06-01 | When an RPC client program encounters ENOMEM while trying to print | Ingo Schwarze | |
an error message, rather skip the error message than dereferencing a NULL pointer. debugging help and ok kjell@ | |||
2008-12-09 | Commit requested by marco: | Otto Moerbeek | |
Add nonblock support for xdrrecs ok millert blambert & otto; from NetBSD. libc bump to follow soon. | |||
2008-09-07 | Fix param list for xdrrec_eof. Found during coding some stuff that uses | Marco Peereboom | |
xdr goo. | |||
2008-06-25 | Change a very long selective list of all architectures which do IEEE into | Theo de Raadt | |
just handling the vax different (just vax for now, 'cause tahoe might even be too legacy for Miod) ok miod | |||
2008-06-13 | document xdr_{u_}int64_t() functions | Theo de Raadt | |
2008-06-13 | implement xdr_int64_t, xdr_u_int64_t | Nikolay Sturm | |
from NetBSD | |||
2007-09-17 | Fix comment typos; ok ray@, jmc@ | Bret Lambert | |
2007-09-12 | Remove wrong snprintf(3) truncation checks, which can't be | Moritz Jodeit | |
triggered and are off-by-one anyways. Instead replace them with correct checks and add all the missing cases. ok deraadt@ | |||
2007-09-10 | Proper use of fseek/fseeko macros. | Tobias Stoeckmann | |
OK joris@, otto@ | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-03-25 | eliminate call to abort(), which is very bad in libs. I forgat how | Otto Moerbeek | |
this diff came into my tree, apologies for not naming the contributor. ok tedu@ deraadt@ | |||
2007-02-20 | Change hard coded numbers to sizeof(buf). Also change some | Ray 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-10 | add void set_rpc_maxgrouplist(int), to be able to make mount_nfs -g | Alexander von Gernler | |
working again. help from millert@, ok deraadt@ pedro@ | |||
2006-10-10 | Teach'em about cpus in spandex | Miod Vallat | |
2006-09-22 | Check return value of authunix_create_default(); from bret lambert | Otto Moerbeek | |
with some guidance by me; ok jaredy@ | |||
2006-09-17 | dont put two '\n' at the end of the string returnd by clnt_sperror() | Thordur I. Bjornsson | |
ok deraadt@ | |||
2006-04-02 | be more careful checking for (off_t)-1 as the failure condition from | Theo de Raadt | |
lseek(), not just any old -1; ok millert | |||
2006-04-02 | sprinkle a socklen_t | Theo de Raadt | |
2006-03-31 | sprinkle a bit of ARGSUSED | Theo de Raadt | |
2006-03-31 | internal API newgetbroadcastnets() does not need a sock | Theo de Raadt | |
2006-01-17 | Include param.h for MAXHOSTNAMELEN | Todd C. Miller | |
2005-12-21 | Userland programs should include <errno.h> not <sys/errno.h> | Todd C. Miller | |
OK deraadt@ | |||
2005-10-30 | Make xdrstdio_getlong() and xdrstdio_putlong() work on 64-bit big-endian | Mark Kettenis | |
systems. From NetBSD and FreeBSD. ok deraadt@, otto@, "looks correct to me" fgsch@ | |||
2005-10-10 | Remove 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. |