Skip to content

Enable memory-advice syscalls in VM kernels - #48

Closed
longlho wants to merge 1 commit into
hermeticbuild:mainfrom
longlho:codex/enable-memory-advice
Closed

longlho wants to merge 1 commit into
hermeticbuild:mainfrom
longlho:codex/enable-memory-advice

Conversation

@longlho

@longlho longlho commented Sep 13, 2026

Copy link
Copy Markdown

Enable CONFIG_ADVISE_SYSCALLS in both guest kernels. With allnoconfig, its omission makes madvise(MADV_DONTNEED) return ENOSYS, causing Node/V8 to abort during initialization.

Validation: stock VM fails the syscall probe; patched amd64 VM passes the probe and Chromium screenshot action. Local bazel build //... and bazel test --build_tests_only //... pass (remote uploads disabled; local spawn strategy). macOS/ARM64 VM execution was not run.

@longlho longlho closed this Sep 13, 2026
@longlho
longlho deleted the codex/enable-memory-advice branch September 13, 2026 19:14
longlho added a commit to perplexityai/rules_web_e2e that referenced this pull request Sep 14, 2026
Run a declared Chromium screenshot action through actiond's VM/REAPI.
Reuses [actiond#48](hermeticbuild/actiond#48),
the required `CONFIG_ADVISE_SYSCALLS=y` patch for both guest kernels and
a minimal syscall regression probe.

Validation: stock VM fails with `madvise: ENOSYS`; [patched amd64 VM
passes](https://github.com/perplexityai/rules_web_e2e/actions/runs/34775967325)
and returns identical PNGs matching the local sandbox run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant