Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 1 << 31 cleanup. Eitan Adler pointed out that there has been a | 2013-11-26 | 1 | -2/+2 | ||
| | | | | | resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu | |||||
* | bring in proto | 2013-11-13 | 1 | -1/+2 | ||
| | ||||||
* | insert the proper arguments into a prototype | 2013-11-12 | 1 | -2/+2 | ||
| | ||||||
* | pull in missing includes (math.h, unistd.h, stdlib.h) needed for | 2013-11-12 | 1 | -1/+2 | ||
| | | | | prototypes | |||||
* | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | 2013-06-05 | 6 | -20/+20 | ||
| | ||||||
* | add some prototypes, casts, includes, parenthesis, and whatnot to | 2013-04-17 | 1 | -1/+2 | ||
| | | | | silence some warnings. | |||||
* | Replace a realloc() + memcpy() with calloc() + memcpy(). | 2013-04-16 | 1 | -6/+5 | ||
| | | | | | We don't need to zero pfd but using calloc() gets us overflow protection for free. OK chl@ deraadt@ | |||||
* | Back out r1.17 and its subsequent conversion to poll. Otherwise | 2013-04-15 | 1 | -27/+6 | ||
| | | | | | | | 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@ | |||||
* | handle ECONNABORTED errors from accept(). In many code blocks they can be | 2013-03-11 | 1 | -2/+3 | ||
| | | | | | ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... | |||||
* | last stage of rfc changes, using consistent Rs/Re blocks, and moving the | 2012-09-27 | 3 | -30/+30 | ||
| | | | | references into a STANDARDS section; | |||||
* | Drop the rpcauth(3) MLINK, there is no function of that name. | 2012-03-04 | 3 | -14/+14 | ||
| | | | | Joint work with and OK haesbaert@ jmc@ | |||||
* | Fix several manpage titles, from Lawrence Teo. | 2012-02-26 | 1 | -3/+3 | ||
| | | | | ok dcoppa@ jmc@ schwarze@. | |||||
* | At some point we've switched to the VFP floating-point--unlike FPA | 2011-07-26 | 1 | -3/+3 | ||
| | | | | | | | | | 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. | |||||
* | Assumptions about floating-point word order based on BYTE_ORDER are | 2011-07-26 | 1 | -3/+3 | ||
| | | | | | wrong on ARM. A more elegant solution is pending, but this is good for now. OK miod@. | |||||
* | - the nroff workaround is no longer needed | 2010-10-29 | 1 | -19/+22 | ||
| | | | | - use some Fn and \*(Gt | |||||
* | do not use .B, which is man(7), not mdoc(7); and stop .Tn abuse | 2010-09-07 | 4 | -357/+142 | ||
| | | | | feedback and ok jmc@, ok millert@ | |||||
* | Oracle has re-licensed sunrpc under a three-clause BSD license. | 2010-09-01 | 44 | -1268/+1283 | ||
| | | | | Update our sources appropriately. OK deraadt@ jsg@ | |||||
* | Correct the #includes to avoid warnings in <rpc/svc.h> | 2010-07-17 | 1 | -2/+3 | ||
| | | | | ok miod@ | |||||
* | Keep all bits of __svc_fdset up to date, not just those beyond FD_SETSIZE. | 2009-12-14 | 1 | -3/+3 | ||
| | | | | | | | Bug found while auditing the same complaint by parfait, see the previous commit; still not shutting parfait up. "wow, that's nasty" deraadt@ | |||||
* | __svc_fdsetsize is counted in bits, not in array elements | 2009-12-11 | 1 | -2/+2 | ||
| | | | | | | | | | | 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@ | |||||
* | Modify the uc_entries allocation check such that the lhs is a constant. | 2009-06-07 | 1 | -2/+2 | ||
| | | | | OK deraadt@ | |||||
* | correct error codes after malloc(3) failure, as 0 means RPC_SUCCESS; | 2009-06-06 | 1 | -3/+3 | ||
| | | | | noticed by and OK deraadt@, ok millert@ | |||||
* | use calloc() and realloc() more; ok schwarze | 2009-06-06 | 2 | -21/+13 | ||
| | ||||||
* | use calloc() to provide size * nitems safety | 2009-06-05 | 1 | -3/+2 | ||
| | ||||||
* | use calloc() to provide size * nitems safety; ok millert | 2009-06-05 | 1 | -3/+2 | ||
| | ||||||
* | Proper error handling in clntraw_create: | 2009-06-04 | 1 | -6/+15 | ||
| | | | | | | 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@. | |||||
* | State that clnt{raw,udp}_create can fail. | 2009-06-03 | 1 | -2/+8 | ||
| | | | | "no objection" millert@ | |||||
* | Don't postpone memory allocation for the error message to the error handler: | 2009-06-03 | 1 | -33/+14 | ||
| | | | | | | | 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@ | |||||
* | When authnone_create fails, do not leave behind a NULL cl_auth attribute, | 2009-06-02 | 2 | -3/+13 | ||
| | | | | | | 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@ | |||||
* | make the documentation of {svc,clnt}*create complete and correct | 2009-06-02 | 2 | -10/+21 | ||
| | | | | ok millert@ jmc@ | |||||
* | When an RPC client program encounters ENOMEM while trying to print | 2009-06-01 | 1 | -2/+4 | ||
| | | | | | | an error message, rather skip the error message than dereferencing a NULL pointer. debugging help and ok kjell@ | |||||
* | Commit requested by marco: | 2008-12-09 | 3 | -26/+206 | ||
| | | | | | Add nonblock support for xdrrecs ok millert blambert & otto; from NetBSD. libc bump to follow soon. | |||||
* | Fix param list for xdrrec_eof. Found during coding some stuff that uses | 2008-09-07 | 1 | -3/+3 | ||
| | | | | xdr goo. | |||||
* | Change a very long selective list of all architectures which do IEEE into | 2008-06-25 | 1 | -10/+6 | ||
| | | | | | | just handling the vax different (just vax for now, 'cause tahoe might even be too legacy for Miod) ok miod | |||||
* | document xdr_{u_}int64_t() functions | 2008-06-13 | 2 | -3/+23 | ||
| | ||||||
* | implement xdr_int64_t, xdr_u_int64_t | 2008-06-13 | 1 | -1/+55 | ||
| | | | | from NetBSD | |||||
* | Fix comment typos; ok ray@, jmc@ | 2007-09-17 | 1 | -4/+4 | ||
| | ||||||
* | Remove wrong snprintf(3) truncation checks, which can't be | 2007-09-12 | 1 | -15/+25 | ||
| | | | | | | | triggered and are off-by-one anyways. Instead replace them with correct checks and add all the missing cases. ok deraadt@ | |||||
* | Proper use of fseek/fseeko macros. | 2007-09-10 | 1 | -2/+2 | ||
| | | | | OK joris@, otto@ | |||||
* | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | 2007-09-02 | 1 | -2/+2 | ||
| | ||||||
* | convert to new .Dd format; | 2007-05-31 | 6 | -12/+12 | ||
| | ||||||
* | eliminate call to abort(), which is very bad in libs. I forgat how | 2007-03-25 | 1 | -6/+9 | ||
| | | | | | this diff came into my tree, apologies for not naming the contributor. ok tedu@ deraadt@ | |||||
* | Change hard coded numbers to sizeof(buf). Also change some | 2007-02-20 | 1 | -2/+2 | ||
| | | | | | | | | 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@. | |||||
* | add void set_rpc_maxgrouplist(int), to be able to make mount_nfs -g | 2006-11-10 | 3 | -3/+32 | ||
| | | | | | | working again. help from millert@, ok deraadt@ pedro@ | |||||
* | Teach'em about cpus in spandex | 2006-10-10 | 1 | -2/+2 | ||
| | ||||||
* | Check return value of authunix_create_default(); from bret lambert | 2006-09-22 | 1 | -3/+9 | ||
| | | | | with some guidance by me; ok jaredy@ | |||||
* | dont put two '\n' at the end of the string returnd by clnt_sperror() | 2006-09-17 | 1 | -7/+7 | ||
| | | | | ok deraadt@ | |||||
* | be more careful checking for (off_t)-1 as the failure condition from | 2006-04-02 | 1 | -4/+4 | ||
| | | | | lseek(), not just any old -1; ok millert | |||||
* | sprinkle a socklen_t | 2006-04-02 | 1 | -2/+3 | ||
| | ||||||
* | sprinkle a bit of ARGSUSED | 2006-03-31 | 5 | -5/+16 | ||
| |