scw
0c83fd4944
Add getlabelsector() and getlabeloffset() as wrappers around the
...
KERN_LABELSECTOR and KERN_LABELOFFSET sysctls.
2002-12-12 09:45:32 +00:00
lukem
b1e79510cf
- Migrate fparseln(3) from libutil to libc, where it should have been in
...
the first place...
- Bump libutil major (to 7.0) and libc minor (to 12.91).
2002-11-30 03:04:44 +00:00
elric
4b6afdd53e
add prototypes for disklabel_dkcksum() and disklabel_scan().
2002-10-12 20:46:57 +00:00
christos
6a066bf4a4
Add snprintb(3)
2002-09-20 21:11:36 +00:00
enami
38540fc05e
Cosmetic changes.
2002-08-15 04:47:12 +00:00
abs
35a808e4e8
Add humanize_number.3 from Tomas Svensson in PR lib/15508.
...
Bump version of libutil
2002-08-08 16:50:35 +00:00
christos
d857e8ec8a
add utmpx/wtmpx processing routines
2002-07-27 23:49:00 +00:00
itojun
c2c2980f42
change return type of pidfile(3) to int (-1 on error), to inform caller
...
of errors. behavior now in sync with openbsd implementation.
(see tech-userlevel and bsd-api-discuss)
2002-05-22 07:31:40 +00:00
ad
7e44d4f92b
Add two arguments to pw_mkdb(), a la OpenBSD. This is to allow us to pass
...
the -u and -s options to pwd_mkdb.
2001-08-18 19:31:47 +00:00
wiz
08b35fec91
add getbootfile(3)
2001-04-06 16:24:25 +00:00
tron
7af73c0cfd
Add two new passwd file update functions:
...
- The pw_setprefix() function defines the root directory used for passwd
file updates. If the prefix is set to /newroot pw_lock() will operate on
/newroot/etc/ptmp afterwards. The default prefix is an empty string.
- The pw_getprefix() function returns the root directory which is currently
used for passwd file updates.
2000-12-06 13:47:10 +00:00
ad
bd01b5c282
- Sort function decls.
...
- Remove duplicate decl.
- First arg to secure_path() is now constant.
2000-09-18 16:37:23 +00:00
ad
df69d356ce
Remove decl for parseuserspec(), a local modification which acidentally got
...
comitted.
2000-07-07 10:35:58 +00:00
ad
c2554e1d5b
- Declare pw_getconf().
...
- ANSIfy.
2000-07-06 11:28:04 +00:00
mjl
142f369443
Add necessary support routines for login.conf.
2000-01-12 05:02:10 +00:00
christos
e063452044
- provide forward struct declarations for all functions.
...
- const poison login().
- XXX: we should not include all these files here. We only need stdio.h and
sys/types.h! But I am not rm'ing them now because too many things will break.
1999-06-12 18:06:19 +00:00
thorpej
fb695fdcb9
Add pidfile(3), which write a pid file in /var/run, and arranges for it
...
to be removed on normal exit.
1999-06-06 01:50:00 +00:00
mycroft
55ac0c2da3
const poisoning.
1998-07-26 21:58:46 +00:00
lukem
986a30c817
move pw_scan from util.h to pwd.h, add _PASSWORD_{OLDFMT,NOWARN} flags
1998-06-08 03:05:14 +00:00
lukem
a4c9cc609b
add flags arg to fparseln(), and define FPARSELN_UNESC{ESC,CONT,COMM,REST,ALL}
1997-12-01 02:25:46 +00:00
lukem
2542e3903a
fix retval of fparseln
1997-11-16 22:34:23 +00:00
christos
987d6a1d4c
Add fparseln(3)
1997-11-16 22:18:03 +00:00
cjs
6d6c746101
Add prototypes and defines for pidlock/ttylock/ttyunlock.
1997-10-11 02:24:23 +00:00
lukem
1e372f6cf9
implement opendisk(3), as discussed with Jason Thorpe
1997-09-25 04:53:30 +00:00
phil
d5c2f1b21b
Update pw_copy prototype for changes for PR3806, 3807.
1997-07-24 08:47:48 +00:00
christos
2c1aa43467
forgot to commit this.
1997-06-30 21:22:59 +00:00
gwr
c53254800e
Add declaration for ttyaction().
1996-11-14 17:15:16 +00:00
thorpej
3ae4857c04
Prototypes for getmaxpartitions(3) and getrawpartition(3).
1996-05-16 07:00:22 +00:00
jtc
2a909cc6a7
Added new header files for functions in libutil.
...
Added macro for master passwd lock file.
From Greg Hudson <ghudson@MIT.EDU>.
1996-05-15 21:36:43 +00:00