Module reexec

Module reexec 

Source
Expand description

Re-execute the current process

Constants§

ORIG
Environment variable holding a reference to our original binary

Functions§

executable_path
Return the path to our own executable. In some cases (SELinux) we may have performed a re-exec with a temporary copy of the binary and this environment variable will hold the path to the original binary.
reexec_with_guardenv
Re-execute the current process if the provided environment variable is not set.