Fix whitespace in CWD record
PATCH 1/1 Fix whitespace in CWD record
Fix the whitespace in the CWD record
Signed-off-by Steve Grubb <[email protected]>
--- kernel/auditsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/auditsc.c +1 -1
@@ -1426,7 +1426,7 @@ static void audit_log_exit(struct audit_if (context->pwd.dentry && context->pwd.mnt) { ab =audit_log_start (context,GFP_KERNEL ,AUDIT_CWD );if (ab) { -audit_log_d_path (ab," cwd=" , &context->pwd); +audit_log_d_path (ab,"cwd=" , &context->pwd);audit_log_end (ab); } }
Paul Moore
maintainerQuoted 6 lines · Steve Grubb
Fix the whitespace in the CWD record
Signed-off-by Steve Grubb <[email protected]>--- kernel/auditsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Generally I don't like merging patches this late, but this patch is so trivial I'll make an exception. Also, I fixed it this time, but in the future please prefix your patch subject lines with the subsystem name, e.g. "audit: fix whitespace in CWD record".
Quoted 12 lines
diff -urp
linux-4.7.0-0.rc4.git1.1.fc23.x86_64.orig/kernel/auditsc.clinux-4.7.0-0.rc4.git1.1.fc23.x86_64/kernel/auditsc.ckernel/auditsc.c 2016-07-14 09:56:50.222227280 -0400 renamed from kernel/auditsc.c 2016-06-25 12:44:41.756440052 -0400 +1
-1@@ -1426,7 +1426,7 @@ static void audit_log_exit(struct audit_ if (context->pwd.dentry && context->pwd.mnt) { ab = audit_log_start(context, GFP_KERNEL, AUDIT_CWD); if (ab) { - audit_log_d_path(ab, " cwd=", &context->pwd); + audit_log_d_path(ab, "cwd=", &context->pwd); audit_log_end(ab); } }
Signature · 2 lines
paul moore www.paul-moore.com