summaryrefslogtreecommitdiff
path: root/lib/libutil
AgeCommit message (Expand)Author
2017-04-18use freezero() instead of explicit_bzero+freeTheo de Raadt
2017-04-11Use freezero(3) for the imsg framework in imsg_free(3) and ibuf_free(3).Reyk Floeter
2017-03-24Use C99 types (uint32_t) instead of BSD (u_int32_t) - the former areNicholas Marriott
2017-03-17Grow buffers using recallocarray, to avoid the potential dribble thatTheo de Raadt
2017-03-16Fix overly-conservative overflow checks on mulitplications and add checksDarren Tucker
2017-03-15Collapse underflow and overflow checks into a single block.Darren Tucker
2017-03-15Catch integer underflow in scan_scaled reported by Nicolas Iooss.Darren Tucker
2017-03-11fix signed integer overflow in scan_scaled. Found by Nicolas IoossDamien Miller
2016-10-15zap trailing whitespace;Jason McIntyre
2016-10-10Fixup the example for msgbuf_write() and imsg_read() to check theReyk Floeter
2016-08-30Use a constant format string and output the variable part with %sPhilip Guenther
2016-08-30Use O_CLOEXEC when opening fds local to a functionPhilip Guenther
2016-08-27Pull in <stdio.h> for NULLPhilip Guenther
2016-08-14Refer to /etc/passwd consistently as the "legacy password file" andTheo Buehler
2016-07-16Fix example: long long should be print with %lldJeremie Courreges-Anglas
2016-05-18Remove obsolete caveat. OK deraadt@Todd C. Miller
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2015-12-29mention that ibuf_free() does not need a NULL check.Sebastian Benoit
2015-12-29check for NULL in ibuf_free().Sebastian Benoit
2015-12-28Switch login(3) from lseek+read/write to pread/pwrite and only do the pread()Philip Guenther
2015-12-09Add a cast to silence a compiler warning by clang on FreeBSD.tb
2015-12-05Do not loop on EAGAIN in imsg_read(). Better to return the error to theClaudio Jeker
2015-11-27Remove three NULL-checks before free(). ok millert@mmcc
2015-11-26Use the backchannel for all error messages instead of syslog(3).Todd C. Miller
2015-11-11creat() -> open equiv; from Frederic NowakTheo de Raadt
2015-11-10update NAME section to include all documented functions,Jason McIntyre
2015-10-15Don't Xr flock, since that is not the locking method used.Theo de Raadt
2015-09-14Remove useless quoting from .Fo and .Fn function names, to preventIngo Schwarze
2015-09-14in the SYNOPSIS, make void function arguments explicitIngo Schwarze
2015-09-10reduce more .Nd to one line and kill more .TnIngo Schwarze
2015-09-10reduce .Nd to one line and kill .Tn while hereIngo Schwarze
2015-08-28Remove lies about openpty(4) searching for a free pseudo-tty by iteratingMark Kettenis
2015-08-20remove cast of malloc(), since stdlib.h is includedTheo de Raadt
2015-07-19Handle malloc(0) returning NULL (which can happen on some otherNicholas Marriott
2015-07-15typo in manual page.Igor Sobrado
2015-07-12Use memset instead of bzero for better portability.Nicholas Marriott
2015-07-11typo in embedded code block; from Ben CornettTheo de Raadt
2015-07-03bzero cmsgbuf before using it, silences valgrind warnings.Bryan Steele
2015-06-11The correct semantic is to check msgbuf_write() for <= 0, not just < 0.Reyk Floeter
2015-06-03Do not assume that asprintf() clears the pointer on failure, whichTodd C. Miller
2015-04-24Use strtonum() instead of strtoul() when parsing uid/gid so we getTodd C. Miller
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2015-02-05Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@Todd C. Miller
2015-01-16Move to the <limits.h> universe.Theo de Raadt
2015-01-15remove .Tn; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2015-01-12rename blocks to words. bcrypt "blocks" are unrelated to blowfish blocks,Ted Unangst
2015-01-08declare a local version of MIN(), call it MINIMUM()Theo de Raadt
2015-01-08declare a local version of MIN(), call it MINIMUM()Theo de Raadt
2015-01-07Do not need sys/param.hTheo de Raadt
2014-12-30typo in comment: ouput => outputDamien Miller