Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

parent / child processes

Name: Anonymous 2009-05-01 11:21

Process A creates another process B. Process A then dies, but process B still has the PID of process A marked as its parent process. Later on, a process C starts and is randomly assigned the PID that process A was originally assigned.

Are there any security or other implications of this happening?

Name: Anonymous 2009-05-01 16:07

>>1
you got it wrong. in *nix at least, a child process does not inherit that parent's process number; it has its own and the parent process continues to exist as a "zombie" process until the child process is done as well, after which the OS cleans it up. it's impossible for something to "inherit" the parent process' pid.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List