mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
On the port side, this update brings: - libvulkan enabled by default - more unit tests enabled - no longer dependent on Python 2.7 Security: https://vuxml.freebsd.org/freebsd/e0914087-9a09-11ec-9e61-3065ec8fd3ec.html
22 lines
715 B
C++
22 lines
715 B
C++
--- sandbox/policy/sandbox.h.orig 2022-02-28 16:54:41 UTC
|
|
+++ sandbox/policy/sandbox.h
|
|
@@ -12,6 +12,10 @@
|
|
#include "sandbox/policy/linux/sandbox_linux.h"
|
|
#endif
|
|
|
|
+#if BUILDFLAG(IS_BSD)
|
|
+#include "sandbox/policy/openbsd/sandbox_openbsd.h"
|
|
+#endif
|
|
+
|
|
namespace sandbox {
|
|
namespace mojom {
|
|
enum class Sandbox;
|
|
@@ -32,7 +36,7 @@ namespace policy {
|
|
|
|
class SANDBOX_POLICY_EXPORT Sandbox {
|
|
public:
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
static bool Initialize(sandbox::mojom::Sandbox sandbox_type,
|
|
SandboxLinux::PreSandboxHook hook,
|
|
const SandboxLinux::Options& options);
|