[crac] Integrated: Environment vars propagation into restored process
Roman Marchenko
duke at openjdk.org
Mon Oct 24 12:07:24 UTC 2022
On Thu, 29 Sep 2022 15:38:52 GMT, Roman Marchenko <duke at openjdk.org> wrote:
> This PR provides functionality to propagate actual environment variables to a restored process, as well as the test for this functionality.
>
> Env propagation is done in few steps:
> - Store the actual environment before restoring
> - After restoring, replace the restored `environ` with a new one.
> - On `afterRestore` event, propagate the new environment into a restored process via `ProcessEnvironment`.
This pull request has now been integrated.
Changeset: 217d5bc6
Author: Roman Marchenko <rmarchenko at azul.com>
Committer: Anton Kozlov <akozlov at openjdk.org>
URL: https://git.openjdk.org/crac/commit/217d5bc6b3eb97239cdf699a9ca85372465699a2
Stats: 175 lines in 4 files changed: 171 ins; 0 del; 4 mod
Environment vars propagation into restored process
Reviewed-by: akozlov
-------------
PR: https://git.openjdk.org/crac/pull/30
More information about the crac-dev
mailing list