Commit Graph

22 Commits

Author SHA1 Message Date
tron
a3a468eeaf 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:37:53 +00:00
ad
8a82d4a86e Bump libutil minor (pw_getconf()). 2000-07-06 11:26:23 +00:00
mjl
142f369443 Add necessary support routines for login.conf. 2000-01-12 05:02:10 +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
abs
edc1a24a56 Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
RCS Id.
1999-02-25 08:02:19 +00:00
bouyer
dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
thorpej
5b08d89dbe Put pw_scan() back into libutil and pretent that libutil.so.5.0 never
existed.
1998-06-27 05:08:56 +00:00
lukem
c90cd29d64 actually, bump major for pw_scan() removal, even when it was moved to -lc 1998-06-09 06:42:50 +00:00
lukem
65c4c29d59 bump minor (because pw_scan() moved to libc, and old binaries that use libutil.so.4.4 and libc.so.12.26 won't work otherwise) 1998-06-08 14:33:05 +00:00
bouyer
50660fb787 Add bswap{16,32,64} functions to libutil. Because of this, bump minor. 1998-03-18 16:40:45 +00:00
perry
93db5caa95 RCSID Police. 1998-01-05 07:41:06 +00:00
christos
fd7ea84f27 Increase minor number for fparseln 1997-11-16 22:20:14 +00:00
cjs
09ced7933a Add pidlock, ttylock, ttyunlock functions. 1997-10-11 02:56:22 +00:00
lukem
1e372f6cf9 implement opendisk(3), as discussed with Jason Thorpe 1997-09-25 04:53:30 +00:00
phil
01d72f4add Change pw_copy to take an optional 4th parameter (old_pw), a pointer
to a passwd structure.  If a good pointer, make sure old entry in file
is identical to passed passwd (old_pw).  If not, abort.

Update documentation, bump major version due to change to pw_copy.
1997-07-24 08:50:31 +00:00
gwr
5f5eeb9d41 Increment minor version for new function ttyaction(). 1996-11-14 17:52:02 +00:00
jtc
e42a94845a Minor reorganization of libutil, including the addition of passward
locking and editing functions.
From Greg Hudson <ghudson@MIT.EDU>
1996-05-15 21:42:23 +00:00
cgd
3a724adbf7 minor cleanup; kill unnecessary casts 1994-05-04 10:55:57 +00:00
cgd
19601b5460 _double_ major number bump! joy! 1994-03-27 09:18:25 +00:00
cgd
7999e08c50 get rid of stuff that doesn't belong here 1994-01-27 23:31:19 +00:00
cgd
985686cfed kill the 'prog' arg to getbsize(); it's unneeded. minor rev bump. 1994-01-25 20:06:03 +00:00
cgd
daea3d2f86 add shlib_version file, with version 0.0 1993-11-08 03:48:53 +00:00