Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
12f95fd6
Commit
12f95fd6
authored
May 08, 2002
by
Linus Torvalds
Committed by
Linus Torvalds
May 08, 2002
Browse files
Options
Browse Files
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)
...
@@ -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
:
...
...
kernel/signal.c
View file @
12f95fd6
...
@@ -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
();
...
...
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