Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uucplock(3) is incorrectly named in some places, it is actually uu_lock(3) | 2019-08-30 | 1 | -2/+2 | |
| | | | | (more unclear is if anything in ports uses this, as our base no longer does) | ||||
* | Add getptmfd(), fdopenpty(), fdforkpty() functions. These allow programs | 2017-04-20 | 1 | -1/+5 | |
| | | | | | | | | | to separate the open(/dev/ptm) from the ioctl(PTMGET) for privilege separation or pledge(). Based on a diff from reyk@. ok deraadt millert | ||||
* | Add bcrypt_pbkdf, a password based key derivation function using bcrypt. | 2013-06-03 | 1 | -3/+5 | |
| | | | | | | | 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.) | ||||
* | Remove excessive sys/cdefs.h inclusion | 2012-12-05 | 1 | -2/+1 | |
| | | | | ok guenther millert kettenis | ||||
* | Use "unsigned int" instead of BSD "u_int" in <util.h> so that it can | 2012-09-09 | 1 | -2/+2 | |
| | | | | | | | | 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 | ||||
* | move pkcs5_pbkdf5 function to libutil so everybody can play with it | 2012-09-06 | 1 | -1/+4 | |
| | | | | ok deraadt jsing matthew | ||||
* | ANSIfy forkpty, add missing $OpenBSD$ in duid.c, style (no arg names) in | 2012-07-09 | 1 | -10/+9 | |
| | | | | | | util.h. ok guenther | ||||
* | opendev() path argument should be const. OK deraadt@ | 2010-12-17 | 1 | -2/+2 | |
| | |||||
* | Factor out DUID identification code so that it can easily be reused. | 2010-11-15 | 1 | -1/+2 | |
| | | | | ok krw@ | ||||
* | 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@ | ||||
* | passwd.conf has been deprecated since login.conf was imported. | 2004-07-13 | 1 | -2/+1 | |
| | | | | Today it finally dies. Based on a diff from Gabriel Kihlman. | ||||
* | Change pw_copy(3) to take a 3rd arguement, the existing passwd entry. | 2004-04-20 | 1 | -2/+2 | |
| | | | | | | | This allows an application to only update a password entry if it is in the state it expects. Additionally, if the old passwd struct is specified the new one may have a different pw_name field since matching is done on the original. Adapted from FreeBSD. | ||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | New: fmt_scaled() and scan_scaled() convert to and from "human readable" | 2003-05-15 | 1 | -1/+8 | |
| | | | | | | or scaled numbers. fmt_scaled, and the format, based on Ken Stailey's code for "df -h"; scan_scaled is new. Significantly commented on and reworked by pjanzen@; other comments from millert@. OK pjanzen@. | ||||
* | login_fbtab(3) fixes: | 2002-06-21 | 1 | -4/+3 | |
| | | | | | | | | o make first arg const since we don't modify it o use strsep() instead of strtok() as strtok() changes internal state o add some bounds checking and use strlcat() instead of pointer arithmetic o ANSI function headers Originally based on a patch from Lars J. Buitinck but much modified. | ||||
* | some -Wall and spaces cleanup, scsi.c left. | 2002-06-09 | 1 | -2/+2 | |
| | | | | some brave soul should look at it. | ||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree) | 2002-02-17 | 1 | -5/+5 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -30/+30 | |
| | |||||
* | re-enable pidfile(3). ok millert@ | 2001-09-29 | 1 | -1/+2 | |
| | |||||
* | zap pidfile from here too, until conflict with kerberosV is fixed ok deraadt@ | 2001-09-29 | 1 | -2/+1 | |
| | |||||
* | add pidfile(3) prototype | 2001-09-28 | 1 | -1/+2 | |
| | |||||
* | Add new 'secureonly' arg to pw_mkdb() to correspond to pwd_mkdb's new -s | 2001-08-16 | 1 | -2/+2 | |
| | | | | flag and crank the library major due to the interface change. | ||||
* | Get rid of extraneous #includes by using stub struct declarations. | 2001-08-12 | 1 | -19/+27 | |
| | |||||
* | proto; S@mSmith.net | 2001-06-10 | 1 | -2/+4 | |
| | |||||
* | login_check_expire(3), a helper function for use with BSD authentication. | 2000-11-26 | 1 | -1/+2 | |
| | | | | | This lives in libutil because it uses pw_lock(3) and friends. Needs a man page (soon!). | ||||
* | Add a username argument to pw_mkdb to match 'pwd_mkdb -u username'. | 2000-11-26 | 1 | -2/+2 | |
| | | | | Crank the shlib major number due to the interface change. | ||||
* | Add OPENDEV_BLCK | 2000-04-30 | 1 | -2/+3 | |
| | |||||
* | Added fparseln from NetBSD. | 1999-07-20 | 1 | -1/+12 | |
| | | | | ok deraadt@ | ||||
* | Add uu_lock_txfr() for donating locks to another process. | 1998-06-08 | 1 | -1/+3 | |
| | | | | Reviewed by: Theo | ||||
* | Introduce uu_lock(), uu_unlock() and uu_lockerr() | 1997-11-09 | 1 | -1/+13 | |
| | | | | | | into libutil. Obtained from: FreeBSD Reviewed by: Theo | ||||
* | Add support to handle password files in directories other than /etc | 1997-06-17 | 1 | -1/+3 | |
| | |||||
* | added password configuration access function, used to determine | 1997-02-16 | 1 | -1/+2 | |
| | | | | password cipher type at the moment | ||||
* | readlabelfs() takes two arguments now, update prototype, inc major number. | 1996-12-23 | 1 | -2/+2 | |
| | |||||
* | Add readlabelfs(). | 1996-12-03 | 1 | -6/+7 | |
| | |||||
* | login_fbtab() in libutil | 1996-07-31 | 1 | -1/+2 | |
| | |||||
* | util.h: new resting place | 1996-06-17 | 1 | -0/+76 | |
opendev.h: ok, so I merged it with util.h opendev.h: use util.h everything else: use "util.h" |