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
nexedi
linux
Commits
296f376f
Commit
296f376f
authored
Nov 20, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: From Linus/Paulus: reset restart_block function in
restore_sigcontext(). Also update ia32 subsystem accordingly.
parent
9c2a4aeb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
arch/ia64/ia32/ia32_signal.c
arch/ia64/ia32/ia32_signal.c
+3
-0
arch/ia64/kernel/signal.c
arch/ia64/kernel/signal.c
+3
-3
No files found.
arch/ia64/ia32/ia32_signal.c
View file @
296f376f
...
...
@@ -720,6 +720,9 @@ restore_sigcontext_ia32 (struct pt_regs *regs, struct sigcontext_ia32 *sc, int *
{
unsigned
int
err
=
0
;
/* Always make any pending restarted system calls return -EINTR */
current_thread_info
()
->
restart_block
.
fn
=
do_no_restart_syscall
;
if
(
!
access_ok
(
VERIFY_READ
,
sc
,
sizeof
(
*
sc
)))
return
(
-
EFAULT
);
...
...
arch/ia64/kernel/signal.c
View file @
296f376f
...
...
@@ -115,6 +115,9 @@ restore_sigcontext (struct sigcontext *sc, struct sigscratch *scr)
unsigned
long
ip
,
flags
,
nat
,
um
,
cfm
;
long
err
;
/* Always make any pending restarted system calls return -EINTR */
current_thread_info
()
->
restart_block
.
fn
=
do_no_restart_syscall
;
/* restore scratch that always needs gets updated during signal delivery: */
err
=
__get_user
(
flags
,
&
sc
->
sc_flags
);
err
|=
__get_user
(
nat
,
&
sc
->
sc_nat
);
...
...
@@ -559,9 +562,6 @@ ia64_do_signal (sigset_t *oldset, struct sigscratch *scr, long in_syscall)
ka
=
&
current
->
sighand
->
action
[
signr
-
1
];
/* Always make any pending restarted system calls return -EINTR */
current_thread_info
()
->
restart_block
.
fn
=
do_no_restart_syscall
;
if
(
restart
)
{
switch
(
errno
)
{
case
ERESTART_RESTARTBLOCK
:
...
...
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