Services: Deny GPU operations in WebContent

WebContent no longer creates a GPU-backed Skia context, so its Linux
sandbox does not need the broad GPU device syscall allowance. Remove
allow_gpu_device_operations() from the renderer policy while keeping the
narrower file descriptor ioctl allowances used by IPC transport setup.
This commit is contained in:
Aliaksandr Kalenik 2026-06-18 09:15:23 +02:00 committed by Jelle Raaijmakers
parent 724ca7cc24
commit f6f68ece44

View file

@ -57,7 +57,6 @@ ErrorOr<void> apply_sandbox(Optional<StringView> config_path)
policy.allow_file_descriptor_operations(); policy.allow_file_descriptor_operations();
policy.allow_process_creation(); policy.allow_process_creation();
policy.allow_ipc(); policy.allow_ipc();
policy.allow_gpu_device_operations();
policy.allow_common_runtime(); policy.allow_common_runtime();
policy.allow_executable_memory_mappings(); policy.allow_executable_memory_mappings();
TRY(policy.install()); TRY(policy.install());