Posted Mar 29, 2012 19:28 UTC (Thu) by kjp (subscriber, #39639)
[Link]
By the way, thats for existing user client code we have to detect when the main gui process dies.
prctl(PR_SET_PDEATHSIG, SIGHUP);
if (getppid() == 1) /* parent died already? */
return 0;
3.4 Merge window part 2
Posted Mar 29, 2012 20:26 UTC (Thu) by alecs1 (guest, #46699)
[Link]
You'd have to use the option to get into this situation, in my understanding. Remember that Linus is very adverse to breaking existing programs, and this is my main assumption.