Skip to contentSkip to conversation

signal fixes for v5.0-rc7

GIT PULL Merged Eric W. Biederman 2 participants 2 messages Feb 14, 2019 – Feb 15, 2019

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the for-linus branch from the git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus

HEAD:cf43a757fd49442bc38f76088b70c2299eed2c2f signal: Restore the stop PTRACE_EVENT_EXIT

This includes just a single patch that restores PTRACE_EVENT_EXIT functionality that was accidentally broken by last weeks fixes.

kernel/signal.c +5 -2
index 99fa8ff06fd9..57b7771e20d7 100644
@@ -2436,9 +2436,12 @@ relock:
        }
 
        /* Has this task already been marked for death? */
-       ksig->info.si_signo = signr = SIGKILL;
-       if (signal_group_exit(signal))
+       if (signal_group_exit(signal)) {
+               ksig->info.si_signo = signr = SIGKILL;
+               sigdelset(&current->pending.signal, SIGKILL);
+               recalc_sigpending();
                goto fatal;
+       }
 
        for (;;) {
                struct k_sigaction *ka;
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 14 Feb 2019 14:56:25 -0600:

The pull request you sent on Thu, 14 Feb 2019 14:56:25 -0600:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/02d75040897f37e43cc6df9a7084ecdd20526f1a

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker