minijail: Restore original value of LD_PRELOAD after fork.

This CL restores the original value of LD_PRELOAD in the process that
calls minijain_run. This prevents any subsequent process, which is not
created by minijail_run, from preloading libminijalpreload.so.

BUG=chromium-os:19732
TEST=Examined the environment of calling process after minijain_run returns.

Change-Id: I578e4c46c72eb549fa59353ab1a25f0160077a03
Reviewed-on: http://gerrit.chromium.org/gerrit/6788
Reviewed-by: Elly Jones <[email protected]>
Tested-by: Ben Chan <[email protected]>
diff --git a/libminijail-private.h b/libminijail-private.h
index a304485..9912af1 100644
--- a/libminijail-private.h
+++ b/libminijail-private.h
@@ -11,5 +11,6 @@
 #define LIBMINIJAIL_PRIVATE_H
 
 static const char *kCommandEnvVar = "__MINIJAIL_PRELOAD";
+static const char *kLdPreloadEnvVar = "LD_PRELOAD";
 
 #endif /* !LIBMINIJAIL_PRIVATE_H */