diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/auditsc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 4e67abb02904..6e5de767bad1 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
@@ -1270,6 +1270,11 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts | |||
1270 | 1270 | ||
1271 | audit_log_end(ab); | 1271 | audit_log_end(ab); |
1272 | } | 1272 | } |
1273 | |||
1274 | /* Send end of event record to help user space know we are finished */ | ||
1275 | ab = audit_log_start(context, GFP_KERNEL, AUDIT_EOE); | ||
1276 | if (ab) | ||
1277 | audit_log_end(ab); | ||
1273 | if (call_panic) | 1278 | if (call_panic) |
1274 | audit_panic("error converting sid to string"); | 1279 | audit_panic("error converting sid to string"); |
1275 | } | 1280 | } |