Skip to content

exec deadline containment: setsid/background children survive deadline (blocks process:exec live runs) #181

Closed

Description

@howlcipher

From Lain's #179 review: vm.go:2521-2531 has no Setpgid or group kill, so setsid and background exec children survive the deadline. Fix (process group, subreaper or cgroup kill) before any live run grants process:exec. Same root issue as #178 blocker 4.

Activity

  1. howlcipher commented on Oct 22, 2026

    @howlcipher
    OwnerAuthor

    Closing against this issue's own criterion (Owner decision E, 2026-10-22): setsid and background exec children no longer survive the deadline, fixed by #209 with a child-subreaper supervisor (Linux), before any live run grants process:exec.

    Covered by internal/vm/exec_containment_linux_test.go:

    • TestExecKillsBackgroundAndSessionEscapedDescendantsOnNormalExit
    • TestExecDeadlineKillsEveryDescendant
    • TestExecOutputLimitKillsEveryDescendant

    These were independently verified in the #209 review and run in CI.

    This is runaway-process containment only. Not covered, and tracked separately:

    HowlFrame is not an OS sandbox and does not claim to isolate hostile code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions