Files
OBLITERATUS/tests/conditional
Joseph Magly daf073d3b7 fix(identity-security): block shared anonymous shmem and probe without os.memfd_create
A touched MAP_SHARED|MAP_ANONYMOUS or read-write /dev/zero mapping shrunk
to one page kept its whole shmem object outside RLIMIT_AS. The seccomp
filter now returns EPERM for mmap with MAP_SHARED or MAP_SHARED_VALIDATE
plus MAP_ANONYMOUS, and /dev/zero is masked with a read-only /dev/null
bind. userfaultfd and io_uring return ENOSYS, and the legacy x32 range
512-547 is killed on x86-64 alongside x32-tagged calls.

The isolation probe called os.memfd_create, which uv-managed CPython
lacks, so every execute refused with a misleading network-isolation
message. Make the probe's calls through libc.syscall, require each denial
explicitly, and report a crashed probe on its own. Docs describe RLIMIT_AS
as a bound on live mappings and list the known routes only.
2026-11-27 18:40:50 -05:00
..