summaryrefslogtreecommitdiff
path: root/lib/libc/rpc
AgeCommit message (Expand)Author
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-01-06Remove dead gettimeofday calls and timevals.cheloha
2017-12-14Simplify and unify timespec variables used in those event loopsJeremie Courreges-Anglas
2017-12-14Use CLOCK_MONOTONIC for the rpc event loopsJeremie Courreges-Anglas
2017-06-10fix a sentence that used unusual terminology, the wrong macro,Ingo Schwarze
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
2016-12-20Add 'default:' cases to switch statements that gcc whines about.Kenneth R Westerback
2016-09-23s/alloctaed/allocated/ in commentPhilip Guenther
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsPhilip Guenther
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2016-03-09We are done providing support for the vax.Theo de Raadt
2015-12-28Remove NULL-checks before free() and a few related dead assignments.mmcc
2015-11-10update NAME section to include all documented functions,Jason McIntyre
2015-11-01delete old lint ARGSUSED commentsPhilip Guenther
2015-10-05user land -> userland; from Rob PierceTheo de Raadt
2015-10-04__xdrrec_getrec is in the reserved namespace, so it doesn't need to be weakPhilip Guenther
2015-09-14use .Va for global variables, and .Vt where the type is includedIngo Schwarze
2015-09-14Wrap <ifaddrs.h>, <netinet/in.h>, and <netinet/if_ether.h> so internalPhilip Guenther
2015-09-13Wrap <rpc/*.h> so that calls go direct and the symbols are all weak.Philip Guenther
2015-09-11lseek() is in <unistd.h> ok deraadt@Philip Guenther
2015-09-11_rpc_dtablesize() is not used anywhere, tracking by sthen; ok guentherTheo de Raadt
2015-09-11rpcdata should not be exported; ok guentherTheo de Raadt
2015-09-09Use SOCK_NONBLOCK in a couple more placesPhilip Guenther
2015-09-02Delete 3 more stderr messages, right before returning a proper error.Theo de Raadt
2015-09-02do not printf() on error from libc; ok millertTheo de Raadt
2015-09-01Remove all bogus writes to stderr. Only explicit requests shouldTheo de Raadt
2015-09-01Remove calls to perror(); the error returns are sufficient, and theseTheo de Raadt
2015-08-20All these files include <stdlib.h>, so do not need to castTheo de Raadt
2015-05-18swap calloc() arguments for clarityTheo de Raadt
2015-05-17Use fcntl() to set non-blocking-mode, rather ioctl(). This has a betterTheo de Raadt
2015-05-04Use the size of the buffer not the pointer in a call to mem_free().Jonathan Gray
2015-04-25Cut the aliases part of /etc/rpc lines before feeding them to strtonum(), forMiod Vallat
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-01-16Move to the <limits.h> universe.Theo de Raadt
2014-11-11Merge from NetBSD from 1999-03-25:"Philip Guenther
2014-11-05missing pfd = newp, diagnosed by deraadt@Stuart Henderson
2014-11-04Fix memory leak on reallocarray() failure introduced by conversionTodd C. Miller
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-10-22We prefer to use call reallocarray() with nmemb first and size second.Todd C. Miller
2014-10-22Use reallocarray() instead of calloc() (originally was realloc).Todd C. Miller
2014-10-08obvious conversion of realloc() to reallocarray(). Luckily this isTheo de Raadt
2014-09-15When fopen()ing internal to libc (the API doesn't support the usePhilip Guenther
2014-07-21Switch from <sys/endian.h> or <machine/endian.h> to the new,Philip Guenther
2014-03-16lint is dead (long live the lint!), so stop using it as a cpp conditionalPhilip Guenther
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2013-11-261 << 31 cleanup. Eitan Adler pointed out that there has been aTheo de Raadt
2013-11-13bring in protoTheo de Raadt
2013-11-12insert the proper arguments into a prototypeTheo de Raadt
2013-11-12pull in missing includes (math.h, unistd.h, stdlib.h) needed forTheo de Raadt