add note about genwrapper code running before wrapper sanitizes environment
(That is needed for the receive test code.)master
parent
28cdf2c341
commit
824ad84e2b
|
@ -595,7 +595,10 @@ describes the plugin as a whole. For example:
|
||||||
hook(type => "genwrapper", id => "foo", call => \&genwrapper);
|
hook(type => "genwrapper", id => "foo", call => \&genwrapper);
|
||||||
|
|
||||||
This hook is used to inject C code (which it returns) into the `main`
|
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
|
## Exported variables
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue