Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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; | ||||
* | comment inside comment | 2007-09-09 | 1 | -2/+2 | |
| | |||||
* | convert to new .Dd format; | 2007-05-31 | 15 | -30/+30 | |
| | |||||
* | Make it clear, that the line returned does not have a | 2007-05-16 | 1 | -3/+3 | |
| | | | | | | trailing newline in contrast to fgetln(3). ok ray@ jmc@ millert@ | ||||
* | remove some bogus *p from charles longeau | 2007-03-20 | 1 | -4/+4 | |
| | | | | ok deraadt millert | ||||
* | fix some dodgy displays; | 2007-02-06 | 1 | -3/+2 | |
| | |||||
* | Don't use err as labels or variables, especially since we include | 2006-12-20 | 1 | -7/+7 | |
| | | | | | | err.h. OK moritz@ and jaredy@. | ||||
* | Always write errno on pw_lock failure so it can be relied on. | 2006-12-17 | 2 | -5/+29 | |
| | | | | | | Mention errno, pw_file, and pw_init in pw_lock man page. OK jmc@, otto@, millert@, and deraadt@. | ||||
* | Fix off by one comparison. FSMAXTYPES is the last valid index into | 2006-10-02 | 1 | -2/+2 | |
| | | | | | | | | | fstypesnames[], but that entry is NULL. The last valid file system name is at fstypesnames[FSMAXTYPES-1]. Encountered and diagnosed by pedro@. ok pedro@ deraadt@ | ||||
* | Nuke only two uses of OPENDEV_DRCT in tree. Nuke OPENDEV_DRCT. Long | 2006-06-14 | 1 | -2/+1 | |
| | | | | | | | | | marked obsolete since the opendev() behaviour it turned on is now the default. 'it can go' deraadt@ 'no API of mine has ever made it into a standard' downsj@ | ||||
* | getting to the bottom of the issues. sprinkle a few casts that will | 2006-04-02 | 3 | -6/+6 | |
| | | | | | actually help us find bugs later (with lint, not cc), if they get introduced | ||||
* | casts that cannot cause breakage in the future | 2006-03-30 | 1 | -4/+4 | |
| | |||||
* | change internal login_protect() API to use mode_t like it should | 2006-03-30 | 1 | -4/+4 | |
| | |||||
* | please lint (without making anything else worse) | 2006-03-30 | 1 | -4/+4 | |
| | |||||
* | spaces, and a off_t typecast to please lint | 2005-11-28 | 1 | -7/+7 | |
| | |||||
* | use WANTLINT= (on all architectures) | 2005-11-24 | 1 | -1/+2 | |
| | |||||
* | library routines should not be checking for NULL pointers passed in, | 2005-10-19 | 4 | -27/+5 | |
| | | | | | | and then setting errno to EFAULT. that is balony programming! they should keep stumbling along to purposely create a crash, so that the programmer stops doing that kind of stupid crap. ok otto | ||||
* | add uu_lock_txfr to .Nm list; | 2005-10-12 | 1 | -2/+3 | |
| | |||||
* | scrape $Id$ tags. | 2005-08-02 | 11 | -60/+11 | |
| | | | | okay deraadt@, millert@, krw@ |