Files
reims-vgpu/guest/bundle/tests
Anees Iqbal e023e877b3 ✅ Ban the file calls the test's sandbox cannot kill at
The files test runs the bundle's file calls under a sandbox that asks the
kernel to kill the process at each of the 97 file system calls some
WebContent list leaves out. Its utimes control ran to its end. Each of the 97
calls, made under that sandbox on macOS 27.0.1 (arm64, and x86_64 under
Rosetta), shows the kernel kills at 67 of them. It lets through the 30 that
write: links, owners, flags, times, positioned writes, extended attributes,
fsctl, ACL modes and snapshots. So the sandbox proves nothing about those 30.

bundle_files_check.sh now bans the bundle's imports of the library calls
that make those 30. The test's controls are the calls the kernel does kill:
setattrlist and open_dprotected_np. The test's, RgfxFiles.hpp's and the
lesson's text say what the sandbox covers, and the lesson adds how to spot
a sandbox that lets a call through.
2026-11-22 22:39:31 -08:00
..