projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-serial
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
ptrace.c
diff --git
a/kernel/ptrace.c
b/kernel/ptrace.c
index 335c5b932e14ffdac1a4c689dcf3895dc7e934ea..9a111f70145c6673cddf08eeaf2e86da03dff8d8 100644
(file)
--- a/
kernel/ptrace.c
+++ b/
kernel/ptrace.c
@@
-28,7
+28,7
@@
*
* Must be called with the tasklist lock write-held.
*/
*
* Must be called with the tasklist lock write-held.
*/
-void __ptrace_link(
task_t *child, task_
t *new_parent)
+void __ptrace_link(
struct task_struct *child, struct task_struc
t *new_parent)
{
BUG_ON(!list_empty(&child->ptrace_list));
if (child->parent == new_parent)
{
BUG_ON(!list_empty(&child->ptrace_list));
if (child->parent == new_parent)
@@
-46,7
+46,7
@@
void __ptrace_link(task_t *child, task_t *new_parent)
* TASK_TRACED, resume it now.
* Requires that irqs be disabled.
*/
* TASK_TRACED, resume it now.
* Requires that irqs be disabled.
*/
-void ptrace_untrace(
task_
t *child)
+void ptrace_untrace(
struct task_struc
t *child)
{
spin_lock(&child->sighand->siglock);
if (child->state == TASK_TRACED) {
{
spin_lock(&child->sighand->siglock);
if (child->state == TASK_TRACED) {
@@
-65,7
+65,7
@@
void ptrace_untrace(task_t *child)
*
* Must be called with the tasklist lock write-held.
*/
*
* Must be called with the tasklist lock write-held.
*/
-void __ptrace_unlink(
task_
t *child)
+void __ptrace_unlink(
struct task_struc
t *child)
{
BUG_ON(!child->ptrace);
{
BUG_ON(!child->ptrace);