diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 64a5263c8c7b..57626692cd90 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -965,6 +965,8 @@ fastcall NORET_TYPE void do_exit(long code) | |||
965 | if (unlikely(tsk->compat_robust_list)) | 965 | if (unlikely(tsk->compat_robust_list)) |
966 | compat_exit_robust_list(tsk); | 966 | compat_exit_robust_list(tsk); |
967 | #endif | 967 | #endif |
968 | if (group_dead) | ||
969 | tty_audit_exit(); | ||
968 | if (unlikely(tsk->audit_context)) | 970 | if (unlikely(tsk->audit_context)) |
969 | audit_free(tsk); | 971 | audit_free(tsk); |
970 | 972 | ||