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
1c28e3d1
Commit
1c28e3d1
authored
Mar 28, 2002
by
Tom Rini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change p_pptr to parent in arch/ppc/kernel/signal.c
parent
eb33fc81
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/ppc/kernel/signal.c
arch/ppc/kernel/signal.c
+3
-3
No files found.
arch/ppc/kernel/signal.c
View file @
1c28e3d1
...
@@ -594,8 +594,8 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
...
@@ -594,8 +594,8 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
info
.
si_signo
=
signr
;
info
.
si_signo
=
signr
;
info
.
si_errno
=
0
;
info
.
si_errno
=
0
;
info
.
si_code
=
SI_USER
;
info
.
si_code
=
SI_USER
;
info
.
si_pid
=
current
->
p
_pptr
->
pid
;
info
.
si_pid
=
current
->
p
arent
->
pid
;
info
.
si_uid
=
current
->
p
_pptr
->
uid
;
info
.
si_uid
=
current
->
p
arent
->
uid
;
}
}
/* If the (new) signal is now blocked, requeue it. */
/* If the (new) signal is now blocked, requeue it. */
...
@@ -634,7 +634,7 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
...
@@ -634,7 +634,7 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
case
SIGSTOP
:
case
SIGSTOP
:
current
->
state
=
TASK_STOPPED
;
current
->
state
=
TASK_STOPPED
;
current
->
exit_code
=
signr
;
current
->
exit_code
=
signr
;
if
(
!
(
current
->
p
_pptr
->
sig
->
action
[
SIGCHLD
-
1
].
sa
.
sa_flags
&
SA_NOCLDSTOP
))
if
(
!
(
current
->
p
arent
->
sig
->
action
[
SIGCHLD
-
1
].
sa
.
sa_flags
&
SA_NOCLDSTOP
))
notify_parent
(
current
,
SIGCHLD
);
notify_parent
(
current
,
SIGCHLD
);
schedule
();
schedule
();
continue
;
continue
;
...
...
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