Commit 02d75040 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace

Pull signal fix from Eric Biederman:
 "Just a single patch that restores PTRACE_EVENT_EXIT functionality that
  was accidentally broken by last weeks fixes"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
  signal: Restore the stop PTRACE_EVENT_EXIT
parents cb5b020a cf43a757
...@@ -2436,9 +2436,12 @@ bool get_signal(struct ksignal *ksig) ...@@ -2436,9 +2436,12 @@ bool get_signal(struct ksignal *ksig)
} }
/* Has this task already been marked for death? */ /* Has this task already been marked for death? */
if (signal_group_exit(signal)) {
ksig->info.si_signo = signr = SIGKILL; ksig->info.si_signo = signr = SIGKILL;
if (signal_group_exit(signal)) sigdelset(&current->pending.signal, SIGKILL);
recalc_sigpending();
goto fatal; goto fatal;
}
for (;;) { for (;;) {
struct k_sigaction *ka; struct k_sigaction *ka;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment