[Bug 43300] ::prctl(PR_SET_PDEATHSIG, SIGKILL) uses parent thread death to signal instead of parent process death.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=43300

Michael Kerrisk <mtk.manpages@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |mtk.manpages@xxxxxxxxx
         Resolution|---                         |DOCUMENTED

--- Comment #25 from Michael Kerrisk <mtk.manpages@xxxxxxxxx> ---
I've added the following text to prctl(2) under the description of
PR_SET_PDEATHSIG:

              Warning:  the  "parent" in this case is considered to be
              the thread that created this process.  In  other  words,
              the  signal  will  be  sent  when that thread terminates
              (via, for example, pthread_exit(3)), rather  than  after
              all of the threads in the parent process terminate.

This suffices, I believe. If not, please reopen the bug.

Thanks,

Michael

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux