sandbox-darwin.c: sandbox.h is deprecated
Sevan Janiyan
venture37+openssh at geeklan.co.uk
Sun Aug 16 09:29:49 AEST 2026
On 15/08/2026 09:44, Darren Tucker wrote:
> This at least fixes the build problem by requiring kSBXProfilePureComputation
> before enabling that sandbox at build time. It seems to work on my old
> mac mini to enable the sandbox, but I don't have anything new enough to
> test the disabled case. If someone can confirm it works (you'll need
> to run "autoreconf" before re-running configure) then I'll apply it.
Applied it to the latest git sources.
During configure I saw
checking for sandbox_init... yes
checking for sandbox.h... yes
checking for sandbox_apply in -lsandbox... yes
checking whether kSBXProfilePureComputation is declared... no
It built without me having to turn off sandboxing explicitly when I ran
configure on macOS 27 beta.
Sevan
More information about the openssh-unix-dev
mailing list