aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-07-01 15:52:03 -0400
committerJoey Hess <joey@kitenet.net>2010-07-01 15:52:03 -0400
commit824ad84e2b490e3aa9107e3a3d244bd8e041d918 (patch)
tree6dd7ad3bc152eff48573ffc56d8f928308436b18
parent28cdf2c341fa633efbb3461acd2e1109f38b8da7 (diff)
downloadikiwiki-824ad84e2b490e3aa9107e3a3d244bd8e041d918.tar
ikiwiki-824ad84e2b490e3aa9107e3a3d244bd8e041d918.tar.gz
add note about genwrapper code running before wrapper sanitizes environment
(That is needed for the receive test code.)
-rw-r--r--doc/plugins/write.mdwn5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index a921b9a02..bb8012342 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -595,7 +595,10 @@ describes the plugin as a whole. For example:
hook(type => "genwrapper", id => "foo", call => \&genwrapper);
This hook is used to inject C code (which it returns) into the `main`
-function of the ikiwiki wrapper when it is being generated.
+function of the ikiwiki wrapper when it is being generated.
+
+The code runs before anything else -- in particular it runs before
+the suid wrapper has sanitized its environment.
## Exported variables