summaryrefslogtreecommitdiff
path: root/lib/libutil
AgeCommit message (Expand)Author
2018-08-10delete volatile intended to silence whiny old compilers around vfork.Theo de Raadt
2018-05-14constrain fractional part to [0-9] (less confusing to static analysis); ok ian@Damien Miller
2018-02-16Fix function argument names, from Abel Abraham Camarillo Ojeda via jmc@.Nicholas Marriott
2018-01-12Adjust references for sysctl(3) to sysctl(2)Theo de Raadt
2017-12-14Make a few internal symbols static and add a Symbols.map version scriptMark Kettenis
2017-12-06It's the imsg_compose(3) who accepts 'fd' argument, not imsg_create(3).Vadim Zhukov
2017-05-03spacing (in EXAMPLES code)Reyk Floeter
2017-04-20add previous to NAME;Jason McIntyre
2017-04-20Add getptmfd(), fdopenpty(), fdforkpty() functions. These allow programsNicholas Marriott
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