signal handlers not linked properly in do_fork()?

From: David Eger (eger@cc.gatech.edu)
Date: Sat Oct 28 2000 - 14:44:03 EDT

  • Next message: Matt_Domsch@Dell.com: "RE: PROBLEM: DELL PERC/Megaraid RAID driver in Linux 2.2.18pre17 hang"

    I've been looking at the code for do_fork() / copy_sighand() and am
    mystified by the following. It seems that copy_sighand() only sets the
    new task's sig member if it is not CLONEd from the parent.

    If the signal_struct is CLONEd from the parent, it increments the parent's
    signal_struct's reference count, but does not set the new task's sig
    member. I see nowhere else in do_fork() where sig is set, either.
    What gives?

    -David Eger

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Oct 28 2000 - 14:45:39 EDT