summaryrefslogtreecommitdiff
path: root/lib/libutil
AgeCommit message (Expand)Author
2013-05-21Fix pty descriptor leak if fork() fails.Matthew Dempsky
2013-04-29use FD_CLOEXEC instead of 1; from David HillOkan Demirmen
2013-04-29use O_CLOEXEC with open() instead of open/fcntl; from David HillOkan Demirmen
2013-02-01fix memleak in imsg_read() when hitting the fd reserve checkGilles Chehade
2012-12-19Fix a purely theoretical NULL-pointer dereference in the case that weReyk Floeter
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
2012-11-15imsg_get() returns ssize_t, not size_t.Kenneth R Westerback
2012-11-12make scan_scaled set errno to EINVAL rather than ERANGE if it encountersAlexander Hall
2012-10-22struct buf -> ibuf; from Sunil NimmagaddaJason McIntyre
2012-09-09Use "unsigned int" instead of BSD "u_int" in <util.h> so that it canMatthew Dempsky
2012-09-07various fixes;Jason McIntyre
2012-09-06Move the commented out test program in pkcs5_pbkdf2.c into a properMatthew Dempsky
2012-09-06some better phrasing, mostly via jsingTed Unangst
2012-09-06move pkcs5_pbkdf5 function to libutil so everybody can play with itTed Unangst
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.Okan Demirmen
2012-07-09ANSIfy forkpty, add missing $OpenBSD$ in duid.c, style (no arg names) inNicholas Marriott
2012-06-15update return values for ibuf_write and msgbuf_writeJonathan Matthew
2012-06-04crank minor, since a symbol was addedTheo de Raadt
2012-06-02in imsg_read() avoid calling recvmsg() if we detect that we will be shortGilles Chehade
2012-04-26Drop support from openpty() for 8+ year old kernels that don't supportMatthew Dempsky
2011-06-30Do not mask errno if we fail to open /dev/diskmap. Also, fall throughJoel Sing
2011-06-23s/ands/and/, from Tobias UlmerStuart Henderson
2011-03-05Correct msgbuf_write() example. OK jmc@ and nicm@Claudio Jeker
2011-01-03Update to better describe reality, i.e. disklabel(8) UID usage.Kenneth R Westerback
2010-12-22Do not attempt to prepend /dev/ to path if it already contains a slash.Todd C. Miller
2010-12-21Always return a pointer to the static buffer in realpath, even ifTodd C. Miller
2010-12-17opendev() path argument should be const. OK deraadt@Todd C. Miller
2010-11-17Document isduid(3).Joel Sing
2010-11-16Crank minor due to the addition of isduid().Joel Sing
2010-11-15Teach readlabelfs() how to handle DUIDs.Joel Sing
2010-11-15Factor out DUID identification code so that it can easily be reused.Joel Sing
2010-10-31imsg.h requires sys/uio.h, ok deraadtNicholas Marriott
2010-06-28add missing headers needed for close() and ioctl().Charles Longeau
2010-06-23Protect against multiple inclusion, from Christiano F. Haesbaert.Nicholas Marriott
2010-06-18If a request to opendev(3) is given in the form of a disklabel UID,Joel Sing
2010-05-28typo; Ian McWilliamStuart Henderson
2010-05-26Move imsg into libutil and add a man page.Nicholas Marriott
2010-04-01WARNINGS -> CAVEATS, and a little neccessary cleanup;Jason McIntyre
2009-10-28Do not need -DLIBC_SCCS anymoreTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-09-29remove unsupported LIBRARY section; from Alan R. S. BuenoJason McIntyre
2009-08-01Use STD*_FILENO instead of 0-2. OK henning@ djm@ gilles@ dhill@Todd C. Miller
2009-06-20use llabs instead of the home-grown version; and some comment changesMartynas Venckus
2008-07-29example code fix from Will Maier; ok ottoJason McIntyre
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2007-11-19copy in FILES from pw_lock.3 to vipw.8: as nick points out, it should atJason McIntyre
2007-09-09comment inside commentTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-16Make it clear, that the line returned does not have aMoritz Jodeit
2007-03-20remove some bogus *p from charles longeauTed Unangst