summaryrefslogtreecommitdiff
path: root/devel/electron36/files/patch-sandbox_features.gni
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron36/files/patch-sandbox_features.gni')
-rw-r--r--devel/electron36/files/patch-sandbox_features.gni11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron36/files/patch-sandbox_features.gni b/devel/electron36/files/patch-sandbox_features.gni
new file mode 100644
index 000000000000..9f5a00868f96
--- /dev/null
+++ b/devel/electron36/files/patch-sandbox_features.gni
@@ -0,0 +1,11 @@
+--- sandbox/features.gni.orig 2022-02-07 13:39:41 UTC
++++ sandbox/features.gni
+@@ -6,7 +6,7 @@
+ # currently.
+ # Do not disable seccomp_bpf anywhere without talking to
+ # security@chromium.org!
+-use_seccomp_bpf = (is_linux || is_chromeos || is_android) &&
++use_seccomp_bpf = !is_bsd && (is_linux || is_chromeos || is_android) &&
+ (current_cpu == "x86" || current_cpu == "x64" ||
+ current_cpu == "arm" || current_cpu == "arm64" ||
+ current_cpu == "mipsel" || current_cpu == "mips64el")