|author||Mark Hatle <email@example.com>||2011-10-26 18:49:00 -0500|
|committer||Peter Seebach <firstname.lastname@example.org>||2011-11-02 13:31:43 -0500|
Rework the clone wrapper to add an intermediate function to resolve a defect.
Previously the clone(2) wrapper unconditionallity restored the system environment. It also invokes the checks to see if the user has requested pseudo to be disabled or unloaded. Due to the semantics of clone, this caused both the parent and child processes to be disabled or unloaded. The new code adds an intermediate function, wrap_clone_child, that only runs within the child context. This way we can be sure to only disable/unload pseudo from within the child process. In addition, we avoid mucking with the environment if CLONE_VM is set, since this will affect both parent and child. Signed-off-by: Mark Hatle <email@example.com>
Diffstat (limited to 'pseudo.1')
1 files changed, 0 insertions, 7 deletions
@@ -576,13 +576,6 @@ than it is otherwise. This is probably because nearly every operation
communication with the server, and probably some kind of database
-wrapper unconditionallity restores the system environment. It also invokes
-the checks to see if the user has requested pseudo to be disabled or unloaded.
-Due to the semantics of clone, this causes both the parent and child processes
-to be disabled or unloaded.
.SH SEE ALSO
fakeroot(1), ld.so(8), pseudolog(1), sqlite3(1)
.SH FURTHER READING