freebsd-skq/usr.sbin
Bill Paul 79acf67fce Re-implement the DB handle cache using a circular queue and manage
it with the CIRCLEQ macros. This simplifies the code a little, makes
it somewhat easier to read, and may be a little faster. (Actually I think
the performace is about the same.)

Also, in the non DB_CACHE case, save copies of data returned from
the database library in a static buffer, just in case we decide to use
it after the database has been closed. Technically, the memory that the
data pointers refer to belongs to the DB package and we can't count on
it being there after the database has been closed -- the DB package
frees its buffers. (With DB_CACHE #defined the databases are held
open so the buffers remain valid.) I don't think any of the utilities
that use the dblookup module have had any problems with this yet, but
there's no sense in taking any chances.
1996-07-07 23:02:41 +00:00
..
ac Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
accton Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
adduser documented login name limit 1996-06-09 20:45:35 +00:00
amd `mv'' -> `mv -f'' 1996-05-07 23:19:49 +00:00
apm delete MANDIR=/usr/share/man/man, 1996-05-21 18:09:11 +00:00
apmconf Use /dev/apm instead of /dev/apm0. 1996-03-18 20:35:17 +00:00
arp Clean up warnings. 1996-02-08 21:05:52 +00:00
bad144 Commit the longstanding bin/410 & kern/411 fix, in the hope that somebody 1995-12-01 11:07:01 +00:00
bootparamd Change references from rpc.bootparamd to bootparamd. 1996-04-07 23:28:25 +00:00
cdcontrol Don't print number (garbadge) if media catalog is inactive 1996-06-25 21:01:27 +00:00
chown Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
chroot Get rid of update. Make man page installation work with our scheme 1994-08-05 16:31:05 +00:00
config Bring back the `config file in the kernel' feature from the 1.x days. This 1996-06-08 23:27:16 +00:00
cron fix: debug flag 'test' cause endless loop 1996-06-30 22:11:51 +00:00
crunch Removed -g from CFLAGS. 1996-06-23 13:11:59 +00:00
ctm Add ctm_dequeue to the SUBDIR list now that I've checked that it 1996-07-01 21:59:22 +00:00
dev_mkdb Get rid of update. Make man page installation work with our scheme 1994-08-05 16:31:05 +00:00
diskpart Merged type changes and overflow bug fixes from Lite2. 1996-03-19 15:38:44 +00:00
edquota Allow the use of uid ranges when using the "-p" option to allow 1996-03-31 20:57:44 +00:00
eeprom Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
fdcontrol Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
fdformat Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
fdwrite Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
inetd Add $Id$ 1996-05-07 03:16:43 +00:00
iostat Cosmetic fixes for drive names which are 4 chars long. 1996-06-11 16:18:58 +00:00
IPXrouted Accept and use the content of packets received that is bigger than the 1996-04-13 15:13:30 +00:00
kbdcontrol document values for option -r 1996-05-28 00:14:20 +00:00
kbdmap Correct a bunch of man page cross references and generally 1996-02-11 22:38:05 +00:00
kernbb Fix various bogosities. 1995-10-22 19:45:28 +00:00
keyadmin This is the `key' program from NRL's IPv6 distribution, heavily 1996-06-17 19:47:57 +00:00
kgmon Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:30:05 +00:00
kvm_mkdb NBPG -> getpagesize() 1996-05-02 09:09:04 +00:00
lpr People ask in Usenet, how to configure remoteprinting successfully 1996-06-01 23:22:36 +00:00
lptcontrol Correct some man page xrefs, and some other minor changes to bring some 1996-04-08 04:18:31 +00:00
lsdev Add a public domain notice to these files. 1996-06-18 15:35:06 +00:00
manctl Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
mixer Make mixer print out all of the current mixer settings by defualt 1996-01-31 18:01:22 +00:00
mkdosfs Attempt to figure out the size of the device/file we are about to 1996-01-30 02:35:08 +00:00
mount_portalfs Get rid of the last vestiges of the old MOUNT_* constants in the 1996-05-13 17:43:19 +00:00
mountd Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
moused Change the way moused talk to syscons, now its only delivering mouseevents 1996-06-25 08:54:57 +00:00
mrouted Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
mtree Correct a bunch of man page cross references and generally 1996-02-11 22:38:05 +00:00
named delete /usr/ucb from PATH 1996-03-12 21:46:08 +00:00
ncrcontrol Drop privileges if not using standard namelist or file. 1996-05-30 02:19:43 +00:00
newsyslog Added function prototypes and removed in-line prototypes of standard 1996-06-08 23:32:10 +00:00
nfsd Default to udp if neither udp nor tcp is specified. The previous revision 1996-05-01 03:13:45 +00:00
nologin Fix a bunch of spelling errors. 1996-01-29 23:52:43 +00:00
nslookup Remove support for OSI networking in user-land (#ifdef OSI aor CCITT) 1996-02-06 20:36:15 +00:00
pccard Don't un-necessarily include varargs.h. 1996-06-20 21:06:53 +00:00
pcvt Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
pkg_install Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
portmap Typo. 1996-02-05 15:35:41 +00:00
ppp Prepare for exec properly and check return values 1996-06-09 20:40:58 +00:00
pppd Update the pppd(8) man page to exmplain the CHAP acronym 1996-07-03 23:23:03 +00:00
pppstats Merge pppstats from ppp-2.2 onto mainline.. 1995-10-31 21:41:59 +00:00
pstat Document the -i backward compatibility option (same as -v). 1996-07-03 02:11:39 +00:00
pwd_mkdb Check if username is a NULL pointer before dereferencing it. 1996-07-03 21:43:48 +00:00
qcamcontrol Fix a few bugs in argument processing. 1996-04-17 08:57:50 +00:00
quot Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
quotaon Get rid of update. Make man page installation work with our scheme 1994-08-05 16:31:05 +00:00
rarpd Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
repquota Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
rmt The rmt protocol didn't allow to pass a file creation mode (permission 1995-04-09 09:20:47 +00:00
rndcontrol This first appeared in 2.1.5. Correct comment. 1996-06-26 17:11:04 +00:00
routed Shut up a message which now appears to be a natural consequence of RIP2 and 1996-06-18 19:59:35 +00:00
rpc.lockd Correct the rpc.lockd and rpc.statd man pages to not reference 1996-04-07 08:55:32 +00:00
rpc.statd Correct the rpc.lockd and rpc.statd man pages to not reference 1996-04-07 08:55:32 +00:00
rpc.yppasswdd Implement incremental passwd database updates. This is done by ading a '-u' 1996-07-01 19:38:50 +00:00
rpc.ypxfrd Add checks for byte order and DB type mismatches. We ignore the 1996-07-04 02:29:54 +00:00
rtprio Correct a bunch of man page cross references and generally 1996-02-11 22:38:05 +00:00
rwhod Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
sa Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
sade Support compressed doc files again. 1996-07-05 08:36:02 +00:00
sendmail freefall's new sendmail.cf file. 1996-05-17 07:47:34 +00:00
sgsc Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
sicontrol Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
sliplogin Close a security hole in sliplogin. 1996-04-24 20:18:25 +00:00
slstat Drop privileges if not using standard namelist or kernel file. 1996-05-30 02:20:10 +00:00
spkrtest Print a warning before starting dialog(1) if the user 1996-07-02 23:35:21 +00:00
spray Obtained from: NetBSD 1996-01-05 09:09:30 +00:00
stallion rm the files first before uudecoding, because the modes in the begin 1996-05-05 07:40:46 +00:00
sup Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
sysctl Fix a core dump when the user gives "-w" without an "=" 1996-04-10 00:53:22 +00:00
sysinstall Support compressed doc files again. 1996-07-05 08:36:02 +00:00
syslogd Correct synopsis (-d, -I options were missing because -mdoc mistook 1996-05-20 17:10:03 +00:00
tcpdump Update IGMP printing, removing the obsolete packet header version number & 1996-03-19 17:25:12 +00:00
timed Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
traceroute Bring in LBL traceroute, which has the '-g' option. This is a bugfixed and 1996-03-13 08:04:29 +00:00
trpt Include queue.h in preparation for struct socket changes. 1996-03-11 13:02:44 +00:00
tzsetup Only print the selected timezone in verification rather than the bogus time. 1996-07-03 01:17:34 +00:00
vidcontrol Fix typo. 1996-07-03 22:06:12 +00:00
vipw Implement incremental passwd database updates. This is done by ading a '-u' 1996-07-01 19:38:50 +00:00
vnconfig man page link swapfile.8 -> vnconfig.8 1996-02-02 06:14:09 +00:00
watch Properly save and restore the terminal characters! 1996-03-01 18:21:41 +00:00
wormcontrol Mention the currently supported vendor/model strings. 1996-02-02 23:01:17 +00:00
xntpd Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
xten recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
yp_mkdb Add -I${.CURDIR}/../../libexec/ypxfr to CFLAGS so we can see ypxfr_extern.h. 1996-06-06 17:01:53 +00:00
ypbind Correct a bunch of man page cross references and generally 1996-02-11 22:38:05 +00:00
yppoll Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
yppush Ack! You can't strdup() a DB datum that is not null terminated, or you 1996-06-09 07:34:27 +00:00
ypserv Re-implement the DB handle cache using a circular queue and manage 1996-07-07 23:02:41 +00:00
ypset Add a ypset(8) man page. 1996-02-12 05:28:30 +00:00
zic Convert "time zone" to "timezone" in NAME section 1996-02-27 00:27:21 +00:00
Makefile Add moused to targets. 1996-06-23 12:13:02 +00:00
Makefile.inc BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00