Bug 1839852 - Allow access to LD_LIBRARY_PATH from Utility process r=gcp, a=dmeehan

Differential Revision: https://phabricator.services.mozilla.com/D181767
This commit is contained in:
Alexandre Lissy 2023-06-23 10:26:23 +00:00
parent 61700466fd
commit f83a14f84b

View File

@ -980,6 +980,7 @@ SandboxBrokerPolicyFactory::GetUtilityProcessPolicy(int aPid) {
policy->AddDir(access, "/");
AddLdconfigPaths(policy.get());
AddLdLibraryEnvPaths(policy.get());
// Utility process sandbox needs to allow shmem in order to support
// profiling. See Bug 1626385.