freebsd-nq/usr.sbin
Ian Dowse f93caef239 When exporting a directory that is not a mountpoint, mountd repeatedly
removes the last path component until the mount() succeeds. However,
the code never checks if it has passed the mountpoint, so in some
cases where the mount() never succeeds, it can end up applying the
flags from a mounted filesystem to the underlying one.

Add a sanity check to the code which removes the last path component:
test that the fsid associated with the new path is the same as that
of the old one.

PR:		bin/7872
2001-04-22 21:50:30 +00:00
..
ac - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
accton - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
acpi Remove NOSHARED. 2001-04-01 07:00:35 +00:00
adduser By popular demand, have adduser preserve comments at the top of the 2001-04-17 09:42:07 +00:00
amd give the "netgrent" functions a home in netdb.h 2001-03-27 09:49:03 +00:00
ancontrol MFC candidate 2001-03-30 16:32:52 +00:00
apm - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
apmd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
arp Add the VLAN interface type to the list of ARP-capable interface types. 2001-04-04 15:14:06 +00:00
atm - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
boot0cfg - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
boot98cfg - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
bootparamd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
btxld - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
burncd mkisofs is in section 8, not section 1. 2001-04-21 21:14:52 +00:00
cdcontrol Don't complain about deprecated environment variables, like MUSIC_CD, 2001-04-08 21:35:17 +00:00
chkgrp - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
chown - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
chroot - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ckdist - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
config - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
cron Remove the 'DO NOT EDIT THIS FILE' crud that we spit out with 'crontab -l'. 2001-04-13 01:45:22 +00:00
crunch Document ``special <progname> ident <identifier>'' command. 2001-04-04 08:28:00 +00:00
ctm - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
dev_mkdb - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
devinfo Simple tool to print the device tree and resource usage by devices. Also 2001-04-21 00:13:25 +00:00
diskpart - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
dpt - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
edquota - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
elf2exe - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
extattrctl Fix LDADD and add missing DPADD. 2001-03-27 16:45:16 +00:00
faithd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
fdcontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
fdformat - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
fdwrite - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
getextattr Fix LDADD and add missing DPADD. 2001-03-27 16:45:16 +00:00
gifconfig - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
i4b mdoc(7) police: Prepare for mdocNG. 2001-04-16 15:18:16 +00:00
ifmcstat - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
inetd Allow ident requests with trailing junk following the terminating "\n". 2001-03-28 13:41:19 +00:00
iostat - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ipftest - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ipresend - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ipsend - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
iptest - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
IPXrouted - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
jail Change NO_MAKEDEV to a finer granularity method: 2001-03-29 14:03:29 +00:00
kbdcontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
kbdmap beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
kernbb - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
keyadmin - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
keyserv - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
kgmon - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
kgzip - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
lastlogin - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
lpr mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section. 2001-04-13 19:59:47 +00:00
lptcontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mailstats - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mailwrapper - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
makemap - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
manctl beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
memcontrol mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
mergemaster mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
mixer Change the behaviour of mixer slightly such that not explicitly specifying 2001-04-09 11:10:34 +00:00
mld6query - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mlxcontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mount_nwfs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mount_portalfs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mountd When exporting a directory that is not a mountpoint, mountd repeatedly 2001-04-22 21:50:30 +00:00
moused - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mptable - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mrouted Remove spurious extra format string argument. 2001-04-17 07:32:37 +00:00
mtest - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mtree - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
named - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
named.reload beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
named.restart mdoc(7) police: Fixed markup in rev.1.5. 2001-04-13 09:17:56 +00:00
ndc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ndp - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
newsyslog Fix a grammar bogon. 2001-04-02 06:21:13 +00:00
nfsd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
ngctl - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
nghook - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
nologin beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
nslookup - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
nsupdate Link against libbind (library and headers) 1999-11-30 06:16:46 +00:00
ntp - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pccard Backout revision 1.6 (removed the NOSHARED bit.) 2001-04-02 08:47:25 +00:00
pciconf - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pcvt mdoc(7) police: misc. markup fixes in the DIAGNOSTICS section. 2001-04-13 20:43:59 +00:00
periodic mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
pim6dd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pim6sd '%' is not a valid format string :-) 2001-04-17 07:35:41 +00:00
pkg_install Fix a problem with tests of the form "1.0" vs. "1.0a". 2001-04-19 22:17:07 +00:00
pnpinfo - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ppp kldload ng_pppoe as necessary 2001-04-10 08:31:13 +00:00
pppctl mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
pppd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pppstats - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
praliases - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
prefix - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
procctl - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pstat mdoc(7) police: you don't need to use enclose macros for blocks of text. 2001-04-04 11:25:07 +00:00
pw - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pwd_mkdb - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
quot - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
quotaon - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rarpd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
raycontrol mdoc(7) police: removed hard sentence breaks. 2001-04-04 11:27:36 +00:00
repquota - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rip6query - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rmt - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
route6d - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rpc.lockd Remove section from bugs that says we don't support client locks. 2001-04-19 12:29:43 +00:00
rpc.statd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rpc.umntall - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rpc.yppasswdd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rpc.ypupdated Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
rpc.ypxfrd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rpcbind - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rrenumd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rtadvd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rtprio - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rtsold - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rwhod - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sa - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sade Our exports(5) syntax is rather "host-centric", while people comming from 2001-04-22 18:59:03 +00:00
sendmail - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
setextattr Fix LDADD and add missing DPADD. 2001-03-27 16:45:16 +00:00
setkey mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
sgsc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sicontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sliplogin - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
slstat - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
spkrtest beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
spray - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
stallion - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sysinstall Our exports(5) syntax is rather "host-centric", while people comming from 2001-04-22 18:59:03 +00:00
syslogd mdoc(7) police: removed hard sentence break. 2001-04-04 11:33:01 +00:00
tcpdchk - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
tcpdmatch - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
tcpdump Style changes. Not purfect, but closer to other Makefiles in the tree. 2001-04-20 17:30:12 +00:00
timed mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section. 2001-04-13 19:59:47 +00:00
traceroute - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
traceroute6 - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
trpt mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section. 2001-04-13 19:59:47 +00:00
tzsetup Remove -Wall. It breaks compiling with non-gcc compilers. 2001-04-05 20:52:33 +00:00
usbd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
usbdevs - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
vidcontrol Proper upper limit for mousechar start is UCHAR_MAX - 3, not UCHAR_MAX 2001-04-21 13:50:32 +00:00
vipw Don't pass NULL to the %s format. 2001-04-22 03:00:09 +00:00
vnconfig Kill vn related manual pages, they're not used any more. 2001-03-29 11:36:46 +00:00
watch - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
wicontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
wlconfig - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
xten - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
yp_mkdb - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ypbind Finally fix __yp_ping(). We can't use the old locally defined clntudp_call() 2001-03-27 21:29:31 +00:00
yppoll - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
yppush - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ypserv - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ypset - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
zic - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
Makefile Turn on devinfo(8) 2001-04-21 00:13:57 +00:00
Makefile.inc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00