diff options
Diffstat (limited to 'devel/electron19/files/patch-services_network_network__sandbox__hook__linux.cc')
-rw-r--r-- | devel/electron19/files/patch-services_network_network__sandbox__hook__linux.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/devel/electron19/files/patch-services_network_network__sandbox__hook__linux.cc b/devel/electron19/files/patch-services_network_network__sandbox__hook__linux.cc deleted file mode 100644 index c698244ac39c..000000000000 --- a/devel/electron19/files/patch-services_network_network__sandbox__hook__linux.cc +++ /dev/null @@ -1,26 +0,0 @@ ---- services/network/network_sandbox_hook_linux.cc.orig 2022-05-19 03:45:39 UTC -+++ services/network/network_sandbox_hook_linux.cc -@@ -26,12 +26,15 @@ sandbox::syscall_broker::BrokerCommandSet GetNetworkBr - }); - } - -+#if !defined(OS_BSD) - std::vector<BrokerFilePermission> GetNetworkFilePermissions() { - // TODO(tsepez): remove universal permission under filesystem root. - return {BrokerFilePermission::ReadWriteCreateRecursive("/")}; - } -+#endif - - bool NetworkPreSandboxHook(sandbox::policy::SandboxLinux::Options options) { -+#if !defined(OS_BSD) - auto* instance = sandbox::policy::SandboxLinux::GetInstance(); - - instance->StartBrokerProcess( -@@ -39,6 +42,7 @@ bool NetworkPreSandboxHook(sandbox::policy::SandboxLin - sandbox::policy::SandboxLinux::PreSandboxHook(), options); - - instance->EngageNamespaceSandboxIfPossible(); -+#endif - return true; - } - |