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
5a6e6335
Commit
5a6e6335
authored
Nov 17, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Update to changeset 1.1445 version of signal fix.
parent
f2b4a98e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
18 deletions
+12
-18
arch/sparc/kernel/signal.c
arch/sparc/kernel/signal.c
+3
-6
arch/sparc64/kernel/signal.c
arch/sparc64/kernel/signal.c
+3
-6
arch/sparc64/kernel/signal32.c
arch/sparc64/kernel/signal32.c
+6
-6
No files found.
arch/sparc/kernel/signal.c
View file @
5a6e6335
...
...
@@ -284,6 +284,9 @@ asmlinkage void do_sigreturn(struct pt_regs *regs)
sigset_t
set
;
int
err
;
/* Always make any pending restarted system calls return -EINTR */
current_thread_info
()
->
restart_block
.
fn
=
do_no_restart_syscall
;
synchronize_user_stack
();
if
(
current
->
thread
.
new_signal
)
...
...
@@ -1085,12 +1088,6 @@ asmlinkage int do_signal(sigset_t *oldset, struct pt_regs * regs,
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
(
cookie
.
restart_syscall
)
syscall_restart
(
cookie
.
orig_i0
,
regs
,
&
ka
->
sa
);
handle_signal
(
signr
,
ka
,
&
info
,
oldset
,
regs
,
svr4_signal
);
...
...
arch/sparc64/kernel/signal.c
View file @
5a6e6335
...
...
@@ -382,6 +382,9 @@ void do_rt_sigreturn(struct pt_regs *regs)
stack_t
st
;
int
err
;
/* Always make any pending restarted system calls return -EINTR */
current_thread_info
()
->
restart_block
.
fn
=
do_no_restart_syscall
;
synchronize_user_stack
();
sf
=
(
struct
rt_signal_frame
__user
*
)
(
regs
->
u_regs
[
UREG_FP
]
+
STACK_BIAS
);
...
...
@@ -627,12 +630,6 @@ static int do_signal(sigset_t *oldset, struct pt_regs * regs,
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
(
cookie
.
restart_syscall
)
syscall_restart
(
orig_i0
,
regs
,
&
ka
->
sa
);
handle_signal
(
signr
,
ka
,
&
info
,
oldset
,
regs
);
...
...
arch/sparc64/kernel/signal32.c
View file @
5a6e6335
...
...
@@ -331,6 +331,9 @@ asmlinkage void do_sigreturn32(struct pt_regs *regs)
unsigned
int
seta
[
_COMPAT_NSIG_WORDS
];
int
err
;
/* Always make any pending restarted system calls return -EINTR */
current_thread_info
()
->
restart_block
.
fn
=
do_no_restart_syscall
;
synchronize_user_stack
();
if
(
test_thread_flag
(
TIF_NEWSIGNALS
))
return
do_new_sigreturn32
(
regs
);
...
...
@@ -398,6 +401,9 @@ asmlinkage void do_rt_sigreturn32(struct pt_regs *regs)
stack_t
st
;
int
err
,
i
;
/* Always make any pending restarted system calls return -EINTR */
current_thread_info
()
->
restart_block
.
fn
=
do_no_restart_syscall
;
synchronize_user_stack
();
regs
->
u_regs
[
UREG_FP
]
&=
0x00000000ffffffffUL
;
sf
=
(
struct
rt_signal_frame32
__user
*
)
regs
->
u_regs
[
UREG_FP
];
...
...
@@ -1258,12 +1264,6 @@ int do_signal32(sigset_t *oldset, struct pt_regs * regs,
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
(
cookie
.
restart_syscall
)
syscall_restart32
(
orig_i0
,
regs
,
&
ka
->
sa
);
handle_signal32
(
signr
,
ka
,
&
info
,
oldset
,
regs
,
svr4_signal
);
...
...
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