diff options
author | phantom <phantom@FreeBSD.org> | 1999-09-05 07:02:22 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 1999-09-05 07:02:22 +0000 |
commit | 3253dfed5ccda64837f89fbc23a08f8edeabcca4 (patch) | |
tree | f649447586b97b1ab73452bde69ee8e25bd8e93a /lib/libc/sys/issetugid.2 | |
parent | 189bace3d76b821a6901760635a4cb2174dd8d16 (diff) | |
download | FreeBSD-src-3253dfed5ccda64837f89fbc23a08f8edeabcca4.zip FreeBSD-src-3253dfed5ccda64837f89fbc23a08f8edeabcca4.tar.gz |
Some style and "look" fixes
Reviewed by: mpp
Diffstat (limited to 'lib/libc/sys/issetugid.2')
-rw-r--r-- | lib/libc/sys/issetugid.2 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/libc/sys/issetugid.2 b/lib/libc/sys/issetugid.2 index bc13108..91adf6c 100644 --- a/lib/libc/sys/issetugid.2 +++ b/lib/libc/sys/issetugid.2 @@ -47,7 +47,9 @@ The .Fn issetugid function returns 1 if the process environment or memory address space -is considered ``tainted'', and returns 0 otherwise. +is considered +.Dq tainted , +and returns 0 otherwise. .Pp A process is tainted if it was created as a result of an .Xr execve 2 @@ -61,13 +63,16 @@ that was obtained from the user, in particular the results from .Xr getenv 3 should be viewed with suspicion if it is used to control operation. .Pp -A ``tainted'' status is inherited by child processes as a result of the +A +.Dq tainted +status is inherited by child processes as a result of the .Xr fork 2 system call (or other library code that calls fork, such as .Xr popen 3 ) . .Pp It is assumed that a program that clears all privileges as it prepares -to execute another will also reset the environment, hence the ``tainted'' +to execute another will also reset the environment, hence the +.Dq tainted status will not be passed on. This is important for programs such as .Xr su 1 which begin setuid but need to be able to create an untainted process. |