summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2025-07-16 14:27:30 -0700
committerPaul Moore <paul@paul-moore.com>2025-08-11 11:44:50 -0400
commitc5055d0c8eddfb89ed895ae0642e2a2a0804143d (patch)
tree672e6739ea5a63e09946ad5a7cdfe8d3a55820c5
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff)
audit: fix indentation in audit_log_exit()
Fix two indentation errors in audit_log_exit(). Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> [PM: subject tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
-rw-r--r--kernel/auditsc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index eb98cd6fe91f..1c29541c8fb6 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1778,15 +1778,16 @@ static void audit_log_exit(void)
axs->target_sessionid[i],
&axs->target_ref[i],
axs->target_comm[i]))
- call_panic = 1;
+ call_panic = 1;
}
if (context->target_pid &&
audit_log_pid_context(context, context->target_pid,
context->target_auid, context->target_uid,
context->target_sessionid,
- &context->target_ref, context->target_comm))
- call_panic = 1;
+ &context->target_ref,
+ context->target_comm))
+ call_panic = 1;
if (context->pwd.dentry && context->pwd.mnt) {
ab = audit_log_start(context, GFP_KERNEL, AUDIT_CWD);