Tagged: #sandbox
From double-click to first window: LaunchServices, launchd, posix_spawn, AMFI, dyld, the shared cache, sandbox profile installation, the runloop. Six subsystems in three seconds.
How macOS sandbox profiles work: SBPL syntax with real examples, how libsandbox compiles them, and how the kernel evaluates them on every syscall.
Six interlocking layers — code signing, AMFI, entitlements, sandbox profiles, SIP, TCC, and the SEP — that together decide what code is allowed to do on a Mac.