diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-04-07 14:21:14 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-04-07 14:21:14 +0000 |
commit | 564b641ef9395320b1929d53ac0dcc5eeaa7ab48 (patch) | |
tree | 69bc6a38582e2a71f8f0c118d219c616d1714651 /sbin | |
parent | b5855cd1336a85b43d6f1f7369e4b03ece32b9a7 (diff) | |
download | src-564b641ef9395320b1929d53ac0dcc5eeaa7ab48.tar.gz src-564b641ef9395320b1929d53ac0dcc5eeaa7ab48.zip |
Clarify the behavior of PATH_FSTAB with regard to 'tainted' execution.
Requested by: ru
Notes
Notes:
svn path=/head/; revision=113224
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/mount/mount.8 | 7 | ||||
-rw-r--r-- | sbin/umount/umount.8 | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8 index 741904bdd4a4..d59154c8608b 100644 --- a/sbin/mount/mount.8 +++ b/sbin/mount/mount.8 @@ -417,6 +417,13 @@ support for a particular file system might be provided either on a static If the environment variable .Pa PATH_FSTAB is set all operations are performed against the specified file. +.Pa PATH_FSTAB +will not be honored if the process environment or memory address space is +considred +.Dq tainted . +(See +.Fn issetugid +for more information.) .El .Sh FILES .Bl -tag -width /etc/fstab -compact diff --git a/sbin/umount/umount.8 b/sbin/umount/umount.8 index bdaa34b5638d..007ce15c0bf6 100644 --- a/sbin/umount/umount.8 +++ b/sbin/umount/umount.8 @@ -126,6 +126,13 @@ is unmounted. If the environment variable .Pa PATH_FSTAB is set all operations are performed against the specified file. +.Pa PATH_FSTAB +will not be honored if the process environment or memory address space is +considred +.Dq tainted . +(See +.Fn issetugid +for more information.) .El .Sh FILES .Bl -tag -width /etc/fstab -compact |