Re:How does `cd` work?
by asveikau on Thursday March 01, 2018 @03:09PM
(#16495723)
Actually looks like it copies the path into the address space of the parent, backs up some register state, tickles the i386 syscall interface by setting registers to call chdir(2), then restores the registers to their original state, resuming the program already in progress.
[ Parent
| on HN ]
There are no comments on this comment yet.