2019-11-01 15:19:48 +01:00
|
|
|
diff --git content/browser/child_process_launcher_helper_linux.cc content/browser/child_process_launcher_helper_linux.cc
|
2024-04-23 22:06:00 +02:00
|
|
|
index 8f4f33fd83ef6..be3c8f5ff50c1 100644
|
2019-11-01 15:19:48 +01:00
|
|
|
--- content/browser/child_process_launcher_helper_linux.cc
|
|
|
|
+++ content/browser/child_process_launcher_helper_linux.cc
|
2024-04-23 22:06:00 +02:00
|
|
|
@@ -191,7 +191,7 @@ ZygoteCommunication* ChildProcessLauncherHelper::GetZygoteForLaunch() {
|
2019-11-01 15:19:48 +01:00
|
|
|
base::File OpenFileToShare(const base::FilePath& path,
|
|
|
|
base::MemoryMappedFile::Region* region) {
|
|
|
|
base::FilePath exe_dir;
|
|
|
|
- bool result = base::PathService::Get(base::BasePathKey::DIR_EXE, &exe_dir);
|
|
|
|
+ bool result = base::PathService::Get(base::BasePathKey::DIR_ASSETS, &exe_dir);
|
|
|
|
DCHECK(result);
|
|
|
|
base::File file(exe_dir.Append(path),
|
|
|
|
base::File::FLAG_OPEN | base::File::FLAG_READ);
|
2019-03-20 17:48:05 +01:00
|
|
|
diff --git sandbox/linux/suid/client/setuid_sandbox_host.cc sandbox/linux/suid/client/setuid_sandbox_host.cc
|
2023-01-03 00:34:43 +01:00
|
|
|
index 84fd365da0283..88f3adf813eca 100644
|
2019-03-20 17:48:05 +01:00
|
|
|
--- sandbox/linux/suid/client/setuid_sandbox_host.cc
|
|
|
|
+++ sandbox/linux/suid/client/setuid_sandbox_host.cc
|
2023-01-03 00:34:43 +01:00
|
|
|
@@ -120,7 +120,7 @@ bool SetuidSandboxHost::IsDisabledViaEnvironment() {
|
2019-03-20 17:48:05 +01:00
|
|
|
base::FilePath SetuidSandboxHost::GetSandboxBinaryPath() {
|
|
|
|
base::FilePath sandbox_binary;
|
|
|
|
base::FilePath exe_dir;
|
|
|
|
- if (base::PathService::Get(base::DIR_EXE, &exe_dir)) {
|
|
|
|
+ if (base::PathService::Get(base::DIR_ASSETS, &exe_dir)) {
|
|
|
|
base::FilePath sandbox_candidate = exe_dir.AppendASCII("chrome-sandbox");
|
|
|
|
if (base::PathExists(sandbox_candidate))
|
|
|
|
sandbox_binary = sandbox_candidate;
|
2021-11-08 20:29:31 +01:00
|
|
|
diff --git ui/ozone/common/egl_util.cc ui/ozone/common/egl_util.cc
|
2022-09-26 21:30:45 +02:00
|
|
|
index 021bcad8c3084..a37406d408718 100644
|
2021-11-08 20:29:31 +01:00
|
|
|
--- ui/ozone/common/egl_util.cc
|
|
|
|
+++ ui/ozone/common/egl_util.cc
|
2022-06-17 15:28:55 +02:00
|
|
|
@@ -127,7 +127,7 @@ bool LoadDefaultEGLGLES2Bindings(
|
2022-04-21 20:58:48 +02:00
|
|
|
if (implementation.gl == gl::kGLImplementationEGLANGLE) {
|
2021-11-08 20:29:31 +01:00
|
|
|
base::FilePath module_path;
|
2022-01-25 21:26:51 +01:00
|
|
|
#if !BUILDFLAG(IS_FUCHSIA)
|
2021-11-08 20:29:31 +01:00
|
|
|
- if (!base::PathService::Get(base::DIR_MODULE, &module_path))
|
|
|
|
+ if (!base::PathService::Get(base::DIR_ASSETS, &module_path))
|
|
|
|
return false;
|
|
|
|
#endif
|
|
|
|
|