summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-07 14:21:14 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-07 14:21:14 +0000
commit0dc33fa1034609689d0515827253347bc5e1a1a1 (patch)
tree69bc6a38582e2a71f8f0c118d219c616d1714651 /lib/libc/gen
parenta014051b02c44268ed2e6b66c49d11b06c222557 (diff)
downloadFreeBSD-src-0dc33fa1034609689d0515827253347bc5e1a1a1.zip
FreeBSD-src-0dc33fa1034609689d0515827253347bc5e1a1a1.tar.gz
Clarify the behavior of PATH_FSTAB with regard to 'tainted' execution.
Requested by: ru
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/getfsent.37
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/gen/getfsent.3 b/lib/libc/gen/getfsent.3
index bbf2151..b06e567 100644
--- a/lib/libc/gen/getfsent.3
+++ b/lib/libc/gen/getfsent.3
@@ -150,6 +150,13 @@ returns nothing.
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
OpenPOWER on IntegriCloud