sandbox-darwin.c: sandbox.h is deprecated

Marius Schamschula <[email protected]> Tue, 9 Jun 2026 08:48:10 -0500
Newsgroups gmane.network.openssh.devel
Message-ID <[email protected]>
Hi there,

Thank you for all the efforts on openssh portable over the years!

sandbox-darwin.c: has had a good long run.

Unfortunately, Apple has deprecated sandbox.h in favor of a newer App Sandbox API, see

https://developer.apple.com/documentation/security/app-sandbox#//apple_ref/doc/uid/TP40011183

Building openssh 10.3p1 now fails using Xcode 27-Beta.

Note: Apple seems to have worked around this issue internally, as they are shipping openssh 10.3p1, LibreSSL 3.3.6 with the new Beta.

Marius
--
Marius Schamschula