a65494ed00
The ownership guard let a sentinel with pid=None pass as self-owned, so an exiting life could clobber evidence of unknown provenance with a clean-exit claim. Tighten: only rewrite when the sentinel pid matches os.getpid() exactly; pid=None (or malformed) is left untouched. Adds tests for the pid=None no-op and the own-pid rewrite paths.