freebsd-skq/usr.sbin
wpaul af8a974897 Fixed stupid bug in mountd: it would seem that the kernel doesn't allow
you to push the same host into its NFS export lists twice, but mountd
tries to do it anyway. This means that putting:

/some_file_system -ro host1 host1

in your /etc/exports file causes an error. This is bogus: mountd should be
smart enough to ignore the second instance of host1. This can be a problem
in some configurations that use netgroups. For example, each host in my
netgroups database is has two entries:

startide (startide,-,) (startide.ctr.columbia.edu,-,)

When mountd sees this, it tries to put startide.ctr.columbia.edu into the
export list *twice*. Just listing 'startide' /etc/exports list will also
screw up because mountd will try to resolve the netgroup 'startide' instead
of the hostname 'startide.'

My solution is watch for duplicate entries in get_host() and mark them
as grouptype GT_IGNORE, which do_mount() will now cheefully throw away.
This is a bit of a kludge, but it was the least obtrusive fix I could
come up with.

Also silenced a compiler warning: arguments passwd to xdr_long() should
be u_long, not int. :)
1995-03-26 23:36:38 +00:00
..
ac strncmp use wrong utmp name size 1994-11-14 20:26:52 +00:00
accton Changed a ACCTON 1 to a ACCTON 8 . 1994-12-12 00:32:36 +00:00
adduser o more options 1995-03-08 22:44:37 +00:00
amd 1. Get all the nodes in this texinfo document happily pointing in the proper 1995-02-19 09:11:07 +00:00
apm make the right link to "zzz" 1994-11-02 07:20:58 +00:00
apmconf Remove a relic from the old "equiv" kludge 1994-11-02 04:55:15 +00:00
arp Remove talk about trailers from arp(8) manual page 1994-09-26 04:32:57 +00:00
bad144 Define DKBAD_MAGIC the same as in 1.1.5 (as 0x4321 instead of 0). 0 is 1994-10-25 17:33:25 +00:00
bootparamd Stop callbootd from dumping core when attempting to directly query a 1995-03-26 03:15:39 +00:00
bootpd __386BSD__ -> __FreeBSD__ 1994-11-04 02:14:13 +00:00
bootpef This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
bootpgw This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
bootptest This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
cdplay Use CDPLAY environment variable to not type argument each time 1995-02-22 01:45:03 +00:00
chown groups[] is of type gid_t. 1994-09-23 10:02:21 +00:00
chroot This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
config Change warning message for when a device is wired to a floating 1995-03-07 11:03:42 +00:00
config.new This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
cron Now crontab works not only for vi editor, i.e. refers to 1994-12-21 11:06:08 +00:00
crunch Need /usr/src/sbin/i386 in srcdirs to get fdisk. 1995-03-10 08:36:19 +00:00
ctm Fixed a bug so that a delta#0 can be applied. 1995-03-26 20:09:52 +00:00
dbsym This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
dev_mkdb This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
diskpart This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
edquota Make edquota works with other then vi editors, 1994-11-22 18:52:58 +00:00
eeprom This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
fdcontrol Import the fdcontrol command. It has been in 1.1.5, but obviously has been lost on its way to 2.0. 1994-10-30 18:52:01 +00:00
fdformat Corrected the xref to the driver man page to be fdc(4) now that 1994-10-28 17:07:32 +00:00
fdwrite #include'ing mysterious stuff from ${DESTDIR}/sys/<somewhere> is no longer 1994-10-14 16:03:33 +00:00
inetd Disable UDP service looping attack. 1994-12-21 19:08:45 +00:00
iostat Fix printout bug 1994-11-10 13:39:01 +00:00
kbdcontrol Added h option for setting the historysize. 1995-01-30 21:41:14 +00:00
kbdmap kbdfont -> vidfont for greater commonality with kbdcontrol/vidcontrol 1995-03-24 04:36:19 +00:00
kernbb Added the kernbb program. No man-page yet :( 1995-03-10 08:53:55 +00:00
kgmon Get rid of _PATH_UNIX completely; use getbootfile(3) instead. 1994-09-24 00:08:43 +00:00
kvm_mkdb Speed kvm_mkdb up by a factor 5 or thereabout. Rewrote all the fseek/fread 1995-01-10 18:37:12 +00:00
lpr Add missing ${.CURDIR} 1995-01-24 08:30:13 +00:00
lptcontrol This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
lsdev Moved "#include <pci/pcivar.h>" from "usr.sbin/lsdev/i386.c" 1995-02-04 12:47:19 +00:00
manctl I've found two bugs in manctl(8). There are two spurious ";" after a "then" 1995-02-15 00:07:59 +00:00
mixer non-X mixer, useful into rc.local 1995-02-15 17:33:04 +00:00
mount_portalfs Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
mountd Fixed stupid bug in mountd: it would seem that the kernel doesn't allow 1995-03-26 23:36:38 +00:00
mrouted This set of patches enables IP multicasting to work under FreeBSD. I am 1995-03-16 16:25:55 +00:00
mtree mtree * MD5 = better security 1995-02-10 03:12:42 +00:00
named Convert from using old root.cache to new named.root 1995-03-23 08:43:07 +00:00
ncrcontrol Reading NCR registers is not secure at all times, so prevent 1995-03-16 15:10:11 +00:00
nfsd Add support for kerberised NQNFS. 1995-01-30 18:56:06 +00:00
nologin This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
nslookup Correct the nslookup manpage that has some macros in it, that our man system 1994-11-19 13:16:52 +00:00
pcvt Adding the various documentation files that are accompanying 1995-03-05 22:50:24 +00:00
pkg_install Rename TMPDIR to PKG_TMPDIR, just to make Jeff happy.. :-) 1995-02-16 12:43:00 +00:00
pkg_manage pkg_manage utility, using file selector 1995-02-15 20:47:56 +00:00
portmap Fix conflicts from import 1994-09-29 09:36:16 +00:00
ppp Adding GETTING START and so on. 1995-03-12 12:03:48 +00:00
pppd This commit was manufactured by cvs2svn to create branch 1995-03-12 10:18:56 +00:00
pppstats Changed a PPSTATS 1 to PPPSTATS 8 . 1994-12-12 00:36:41 +00:00
pstat Submitted by: John Capo 1994-12-28 00:47:03 +00:00
pwd_mkdb Add what looks to be the right fix to this bogus code. 1995-03-24 16:07:09 +00:00
quot This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
quotaon This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
rarpd Make sure we free() the result returned to us by yp_match(). 1995-03-26 02:37:00 +00:00
repquota This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
rmt OK, we changed our mind again: -ln -s ... 1995-02-24 04:16:26 +00:00
routed This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
rtprio "idle priority" support. Based on code from Henrik Vestergaard Draboel, 1994-10-02 04:48:21 +00:00
rwhod This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
sa Local changes - manual page extension, and minor man page changes 1994-09-26 21:41:06 +00:00
sendmail Remove Matt Day patch (handled elsewhere in 8.6.11) 1995-03-10 05:12:47 +00:00
sgsc sgsc - utility to control the Genius GS-4500 scanner. 1995-01-07 14:17:22 +00:00
sliplogin This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
slstat Change a SLSTAT 1 to SLSTAT 8 . 1994-12-12 00:38:01 +00:00
spkrtest Change ${COPY} to -c, always needed here 1994-12-31 11:13:52 +00:00
swapinfo Don't follow a null pointer for the reporting error if kvm_openfiles() fails. 1994-11-14 07:54:06 +00:00
sysctl Implement maxprocperuid and maxfilesperproc. They are tunable 1995-02-20 19:42:42 +00:00
syslogd Updates from Peter da Silva to match the recent syslogd changes. 1995-01-04 00:40:38 +00:00
tcpdump Add -I.' to CFLAGS in order to fix the make depend' problem. 1995-03-09 12:15:17 +00:00
timed Apply an even number of ntohl's to icmp_otime. This fixes 1994-11-27 16:06:31 +00:00
traceroute This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
trpt Fix a little typo. Change the "race record" to a "trace record" :-). 1995-02-10 22:07:42 +00:00
trsp Get rid of _PATH_UNIX completely; use getbootfile(3) instead. 1994-09-24 00:08:43 +00:00
tzsetup Restore back -i for adjkerntz 1994-11-02 09:43:38 +00:00
update This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
vidcontrol remove option "-s saver" from usage() 1995-03-03 21:21:24 +00:00
vipw Fix suspended vipw hangs 1995-03-09 21:53:12 +00:00
vnconfig The changes to support the new flags in the vn driver. 1995-03-11 09:33:25 +00:00
watch same 1995-02-27 19:48:19 +00:00
XNSrouted This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
xntpd Enable DES if NOCRYPT is not set and and the user has the secure sources. 1995-03-23 19:13:04 +00:00
xten Make Makefile take a relative path for CFLAGS. 1995-01-17 15:07:13 +00:00
ypbind Submitted by: Sebastian Strollo <seb@erix.eriksson.se> 1995-02-26 04:42:48 +00:00
yppoll This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
ypset This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
zic This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
Makefile Added the kernbb program. No man-page yet :( 1995-03-10 08:53:55 +00:00
Makefile.inc This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00