From 4c2c91907cd6f01f174e0c0f0a8387eee5b5d145 Mon Sep 17 00:00:00 2001 From: zbarsky-openai Date: Tue, 25 Aug 2026 00:52:52 -0400 Subject: [PATCH] vm: expose child processes through procfs Subprocess supervisors fail inside actiond guests because the compact kernel omits the procfs child-process list: ```text RuntimeError: cannot inspect adopted subprocesses through /proc/thread-self/children SupervisedProcessCleanupError: subprocess supervisor did not confirm descendant cleanup ``` Linux exposes `/proc//task//children` only when `CONFIG_PROC_CHILDREN` is enabled. The option defaults to disabled with `allnoconfig`, even when procfs itself is available. Enable `CONFIG_PROC_CHILDREN` in both ARM64 and x86_64 guest kernels. The rebuilt ARM64 kernel exposes actual child PIDs, all three previously failing subprocess-supervisor cases pass inside the guest, and the full downstream suite completes with 898 passing tests and one existing skip. --- vm/linux.config | 1 + vm/linux_x86_64.config | 1 + 2 files changed, 2 insertions(+) diff --git a/vm/linux.config b/vm/linux.config index 69abcd9..7bfd320 100644 --- a/vm/linux.config +++ b/vm/linux.config @@ -50,6 +50,7 @@ CONFIG_PCI=y CONFIG_PCI_HOST_GENERIC=y CONFIG_PID_NS=y CONFIG_POSIX_TIMERS=y +CONFIG_PROC_CHILDREN=y CONFIG_PROC_FS=y CONFIG_PRINTK=y CONFIG_RD_ZSTD=y diff --git a/vm/linux_x86_64.config b/vm/linux_x86_64.config index 278a71f..6b55f1d 100644 --- a/vm/linux_x86_64.config +++ b/vm/linux_x86_64.config @@ -47,6 +47,7 @@ CONFIG_OVERLAY_FS=y CONFIG_PCI=y CONFIG_PID_NS=y CONFIG_POSIX_TIMERS=y +CONFIG_PROC_CHILDREN=y CONFIG_PROC_FS=y CONFIG_PRINTK=y CONFIG_SECCOMP=y