> unlikely, and we dont care much about the parent pid in this case, but
> what if the invalid parent pid happens to be a pid of a security-relevant
> process, and the getppid() is done as root. (even more unlikely but
> theoretically possible ;)

Are you sure. The only ppid you can switch to validly is init. There is
no "reparent" function in Unix. So if it changes it goes to init. Init
doesnt die - right ?

Alan

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to