aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-content_gpu_gpu__sandbox__hook__linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-content_gpu_gpu__sandbox__hook__linux.cc')
-rw-r--r--www/ungoogled-chromium/files/patch-content_gpu_gpu__sandbox__hook__linux.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/ungoogled-chromium/files/patch-content_gpu_gpu__sandbox__hook__linux.cc b/www/ungoogled-chromium/files/patch-content_gpu_gpu__sandbox__hook__linux.cc
index 4127d786026e..f53b9d8c2154 100644
--- a/www/ungoogled-chromium/files/patch-content_gpu_gpu__sandbox__hook__linux.cc
+++ b/www/ungoogled-chromium/files/patch-content_gpu_gpu__sandbox__hook__linux.cc
@@ -1,4 +1,4 @@
---- content/gpu/gpu_sandbox_hook_linux.cc.orig 2023-03-10 11:01:21 UTC
+--- content/gpu/gpu_sandbox_hook_linux.cc.orig 2023-04-08 11:38:38 UTC
+++ content/gpu/gpu_sandbox_hook_linux.cc
@@ -126,6 +126,7 @@ void AddStandardChromeOsPermissions(
}
@@ -8,7 +8,7 @@
void AddV4L2GpuPermissions(
std::vector<BrokerFilePermission>* permissions,
const sandbox::policy::SandboxSeccompBPF::Options& options) {
-@@ -481,8 +482,10 @@ std::vector<BrokerFilePermission> FilePermissionsForGp
+@@ -484,8 +485,10 @@ std::vector<BrokerFilePermission> FilePermissionsForGp
AddStandardGpuPermissions(&permissions);
return permissions;
}
@@ -19,7 +19,7 @@
// Preload the Mali library.
if (UseChromecastSandboxAllowlist()) {
for (const char* path : kAllowedChromecastPaths) {
-@@ -527,6 +530,7 @@ void LoadArmGpuLibraries() {
+@@ -530,6 +533,7 @@ void LoadArmGpuLibraries() {
dlopen(driver_paths[i], dlopen_flag);
}
}
@@ -27,7 +27,7 @@
}
bool LoadAmdGpuLibraries() {
-@@ -594,12 +598,14 @@ void LoadV4L2Libraries(
+@@ -597,12 +601,14 @@ void LoadV4L2Libraries(
}
void LoadChromecastV4L2Libraries() {
@@ -42,7 +42,7 @@
}
bool LoadLibrariesForGpu(
-@@ -626,6 +632,7 @@ bool LoadLibrariesForGpu(
+@@ -629,6 +635,7 @@ bool LoadLibrariesForGpu(
return true;
}
@@ -50,7 +50,7 @@
sandbox::syscall_broker::BrokerCommandSet CommandSetForGPU(
const sandbox::policy::SandboxLinux::Options& options) {
sandbox::syscall_broker::BrokerCommandSet command_set;
-@@ -649,13 +656,17 @@ bool BrokerProcessPreSandboxHook(
+@@ -652,13 +659,17 @@ bool BrokerProcessPreSandboxHook(
SetProcessTitleFromCommandLine(nullptr);
return true;
}