Skip to content

kernel: reject late reaped-process syscalls#761

Open
brandonpayton wants to merge 1 commit into
mainfrom
gascity/kd-8ei/kd-8ei.3-sqlite-walcrash-fcntl-lock
Open

kernel: reject late reaped-process syscalls#761
brandonpayton wants to merge 1 commit into
mainfrom
gascity/kd-8ei/kd-8ei.3-sqlite-walcrash-fcntl-lock

Conversation

@brandonpayton

Copy link
Copy Markdown
Member

Summary

  • Return ESRCH when a channel syscall arrives for a PID already removed from the process table.
  • Prevent late browser worker messages from reaching syscall handlers that assume current_pid still resolves.
  • Add focused host regression coverage for late channel syscalls after reap.

Verification

  • cargo test -p kandelo --target aarch64-apple-darwin --lib
  • cd host && npx vitest run
  • scripts/run-libc-tests.sh
  • scripts/run-posix-tests.sh
  • bash scripts/check-abi-version.sh
  • Focused browser walcrash3 post-fix run timed out without the old RuntimeError: unreachable / handleFcntlLock signature; not claimed as a SQLite pass.

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