diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-10-05 09:19:31 +0100 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-10-05 09:19:31 +0100 |
| commit | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (patch) | |
| tree | ad799ccacfb459b809b02b9c115ed4befb93b4c1 /devel/electron38/files/patch-sandbox_policy_switches.cc | |
| parent | 0b1510fe1f98f82da6f3481cb6c58957022d9211 (diff) | |
| parent | b057c68280a2f2a7b3d1fbac36f7b034e1fdf593 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/main
Diffstat (limited to 'devel/electron38/files/patch-sandbox_policy_switches.cc')
| -rw-r--r-- | devel/electron38/files/patch-sandbox_policy_switches.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-sandbox_policy_switches.cc b/devel/electron38/files/patch-sandbox_policy_switches.cc new file mode 100644 index 000000000000..790585e26fe6 --- /dev/null +++ b/devel/electron38/files/patch-sandbox_policy_switches.cc @@ -0,0 +1,13 @@ +--- sandbox/policy/switches.cc.orig 2025-08-26 20:49:50 UTC ++++ sandbox/policy/switches.cc +@@ -40,7 +40,9 @@ const char kNoSandbox[] = "no-sandbox"; + // Meant to be used as a browser-level switch for testing purposes only. + const char kNoSandbox[] = "no-sandbox"; + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++const char kDisableUnveil[] = "disable-unveil"; ++ ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // Instructs the zygote to launch without a sandbox. Processes forked from this + // type of zygote will apply their own custom sandboxes later. + const char kNoZygoteSandbox[] = "no-zygote-sandbox"; |
