diff options
Diffstat (limited to 'include/linux/tracehook.h')
-rw-r--r-- | include/linux/tracehook.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/tracehook.h b/include/linux/tracehook.h index 12532839f508..ab3ef7aefa95 100644 --- a/include/linux/tracehook.h +++ b/include/linux/tracehook.h | |||
@@ -487,6 +487,9 @@ static inline int tracehook_notify_jctl(int notify, int why) | |||
487 | return notify || (current->ptrace & PT_PTRACED); | 487 | return notify || (current->ptrace & PT_PTRACED); |
488 | } | 488 | } |
489 | 489 | ||
490 | #define DEATH_REAP -1 | ||
491 | #define DEATH_DELAYED_GROUP_LEADER -2 | ||
492 | |||
490 | /** | 493 | /** |
491 | * tracehook_notify_death - task is dead, ready to notify parent | 494 | * tracehook_notify_death - task is dead, ready to notify parent |
492 | * @task: @current task now exiting | 495 | * @task: @current task now exiting |
@@ -501,8 +504,6 @@ static inline int tracehook_notify_jctl(int notify, int why) | |||
501 | * | 504 | * |
502 | * Called with write_lock_irq(&tasklist_lock) held. | 505 | * Called with write_lock_irq(&tasklist_lock) held. |
503 | */ | 506 | */ |
504 | #define DEATH_REAP -1 | ||
505 | #define DEATH_DELAYED_GROUP_LEADER -2 | ||
506 | static inline int tracehook_notify_death(struct task_struct *task, | 507 | static inline int tracehook_notify_death(struct task_struct *task, |
507 | void **death_cookie, int group_dead) | 508 | void **death_cookie, int group_dead) |
508 | { | 509 | { |