Files
flatpak/tests
Simon McVittie a271971582 tests: Assert that --env= does not go in flatpak run or bwrap environ
For the portal's use of --env-fd= to be safe, we want the environment
variables that it sets to end up in the environment for the program
that is run by `bwrap` as process 2, but they must not go into the
environment that gets used to run `flatpak run` or `bwrap`. Assert
that this is the case.

For completeness, we're testing both --env= and --env-fd= here,
even though the earlier commit
"portal: Do not use caller-supplied variables in environment"
always uses --env-fd=.

Part-of: https://github.com/flatpak/flatpak/security/advisories/GHSA-4ppf-fxf6-vxg2
Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-01-14 09:33:23 +01:00
..
2016-02-25 15:27:37 +01:00
2019-01-15 16:02:34 +01:00
2019-01-15 16:02:34 +01:00
2016-02-25 19:03:09 +01:00
2019-01-11 19:19:54 -05:00
2018-10-15 06:51:58 +00:00
2019-01-14 11:10:17 +00:00
2018-10-03 13:19:35 +00:00
2019-01-11 13:31:10 +00:00