You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b4a3f76
Browse filesBrowse the repository at this point in the historyBrowse files
scratch arena: PF_SCRATCH_ARENA_JAILED=1 requires a sealed memfd arena, refused with the typed arena_backing failure before any store opens (CR-267)
attach_from_environment now reads PF_SCRATCH_ARENA_JAILED: exactly "1" means jailed, unset or exactly "0" keeps today's behaviour, any other value is refused as a malformed profile. A jailed attach whose inherited fd 5 is not a sealed memfd (GROW|SHRINK|SEAL, the mask validate_backing already requires of a sealed memfd) is refused with ReportScratchIoError, reason arena_backing, EINVAL ("scratch arena seals (jailed)"), before the windows, the free bitmap or SIGXFSZ are set up; an existing attachment is re-checked on its retained backend, so a jailed re-attach cannot succeed on a non-sealed arena. Direct attach(fd, bytes) and the unjailed regular_file path are unchanged. Docs: one added paragraph in docs/pages/scratch-tables.md and header comments in scratch_arena.hpp; no sentence is replaced.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit c6eba11)
0 commit comments