Commit 12f95fd6 authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Add SIGURG to list of ignore-by-default signals

parent 91a30776
...@@ -657,7 +657,7 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset) ...@@ -657,7 +657,7 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset)
continue; continue;
switch (signr) { switch (signr) {
case SIGCONT: case SIGCHLD: case SIGWINCH: case SIGCONT: case SIGCHLD: case SIGWINCH: case SIGURG:
continue; continue;
case SIGTSTP: case SIGTTIN: case SIGTTOU: case SIGTSTP: case SIGTTIN: case SIGTTOU:
......
...@@ -1110,7 +1110,8 @@ do_sigaction(int sig, const struct k_sigaction *act, struct k_sigaction *oact) ...@@ -1110,7 +1110,8 @@ do_sigaction(int sig, const struct k_sigaction *act, struct k_sigaction *oact)
|| (k->sa.sa_handler == SIG_DFL || (k->sa.sa_handler == SIG_DFL
&& (sig == SIGCONT || && (sig == SIGCONT ||
sig == SIGCHLD || sig == SIGCHLD ||
sig == SIGWINCH))) { sig == SIGWINCH ||
sig == SIGURG))) {
spin_lock_irq(&current->sigmask_lock); spin_lock_irq(&current->sigmask_lock);
if (rm_sig_from_queue(sig, current)) if (rm_sig_from_queue(sig, current))
recalc_sigpending(); recalc_sigpending();
......
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