]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r306048
authorasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 3 Oct 2016 15:17:22 +0000 (15:17 +0000)
committerasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 3 Oct 2016 15:17:22 +0000 (15:17 +0000)
commit816f4a7f8b09dde13410d871bd68e9ed603d88f3
tree46fbc16aa52b7b7bec56dc32b80dd021e3c0cd10
parent2b72263ae66aa9670f592340dfc5b2cc00739beb
MFC r306048

Fix periodic scripts when an NFS mount covers a local mount

100.chksetuid and 110.neggrpperm try to search through all UFS and ZFS
filesystems. But their logic contains an error. They also search through
remote filesystems that are mounted on top of the root of a local
filesystem. For example, if a user installs a FreeBSD system with the
default ZFS layout, he'll get a zroot/usr/home filesystem. If he then mounts
/usr/home over NFS, these scripts would search through /usr/home.

git-svn-id: svn://svn.freebsd.org/base/stable/10@306644 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
etc/periodic/security/100.chksetuid
etc/periodic/security/110.neggrpperm