Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
12f95fd6
Commit
12f95fd6
authored
22 years ago
by
Linus Torvalds
Committed by
Linus Torvalds
22 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add SIGURG to list of ignore-by-default signals
parent
91a30776
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
arch/i386/kernel/signal.c
arch/i386/kernel/signal.c
+1
-1
kernel/signal.c
kernel/signal.c
+2
-1
No files found.
arch/i386/kernel/signal.c
View file @
12f95fd6
...
...
@@ -657,7 +657,7 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset)
continue
;
switch
(
signr
)
{
case
SIGCONT
:
case
SIGCHLD
:
case
SIGWINCH
:
case
SIGCONT
:
case
SIGCHLD
:
case
SIGWINCH
:
case
SIGURG
:
continue
;
case
SIGTSTP
:
case
SIGTTIN
:
case
SIGTTOU
:
...
...
This diff is collapsed.
Click to expand it.
kernel/signal.c
View file @
12f95fd6
...
...
@@ -1110,7 +1110,8 @@ do_sigaction(int sig, const struct k_sigaction *act, struct k_sigaction *oact)
||
(
k
->
sa
.
sa_handler
==
SIG_DFL
&&
(
sig
==
SIGCONT
||
sig
==
SIGCHLD
||
sig
==
SIGWINCH
)))
{
sig
==
SIGWINCH
||
sig
==
SIGURG
)))
{
spin_lock_irq
(
&
current
->
sigmask_lock
);
if
(
rm_sig_from_queue
(
sig
,
current
))
recalc_sigpending
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment