Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | oops, rounds is unsigned now | 2013-06-04 | 1 | -3/+1 | ||
| | ||||||
* | \-1; | 2013-06-04 | 1 | -3/+3 | ||
| | ||||||
* | not much use for sha1 .Xr | 2013-06-03 | 1 | -2/+1 | ||
| | ||||||
* | Add bcrypt_pbkdf, a password based key derivation function using bcrypt. | 2013-06-03 | 7 | -15/+251 | ||
| | | | | | | | Technically, it's a slight variant of bcrypt better suited for use as a pluggable hash with PKCS #5 PBKDF2. ok djm (also tweak pkcs5_pbkdf2() prototype to have consistent types.) | |||||
* | Fix pty descriptor leak if fork() fails. | 2013-05-21 | 1 | -1/+3 | ||
| | | | | ok millert | |||||
* | use FD_CLOEXEC instead of 1; from David Hill | 2013-04-29 | 1 | -2/+2 | ||
| | | | | ok otto | |||||
* | use O_CLOEXEC with open() instead of open/fcntl; from David Hill | 2013-04-29 | 1 | -3/+3 | ||
| | | | | ok otto | |||||
* | fix memleak in imsg_read() when hitting the fd reserve check | 2013-02-01 | 1 | -1/+2 | ||
| | | | | ok millert@, mikeb@, lteo@ | |||||
* | Fix a purely theoretical NULL-pointer dereference in the case that we | 2012-12-19 | 1 | -2/+2 | ||
| | | | | | | would be able to receive multiple SCM_RIGHTS messages. ok claudio@ gilles@ | |||||
* | Remove excessive sys/cdefs.h inclusion | 2012-12-05 | 4 | -9/+4 | ||
| | | | | ok guenther millert kettenis | |||||
* | imsg_get() returns ssize_t, not size_t. | 2012-11-15 | 1 | -3/+3 | ||
| | ||||||
* | make scan_scaled set errno to EINVAL rather than ERANGE if it encounters | 2012-11-12 | 1 | -2/+4 | ||
| | | | | | | an invalid multiplier, like the man page says it should "looks sensible" deraadt@, ok ian@ | |||||
* | struct buf -> ibuf; from Sunil Nimmagadda | 2012-10-22 | 1 | -4/+4 | ||
| | ||||||
* | Use "unsigned int" instead of BSD "u_int" in <util.h> so that it can | 2012-09-09 | 2 | -6/+6 | ||
| | | | | | | | | be included in source files that specify POSIX source. libutil isn't a standard POSIX library, but no need to be gratuitously incompatible. Fixes x11/st. ok tedu, guenther, kettenis | |||||
* | various fixes; | 2012-09-07 | 1 | -7/+12 | ||
| | ||||||
* | Move the commented out test program in pkcs5_pbkdf2.c into a proper | 2012-09-06 | 1 | -133/+1 | ||
| | | | | regress test. | |||||
* | some better phrasing, mostly via jsing | 2012-09-06 | 1 | -4/+6 | ||
| | ||||||
* | move pkcs5_pbkdf5 function to libutil so everybody can play with it | 2012-09-06 | 5 | -5/+317 | ||
| | | | | ok deraadt jsing matthew | |||||
* | remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets. | 2012-08-02 | 1 | -2/+1 | ||
| | | | | ok guenther@ | |||||
* | ANSIfy forkpty, add missing $OpenBSD$ in duid.c, style (no arg names) in | 2012-07-09 | 3 | -16/+13 | ||
| | | | | | | util.h. ok guenther | |||||
* | update return values for ibuf_write and msgbuf_write | 2012-06-15 | 1 | -4/+4 | ||
| | | | | ok gilles@ | |||||
* | crank minor, since a symbol was added | 2012-06-04 | 1 | -1/+1 | ||
| | ||||||
* | in imsg_read() avoid calling recvmsg() if we detect that we will be short | 2012-06-02 | 2 | -28/+60 | ||
| | | | | | | | | | | | | | on descriptors, this can be achieved thanks to the new getdtablecount() system call. application may provide a reserve count to ensure that the recvmsg() call is not called when they don't have enough descriptors to work properly. change the API so that transient errors that can be retried immediately are retried within the function right away, whereas transient errors for which the application may want to take action will set errno to EAGAIN. ok deraadt@ and henning@ | |||||
* | Drop support from openpty() for 8+ year old kernels that don't support | 2012-04-26 | 1 | -59/+5 | ||
| | | | | | | | /dev/ptm. Users are strongly encouraged to upgrade to a more recent release if they haven't already. ok deraadt | |||||
* | Do not mask errno if we fail to open /dev/diskmap. Also, fall through | 2011-06-30 | 1 | -4/+1 | ||
| | | | | | | rather than returning so that realname still gets assigned. ok millert@ deraadt@ thib@ | |||||
* | s/ands/and/, from Tobias Ulmer | 2011-06-23 | 1 | -3/+3 | ||
| | ||||||
* | Correct msgbuf_write() example. OK jmc@ and nicm@ | 2011-03-05 | 1 | -3/+3 | ||
| | ||||||
* | Update to better describe reality, i.e. disklabel(8) UID usage. | 2011-01-03 | 1 | -10/+24 | ||
| | | | | ok jmc@ jsing@ | |||||
* | Do not attempt to prepend /dev/ to path if it already contains a slash. | 2010-12-22 | 1 | -17/+19 | ||
| | | | | OK jsing@ | |||||
* | Always return a pointer to the static buffer in realpath, even if | 2010-12-21 | 1 | -13/+10 | ||
| | | | | | path and realpath are the same. This matches the manual and avoids a bogus cast to non-const. OK jsing@, previous version OK kettenis@ | |||||
* | opendev() path argument should be const. OK deraadt@ | 2010-12-17 | 3 | -8/+8 | ||
| | ||||||
* | Document isduid(3). | 2010-11-17 | 2 | -3/+64 | ||
| | | | | | | Tweaks from jmc@ ok jmc@ krw@ | |||||
* | Crank minor due to the addition of isduid(). | 2010-11-16 | 1 | -1/+1 | ||
| | ||||||
* | Teach readlabelfs() how to handle DUIDs. | 2010-11-15 | 1 | -4/+24 | ||
| | | | | ok krw@ | |||||
* | Factor out DUID identification code so that it can easily be reused. | 2010-11-15 | 4 | -29/+48 | ||
| | | | | ok krw@ | |||||
* | imsg.h requires sys/uio.h, ok deraadt | 2010-10-31 | 1 | -2/+3 | ||
| | ||||||
* | add missing headers needed for close() and ioctl(). | 2010-06-28 | 1 | -1/+3 | ||
| | | | | ok krw@ millert@ | |||||
* | Protect against multiple inclusion, from Christiano F. Haesbaert. | 2010-06-23 | 1 | -1/+6 | ||
| | | | | ok deraadt@ | |||||
* | If a request to opendev(3) is given in the form of a disklabel UID, | 2010-06-18 | 1 | -3/+51 | ||
| | | | | | | | | | | open /dev/diskmap and perform a DIOCMAP ioctl in order to open the actual device. As a result, all programs which make use of opendev(3) can now operate with disklabel UIDs. Feedback from millert@ ok millert@ krw@ thib@ | |||||
* | typo; Ian McWilliam | 2010-05-28 | 1 | -3/+3 | ||
| | ||||||
* | Move imsg into libutil and add a man page. | 2010-05-26 | 6 | -5/+1250 | ||
| | | | | | | | | Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt | |||||
* | WARNINGS -> CAVEATS, and a little neccessary cleanup; | 2010-04-01 | 1 | -9/+9 | ||
| | ||||||
* | Do not need -DLIBC_SCCS anymore | 2009-10-28 | 1 | -2/+1 | ||
| | ||||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -5/+1 | ||
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||||
* | remove unsupported LIBRARY section; from Alan R. S. Bueno | 2009-09-29 | 1 | -4/+2 | ||
| | ||||||
* | Use STD*_FILENO instead of 0-2. OK henning@ djm@ gilles@ dhill@ | 2009-08-01 | 1 | -5/+5 | ||
| | ||||||
* | use llabs instead of the home-grown version; and some comment changes | 2009-06-20 | 1 | -4/+4 | ||
| | | | | ok ian@, millert@ | |||||
* | example code fix from Will Maier; ok otto | 2008-07-29 | 1 | -3/+3 | ||
| | ||||||
* | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 8 | -68/+12 | ||
| | | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||||
* | copy in FILES from pw_lock.3 to vipw.8: as nick points out, it should at | 2007-11-19 | 2 | -12/+20 | ||
| | | | | | | | least document /etc/ptmp; while i'm at it, might as well tidy it up and make it consistent across these pages; |