flatpak-run.c (flatpak-1.15.0.tar.xz) | : | flatpak-run.c (flatpak-1.15.1.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 1883 | skipping to change at line 1883 | |||
static const ExportData default_exports[] = { | static const ExportData default_exports[] = { | |||
{"PATH", "/app/bin:/usr/bin"}, | {"PATH", "/app/bin:/usr/bin"}, | |||
/* We always want to unset LD_LIBRARY_PATH to avoid inheriting weird | /* We always want to unset LD_LIBRARY_PATH to avoid inheriting weird | |||
* dependencies from the host. But if not using ld.so.cache this is | * dependencies from the host. But if not using ld.so.cache this is | |||
* later set. */ | * later set. */ | |||
{"LD_LIBRARY_PATH", NULL}, | {"LD_LIBRARY_PATH", NULL}, | |||
{"XDG_CONFIG_DIRS", "/app/etc/xdg:/etc/xdg"}, | {"XDG_CONFIG_DIRS", "/app/etc/xdg:/etc/xdg"}, | |||
{"XDG_DATA_DIRS", "/app/share:/usr/share"}, | {"XDG_DATA_DIRS", "/app/share:/usr/share"}, | |||
{"SHELL", "/bin/sh"}, | {"SHELL", "/bin/sh"}, | |||
{"TMPDIR", NULL}, /* Unset TMPDIR as it may not exist in the sandbox */ | /* Unset temporary file paths as they may not exist in the sandbox */ | |||
{"TEMP", NULL}, | ||||
{"TEMPDIR", NULL}, | ||||
{"TMP", NULL}, | ||||
{"TMPDIR", NULL}, | ||||
/* We always use /run/user/UID, even if the user's XDG_RUNTIME_DIR | /* We always use /run/user/UID, even if the user's XDG_RUNTIME_DIR | |||
* outside the sandbox is somewhere else. Don't allow a different | * outside the sandbox is somewhere else. Don't allow a different | |||
* setting from outside the sandbox to overwrite this. */ | * setting from outside the sandbox to overwrite this. */ | |||
{"XDG_RUNTIME_DIR", NULL}, | {"XDG_RUNTIME_DIR", NULL}, | |||
/* Some env vars are common enough and will affect the sandbox badly | /* Some env vars are common enough and will affect the sandbox badly | |||
if set on the host. We clear these always. If updating this list, | if set on the host. We clear these always. If updating this list, | |||
also update the list in flatpak-run.xml. */ | also update the list in flatpak-run.xml. */ | |||
{"PYTHONPATH", NULL}, | {"PYTHONPATH", NULL}, | |||
{"PERLLIB", NULL}, | {"PERLLIB", NULL}, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added |