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
415d04d0
Commit
415d04d0
authored
Apr 26, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unicore32: if there's no handler we need to restore sigmask, syscall or no syscall
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
a53bb24e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
arch/unicore32/kernel/signal.c
arch/unicore32/kernel/signal.c
+5
-8
No files found.
arch/unicore32/kernel/signal.c
View file @
415d04d0
...
...
@@ -447,15 +447,12 @@ static void do_signal(struct pt_regs *regs, int syscall)
regs
->
UCreg_00
==
-
ERESTARTNOINTR
)
{
setup_syscall_restart
(
regs
);
}
/* If there's no signal to deliver, we just put the saved
* sigmask back.
*/
if
(
test_thread_flag
(
TIF_RESTORE_SIGMASK
))
{
clear_thread_flag
(
TIF_RESTORE_SIGMASK
);
sigprocmask
(
SIG_SETMASK
,
&
current
->
saved_sigmask
,
NULL
);
}
}
/* If there's no signal to deliver, we just put the saved
* sigmask back.
*/
if
(
test_and_clear_thread_flag
(
TIF_RESTORE_SIGMASK
))
set_current_blocked
(
&
current
->
saved_sigmask
);
}
asmlinkage
void
do_notify_resume
(
struct
pt_regs
*
regs
,
...
...
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