| 8175f6e0 | 26-Jul-2017 |
Matthew Dillon <dillon@apollo.backplane.com> |
libc - Fix bug in rcmdsh()
* rcmdsh() (which really nothing should be using any more anyway) used a generic wait(NULL) to wait for a child to exit, but this can wind up waiting for the wrong pid
libc - Fix bug in rcmdsh()
* rcmdsh() (which really nothing should be using any more anyway) used a generic wait(NULL) to wait for a child to exit, but this can wind up waiting for the wrong pid in a multi-threaded or multi-fork environment.
* Solved by waiting on the specific pid instead.
show more ...
|