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
81dbea94
Commit
81dbea94
authored
Mar 18, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In Sparc{,64} signal handling, tsk->p_pptr --> tsk->parent
parent
691785fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
arch/sparc/kernel/signal.c
arch/sparc/kernel/signal.c
+3
-3
arch/sparc64/kernel/signal.c
arch/sparc64/kernel/signal.c
+3
-3
arch/sparc64/kernel/signal32.c
arch/sparc64/kernel/signal32.c
+3
-3
No files found.
arch/sparc/kernel/signal.c
View file @
81dbea94
...
...
@@ -1195,8 +1195,8 @@ asmlinkage int do_signal(sigset_t *oldset, struct pt_regs * regs,
info
.
si_signo
=
signr
;
info
.
si_errno
=
0
;
info
.
si_code
=
SI_USER
;
info
.
si_pid
=
current
->
p
_pptr
->
pid
;
info
.
si_uid
=
current
->
p
_pptr
->
uid
;
info
.
si_pid
=
current
->
p
arent
->
pid
;
info
.
si_uid
=
current
->
p
arent
->
uid
;
}
/* If the (new) signal is now blocked, requeue it. */
...
...
@@ -1245,7 +1245,7 @@ asmlinkage int do_signal(sigset_t *oldset, struct pt_regs * regs,
current
->
exit_code
=
signr
;
/* notify_parent() is SMP safe */
if
(
!
(
current
->
p
_pptr
->
sig
->
action
[
SIGCHLD
-
1
].
sa
.
sa_flags
&
if
(
!
(
current
->
p
arent
->
sig
->
action
[
SIGCHLD
-
1
].
sa
.
sa_flags
&
SA_NOCLDSTOP
))
notify_parent
(
current
,
SIGCHLD
);
schedule
();
...
...
arch/sparc64/kernel/signal.c
View file @
81dbea94
...
...
@@ -729,8 +729,8 @@ static int do_signal(sigset_t *oldset, struct pt_regs * regs,
info
.
si_signo
=
signr
;
info
.
si_errno
=
0
;
info
.
si_code
=
SI_USER
;
info
.
si_pid
=
current
->
p
_pptr
->
pid
;
info
.
si_uid
=
current
->
p
_pptr
->
uid
;
info
.
si_pid
=
current
->
p
arent
->
pid
;
info
.
si_uid
=
current
->
p
arent
->
uid
;
}
/* If the (new) signal is now blocked, requeue it. */
...
...
@@ -772,7 +772,7 @@ static int do_signal(sigset_t *oldset, struct pt_regs * regs,
struct
signal_struct
*
sig
;
current
->
exit_code
=
signr
;
sig
=
current
->
p
_pptr
->
sig
;
sig
=
current
->
p
arent
->
sig
;
preempt_disable
();
current
->
state
=
TASK_STOPPED
;
if
(
sig
&&
!
(
sig
->
action
[
SIGCHLD
-
1
].
sa
.
sa_flags
&
...
...
arch/sparc64/kernel/signal32.c
View file @
81dbea94
...
...
@@ -1403,8 +1403,8 @@ int do_signal32(sigset_t *oldset, struct pt_regs * regs,
info
.
si_signo
=
signr
;
info
.
si_errno
=
0
;
info
.
si_code
=
SI_USER
;
info
.
si_pid
=
current
->
p
_pptr
->
pid
;
info
.
si_uid
=
current
->
p
_pptr
->
uid
;
info
.
si_pid
=
current
->
p
arent
->
pid
;
info
.
si_uid
=
current
->
p
arent
->
uid
;
}
/* If the (new) signal is now blocked, requeue it. */
...
...
@@ -1446,7 +1446,7 @@ int do_signal32(sigset_t *oldset, struct pt_regs * regs,
struct
signal_struct
*
sig
;
current
->
exit_code
=
signr
;
sig
=
current
->
p
_pptr
->
sig
;
sig
=
current
->
p
arent
->
sig
;
preempt_disable
();
current
->
state
=
TASK_STOPPED
;
if
(
sig
&&
!
(
sig
->
action
[
SIGCHLD
-
1
].
sa
.
sa_flags
&
...
...
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