jmc
813a539cd3
for some time now mandoc has not required MLINKS to function
correctly - logically complete that now by removing MLINKS from base;
authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;
ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung
8 years ago
deraadt
a2912d4d42
merge ohash into 1 source file, then we can revisit next roadmap items.
ok espie
10 years ago
espie
a7f9b5b34c
move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.
10 years ago
tedu
64a805d564
Add bcrypt_pbkdf, a password based key derivation function using bcrypt.
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.)
11 years ago
tedu
d5bb407472
move pkcs5_pbkdf5 function to libutil so everybody can play with it
ok deraadt jsing matthew
12 years ago
okan
068b7390b9
remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.
ok guenther@
12 years ago
jsing
96b190e24d
Document isduid(3).
Tweaks from jmc@
ok jmc@ krw@
14 years ago
jsing
972351062d
Factor out DUID identification code so that it can easily be reused.
ok krw@
14 years ago
nicm
8b7d56fe29
Move imsg into libutil and add a man page.
Minor bump for libutil.
Previous versions of this diff and man page looked at by various people.
"you should just commit" deraadt
14 years ago
deraadt
e44f0a8fb7
Do not need -DLIBC_SCCS anymore
15 years ago
deraadt
0716b3fa6e
use WANTLINT= (on all architectures)
19 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
deraadt
9fdc426d5e
move junk (bad code, terrible APIs) to the only program that uses it;
millert ok
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@.
22 years ago
jakob
b2fc98a506
re-enable pidfile(3). ok millert@
23 years ago
deraadt
1e490e20b5
jakob did not even do a make build, sigh
23 years ago
jakob
68a4b51ff3
add pidfile(3) - write a daemon pid file. ok deraadt@, millert@.
23 years ago
millert
fee765fb4f
MLINK check_expire.3 -> login_check_expire.3
24 years ago
millert
747d061e52
first cut at a man page for login_check_expire()
24 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
ericj
15d114722d
add man page for login_fbtab()
25 years ago
csapuntz
15f3825602
Add opendisk from NetBSD.
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
27 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
28 years ago
millert
991fb15882
COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.
28 years ago
provos
4a31344e5c
added password configuration access function, used to determine
password cipher type at the moment
28 years ago
downsj
c9f3722b2a
add readlabelfs.3
28 years ago
downsj
c6b631d109
install -> ${INSTALL}, -c -> ${COPY}
28 years ago
downsj
30a5f11ec5
Add readlabelfs().
28 years ago
deraadt
6426383b23
someone want to write login_fbtab.3?
28 years ago
deraadt
aca561bb49
login_fbtab() in libutil
28 years ago
downsj
1f11082c42
opendev.3: opendev(3) man page
29 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"
29 years ago
downsj
f8971d632f
Add opendev(3) to libutil. Used by mt(1), soon by disklabel(8), maybe
others. This is a generic version of the code used by mt(1).
29 years ago
deraadt
ce569fce0f
add /sbin/scsi from FreeBSD -- a good start!
29 years ago
deraadt
a5010d31aa
libutil
29 years ago
deraadt
47b73ff83c
initial import of NetBSD tree
29 years ago