Re: sandbox-darwin.c: sandbox.h is deprecated

Sevan Janiyan <[email protected]>
Newsgroups gmane.network.openssh.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.