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
ce0a05cc
Commit
ce0a05cc
authored
May 06, 2002
by
Roman Zippel
Committed by
Linus Torvalds
May 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] m68k: rename p_pptr [14/20]
Rename p_pptr into parent.
parent
be0477de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
arch/m68k/kernel/ptrace.c
arch/m68k/kernel/ptrace.c
+1
-1
arch/m68k/kernel/signal.c
arch/m68k/kernel/signal.c
+9
-6
No files found.
arch/m68k/kernel/ptrace.c
View file @
ce0a05cc
...
...
@@ -141,7 +141,7 @@ asmlinkage int sys_ptrace(long request, long pid, long addr, long data)
if
(
request
!=
PTRACE_KILL
)
goto
out_tsk
;
}
if
(
child
->
p
_pptr
!=
current
)
if
(
child
->
p
arent
!=
current
)
goto
out_tsk
;
switch
(
request
)
{
...
...
arch/m68k/kernel/signal.c
View file @
ce0a05cc
...
...
@@ -1083,9 +1083,9 @@ 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_uid16
=
high2lowuid
(
current
->
p
_pptr
->
uid
);
info
.
si_pid
=
current
->
p
arent
->
pid
;
info
.
si_uid
=
current
->
p
arent
->
uid
;
info
.
si_uid16
=
high2lowuid
(
current
->
p
arent
->
uid
);
}
/* If the (new) signal is now blocked, requeue it. */
...
...
@@ -1121,14 +1121,17 @@ asmlinkage int do_signal(sigset_t *oldset, struct pt_regs *regs)
continue
;
/* FALLTHRU */
case
SIGSTOP
:
case
SIGSTOP
:
{
struct
signal_struct
*
sig
;
current
->
state
=
TASK_STOPPED
;
current
->
exit_code
=
signr
;
if
(
!
(
current
->
p_pptr
->
sig
->
action
[
SIGCHLD
-
1
]
.
sa
.
sa_flags
&
SA_NOCLDSTOP
))
sig
=
current
->
parent
->
sig
;
if
(
sig
&&
!
(
sig
->
action
[
SIGCHLD
-
1
].
sa
.
sa_flags
&
SA_NOCLDSTOP
))
notify_parent
(
current
,
SIGCHLD
);
schedule
();
continue
;
}
case
SIGQUIT
:
case
SIGILL
:
case
SIGTRAP
:
case
SIGIOT
:
case
SIGFPE
:
case
SIGSEGV
:
...
...
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