summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2013-04-22Fixed typo.Tobias Stoeckmann
ok jmc
2013-04-21tweak a few commentsTed Unangst
2013-04-21this man page is mostly about password hashing now (you really don'tTed Unangst
want to be using DES) and some of the notes about the export controls are no longer so relevant. ok deraadt jmc
2013-04-21wording fix;Jason McIntyre
2013-04-20identify the argument containing the requested timeout, give argumentsTed Unangst
better names, and reword time to duration for clarity
2013-04-20Xr encrypt(1) to give people a hint if they just want a password stringTed Unangst
2013-04-19add clock_gettime to see also. i think guenther was ok with this.Ted Unangst
2013-04-17check return value of strdup(), fix mem leak in error path and takeOtto Moerbeek
into account that asr_use_resolver() can return NULL; ok tedu@ eric@
2013-04-17surround the error strings with quotes to clarify exactly which stringsTed Unangst
the function is going to return.
2013-04-17the tiniest of style tweaksTed Unangst
2013-04-17add some prototypes, casts, includes, parenthesis, and whatnot toTed Unangst
silence some warnings.
2013-04-17silence some warnings by adding prototypes, casts, and headers asTed Unangst
appropriate. in regex, stop using the struct hack for a fixed size array
2013-04-17evtag_marshal_timeval() truncates tv_sec to 32 bits, not passing the highTheo de Raadt
bits. Mark it with XXX 2038. I think it is poor style to create a "marshalling layer" which throws away information someone might need. ok nicm, who will pass the news upstream and ask for them to fix it
2013-04-17(long long) and %lld for big time_tTheo de Raadt
ok nicm, who will pass it upstream
2013-04-17use CLOCK_MONOTONIC, and repair future time_t overflowTheo de Raadt
ok millert guenther
2013-04-17give a timespec a name that is easier to verifyTheo de Raadt
2013-04-16Replace 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-15Remove CTL_USER hierarchy from sysctl()Philip Guenther
(Use sysconf() or confstr() instead) ok miod@ millert@
2013-04-15Implement fdatasync() as a wrapper around fsync()Matthew Dempsky
ok guenther, deraadt, jmc
2013-04-15SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in aTodd C. Miller
later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@
2013-04-15Crank due to statfs changes and other inbound commits.Joel Sing
2013-04-15Back out r1.17 and its subsequent conversion to poll. OtherwiseTodd 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-04-14spacingTheo de Raadt
2013-04-14typo; Benedikt SteinbuschStuart Henderson
2013-04-11Proper access of _THREAD_PRIVATE storage. Avoids a mem leak and reinitOtto Moerbeek
of resolver context for each resolver call for single threaded programs. With and ok tedu@ ok eric@
2013-04-11Fix obviously stupid bug in the PIC_{LOAD,STORE} macros when compiling withMiod Vallat
-fPIC. Harmless since we build libc -fpic so far.
2013-04-09show what we parsed in debug output; ok guether@Otto Moerbeek
2013-04-08Do not fail if the user buffer is too short to hold the packet: fill it upEric Faurot
to the given size and return the packet length. issue spotted by weerd@
2013-04-08Updates to SYNOPSIS, ERRORS, and STANDARDS.Philip Guenther
2013-04-08Use .Er for errno E* constantsPhilip Guenther
2013-04-08Comply with rfc2553. lib/libc/net/getaddrinfo.c already has this right.Christopher Zimmermann
This fixes hostname resolution for OpenVPN 2.3.1. ok eric@.
2013-04-08macro fix for previous;Jason McIntyre
2013-04-08Updates to SYNOPSIS, ERRORS, and STANDARDS.Philip Guenther
2013-04-08zap trailing whitespace;Jason McIntyre
2013-04-08Updates to SYNOPSIS, ERRORS, and STANDARDS.Philip Guenther
getrlimit(2) RLIMIT_STACK wording suggested by jmc@
2013-04-06explain what "default" means in sndio.7 rather than {sio,mio}_open.3,Alexandre Ratchov
with tweaks from jmc
2013-04-06a little fix for the version historyTed Unangst
2013-04-06remove more references to kern.rthreads sysctl.Ted Unangst
many thanks to jmc for noticing
2013-04-06fix race when exiting a detached thread. observed by and ok guentherTed Unangst
2013-04-06rthread sysctl isn't experimental anymore. oh, and it's gone too.Ted Unangst
2013-04-05- Add comments regarding copies of these files also in libexec/ld.soKurt Miller
okay guenther@
2013-04-05do not fail on EINTREric Faurot
suggested by deraadt@
2013-04-04fix alignment issue in getnetby{addr,name}() too.Eric Faurot
2013-04-04use the provided ALIGN() macro instead of re-inventing a square wheel.Eric Faurot
prodded by deraadt@
2013-04-03properly follow the CNAME chain in reverse lookupsEric Faurot
spotted by sthen@
2013-04-03Use MSG_NOSIGNAL when writing DNS queries over TCP sockets to ensureMatthew Dempsky
we don't trigger SIGPIPE. ok millert
2013-04-03Update a comment about standards requirementsPhilip Guenther
2013-04-03Drop an unnecessary #includePhilip Guenther
reminded by schwarze@
2013-04-03Handle big time_t.Philip Guenther
Use clock_gettime(CLOCK_MONOTONIC) instead of gettimeofday() when measuring time intervals for debugging output. ok ratchov@
2013-04-03Set the stream orientation in open_{,w}memstream().Philip Guenther
Check it in the regress test ok mpi@