Plan 9 from Bell Labs’s /usr/web/sources/patch/sorry/rc-restore-wdir-after-fork/files
/sys/src/cmd/rc/havefork.c havefork.c