krw
a85347343d
Nuke only two uses of OPENDEV_DRCT in tree. Nuke OPENDEV_DRCT. Long
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@
18 years ago
millert
20709cb14a
passwd.conf has been deprecated since login.conf was imported.
Today it finally dies. Based on a diff from Gabriel Kihlman.
20 years ago
millert
d0d2e5a2ff
Change pw_copy(3) to take a 3rd arguement, the existing passwd entry.
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.
20 years ago
millert
679cd5d050
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.
21 years ago
ian
3b9490ce8c
New: fmt_scaled() and scan_scaled() convert to and from "human readable"
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@.
21 years ago
millert
fab5e38f3f
login_fbtab(3) fixes:
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.
22 years ago
fgsch
fb18813faf
some -Wall and spaces cleanup, scsi.c left.
some brave soul should look at it.
22 years ago
millert
959b08f109
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
23 years ago
millert
b68c09e067
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.
23 years ago
jakob
b2fc98a506
re-enable pidfile(3). ok millert@
23 years ago
matthieu
5055a367e5
zap pidfile from here too, until conflict with kerberosV is fixed ok deraadt@
23 years ago
jakob
e4464b9a36
add pidfile(3) prototype
23 years ago
millert
5caca03abd
Add new 'secureonly' arg to pw_mkdb() to correspond to pwd_mkdb's new -s
flag and crank the library major due to the interface change.
23 years ago
millert
010e8fe0d7
Get rid of extraneous #includes by using stub struct declarations.
23 years ago
deraadt
0833f36618
proto; S@mSmith.net
23 years ago
millert
3baeeab4e7
login_check_expire(3), a helper function for use with BSD authentication.
This lives in libutil because it uses pw_lock(3) and friends. Needs
a man page (soon!).
24 years ago
millert
2a2d694747
Add a username argument to pw_mkdb to match 'pwd_mkdb -u username'.
Crank the shlib major number due to the interface change.
24 years ago
millert
192f7d89fb
Add OPENDEV_BLCK
25 years ago
jakob
42cd8e12d7
Added fparseln from NetBSD.
ok deraadt@
25 years ago
brian
6c131f03f8
Add uu_lock_txfr() for donating locks to another process.
Reviewed by: Theo
26 years ago
bri
55694d3e32
Introduce uu_lock(), uu_unlock() and uu_lockerr()
into libutil.
Obtained from: FreeBSD
Reviewed by: Theo
27 years ago
niklas
58f7db1ec4
Add support to handle password files in directories other than /etc
27 years ago
provos
4a31344e5c
added password configuration access function, used to determine
password cipher type at the moment
28 years ago
downsj
0722d7a48e
readlabelfs() takes two arguments now, update prototype, inc major number.
28 years ago
downsj
30a5f11ec5
Add readlabelfs().
28 years ago
deraadt
aca561bb49
login_fbtab() in libutil
28 years ago
downsj
b2f1975b66
util.h: new resting place
opendev.h: ok, so I merged it with util.h
opendev.h: use util.h
everything else: use "util.h"
28 years ago
deraadt
47b73ff83c
initial import of NetBSD tree
29 years ago