mirror of
https://github.com/apple/container.git
synced 2026-10-14 10:09:10 +00:00
This change fixes an issue in linux pod where the exec process does not inherit the container process config which means any environment variables, working directory, user, rlimits, capabilities would be different for the exec process. This change ensures that exec process would inherit environment variables, working directory, user, rlimits, and capabilities from the container process config but resets arguments, terminal, and stdio as those should not be inherited. This change also adds an integration test to exercise this.