Hi, I am trying to understand the implementation of sysrfork() in /sys/src/9/port/sysproc.c:90.
When the new process is created p->nerrlab is set to zero, however when sysrfork() returns,as the new process, poperror() is called will clean up the error stack after the matching waserror() before the systemcall was dispatched. This should the (from my reading of it) draw an error from /sys/src/9/pc/trap.c:739, which doesn't happen. so, I am wrong about how it works, but how does it? Am I expected to understand this? -Steve