summaryrefslogtreecommitdiffstats
path: root/lib/libutil
AgeCommit message (Expand)AuthorFilesLines
2013-06-04oops, rounds is unsigned nowtedu1-3/+1
2013-06-04\-1;jmc1-3/+3
2013-06-03not much use for sha1 .Xrtedu1-2/+1
2013-06-03Add bcrypt_pbkdf, a password based key derivation function using bcrypt.tedu7-15/+251
2013-05-21Fix pty descriptor leak if fork() fails.matthew1-1/+3
2013-04-29use FD_CLOEXEC instead of 1; from David Hillokan1-2/+2
2013-04-29use O_CLOEXEC with open() instead of open/fcntl; from David Hillokan1-3/+3
2013-02-01fix memleak in imsg_read() when hitting the fd reserve checkgilles1-1/+2
2012-12-19Fix a purely theoretical NULL-pointer dereference in the case that wereyk1-2/+2
2012-12-05Remove excessive sys/cdefs.h inclusionderaadt4-9/+4
2012-11-15imsg_get() returns ssize_t, not size_t.krw1-3/+3
2012-11-12make scan_scaled set errno to EINVAL rather than ERANGE if it encountershalex1-2/+4
2012-10-22struct buf -> ibuf; from Sunil Nimmagaddajmc1-4/+4
2012-09-09Use "unsigned int" instead of BSD "u_int" in <util.h> so that it canmatthew2-6/+6
2012-09-07various fixes;jmc1-7/+12
2012-09-06Move the commented out test program in pkcs5_pbkdf2.c into a propermatthew1-133/+1
2012-09-06some better phrasing, mostly via jsingtedu1-4/+6
2012-09-06move pkcs5_pbkdf5 function to libutil so everybody can play with ittedu5-5/+317
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan1-2/+1
2012-07-09ANSIfy forkpty, add missing $OpenBSD$ in duid.c, style (no arg names) innicm3-16/+13
2012-06-15update return values for ibuf_write and msgbuf_writejmatthew1-4/+4
2012-06-04crank minor, since a symbol was addedderaadt1-1/+1
2012-06-02in imsg_read() avoid calling recvmsg() if we detect that we will be shortgilles2-28/+60
2012-04-26Drop support from openpty() for 8+ year old kernels that don't supportmatthew1-59/+5
2011-06-30Do not mask errno if we fail to open /dev/diskmap. Also, fall throughjsing1-4/+1
2011-06-23s/ands/and/, from Tobias Ulmersthen1-3/+3
2011-03-05Correct msgbuf_write() example. OK jmc@ and nicm@claudio1-3/+3
2011-01-03Update to better describe reality, i.e. disklabel(8) UID usage.krw1-10/+24
2010-12-22Do not attempt to prepend /dev/ to path if it already contains a slash.millert1-17/+19
2010-12-21Always return a pointer to the static buffer in realpath, even ifmillert1-13/+10
2010-12-17opendev() path argument should be const. OK deraadt@millert3-8/+8
2010-11-17Document isduid(3).jsing2-3/+64
2010-11-16Crank minor due to the addition of isduid().jsing1-1/+1
2010-11-15Teach readlabelfs() how to handle DUIDs.jsing1-4/+24
2010-11-15Factor out DUID identification code so that it can easily be reused.jsing4-29/+48
2010-10-31imsg.h requires sys/uio.h, ok deraadtnicm1-2/+3
2010-06-28add missing headers needed for close() and ioctl().chl1-1/+3
2010-06-23Protect against multiple inclusion, from Christiano F. Haesbaert.nicm1-1/+6
2010-06-18If a request to opendev(3) is given in the form of a disklabel UID,jsing1-3/+51
2010-05-28typo; Ian McWilliamsthen1-3/+3
2010-05-26Move imsg into libutil and add a man page.nicm6-5/+1250
2010-04-01WARNINGS -> CAVEATS, and a little neccessary cleanup;jmc1-9/+9
2009-10-28Do not need -DLIBC_SCCS anymorederaadt1-2/+1
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-5/+1
2009-09-29remove unsupported LIBRARY section; from Alan R. S. Buenojmc1-4/+2
2009-08-01Use STD*_FILENO instead of 0-2. OK henning@ djm@ gilles@ dhill@millert1-5/+5
2009-06-20use llabs instead of the home-grown version; and some comment changesmartynas1-4/+4
2008-07-29example code fix from Will Maier; ok ottojmc1-3/+3
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.ray8-68/+12
2007-11-19copy in FILES from pw_lock.3 to vipw.8: as nick points out, it should atjmc2-12/+20