About this list Date view Thread view Subject view Author view Attachment view

From: Sam Vilain (sam_at_vilain.net)
Date: Thu 31 Jan 2002 - 15:44:07 GMT


exit.c seems to be different in 2.4.18-pre7 than in 2.4.17:

        for_each_task(p) {
                if (p->p_opptr == father) {
                        /* We dont want people slaying init */
                        p->exit_signal = SIGCHLD;
                        p->self_exec_id++;

                        /* Make sure we're not reparenting to ourselves */
                        if (p == reaper)
                                p->p_opptr = child_reaper;
                        else
                                p->p_opptr = reaper;

                        if (p->pdeath_signal) send_sig(p->pdeath_signal, p, 0);
                }
        }

This patch doesn't apply:

***************
*** 167,171 ****
                        p->exit_signal = SIGCHLD;
                        p->self_exec_id++;
! p->p_opptr = child_reaper;
                        if (p->pdeath_signal) send_sig(p->pdeath_signal, p, 0);
                }
--- 176,180 ----
                        p->exit_signal = SIGCHLD;
                        p->self_exec_id++;
! p->p_opptr = reaper;
                        if (p->pdeath_signal) send_sig(p->pdeath_signal, p, 0);
                }

Can anyone tell me what's happening here?

Sam.


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:38 GMT by hypermail 2.1.3