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
4b6cd7a7
Commit
4b6cd7a7
authored
Apr 21, 2002
by
Alexander Viro
Committed by
Linus Torvalds
Apr 21, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] (3/6) alpha fixes
- s/p_pptr/parent/, s/p_opptr/real_parent/ done for alpha
parent
80e01aaa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/osf_sys.c
+1
-1
arch/alpha/kernel/ptrace.c
arch/alpha/kernel/ptrace.c
+1
-1
arch/alpha/kernel/signal.c
arch/alpha/kernel/signal.c
+3
-3
No files found.
arch/alpha/kernel/osf_sys.c
View file @
4b6cd7a7
...
@@ -219,7 +219,7 @@ asmlinkage unsigned long sys_getxpid(int a0, int a1, int a2, int a3, int a4,
...
@@ -219,7 +219,7 @@ asmlinkage unsigned long sys_getxpid(int a0, int a1, int a2, int a3, int a4,
* isn't actually going to matter, as if the parent happens
* isn't actually going to matter, as if the parent happens
* to change we can happily return either of the pids.
* to change we can happily return either of the pids.
*/
*/
(
&
regs
)
->
r20
=
tsk
->
p_opptr
->
pid
;
(
&
regs
)
->
r20
=
tsk
->
real_parent
->
pid
;
return
tsk
->
pid
;
return
tsk
->
pid
;
}
}
...
...
arch/alpha/kernel/ptrace.c
View file @
4b6cd7a7
...
@@ -292,7 +292,7 @@ sys_ptrace(long request, long pid, long addr, long data,
...
@@ -292,7 +292,7 @@ sys_ptrace(long request, long pid, long addr, long data,
if
(
request
!=
PTRACE_KILL
)
if
(
request
!=
PTRACE_KILL
)
goto
out
;
goto
out
;
}
}
if
(
child
->
p
_pptr
!=
current
)
{
if
(
child
->
p
arent
!=
current
)
{
DBG
(
DBG_MEM
,
(
"child not parent of this process
\n
"
));
DBG
(
DBG_MEM
,
(
"child not parent of this process
\n
"
));
goto
out
;
goto
out
;
}
}
...
...
arch/alpha/kernel/signal.c
View file @
4b6cd7a7
...
@@ -661,8 +661,8 @@ do_signal(sigset_t *oldset, struct pt_regs * regs, struct switch_stack * sw,
...
@@ -661,8 +661,8 @@ do_signal(sigset_t *oldset, struct pt_regs * regs, struct switch_stack * sw,
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. */
...
@@ -701,7 +701,7 @@ do_signal(sigset_t *oldset, struct pt_regs * regs, struct switch_stack * sw,
...
@@ -701,7 +701,7 @@ do_signal(sigset_t *oldset, struct pt_regs * regs, struct switch_stack * sw,
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
]
if
(
!
(
current
->
p
arent
->
sig
->
action
[
SIGCHLD
-
1
]
.
sa
.
sa_flags
&
SA_NOCLDSTOP
))
.
sa
.
sa_flags
&
SA_NOCLDSTOP
))
notify_parent
(
current
,
SIGCHLD
);
notify_parent
(
current
,
SIGCHLD
);
schedule
();
schedule
();
...
...
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