|
@@ -818,20 +818,6 @@ static void exit_notify(struct task_struct *tsk, int group_dead)
|
|
|
if (group_dead)
|
|
|
kill_orphaned_pgrp(tsk->group_leader, NULL);
|
|
|
|
|
|
- /* Let father know we died
|
|
|
- *
|
|
|
- * Thread signals are configurable, but you aren't going to use
|
|
|
- * that to send signals to arbitrary processes.
|
|
|
- * That stops right now.
|
|
|
- *
|
|
|
- * If the parent exec id doesn't match the exec id we saved
|
|
|
- * when we started then we know the parent has changed security
|
|
|
- * domain.
|
|
|
- */
|
|
|
- if (thread_group_leader(tsk) && tsk->exit_signal != SIGCHLD &&
|
|
|
- tsk->parent_exec_id != tsk->real_parent->self_exec_id)
|
|
|
- tsk->exit_signal = SIGCHLD;
|
|
|
-
|
|
|
if (unlikely(tsk->ptrace)) {
|
|
|
int sig = thread_group_leader(tsk) &&
|
|
|
thread_group_empty(tsk) &&
|