LSM: SafeSetID: fix pr_warn() to include newline
authorJann Horn <jannh@google.com>
Wed, 10 Apr 2019 16:54:34 +0000 (09:54 -0700)
committerMicah Morton <mortonm@chromium.org>
Mon, 15 Jul 2019 15:05:26 +0000 (08:05 -0700)
commitc783d525f9e7e1fd6a5dc3379f3c1fb041495b76
treec5e14d107c87bea6f74215b18785577b10522c63
parentfec88ab0af9706b2201e5daf377c5031c62d11f7
LSM: SafeSetID: fix pr_warn() to include newline

Fix the pr_warn() calls in the SafeSetID LSM to have newlines at the end.
Without this, denial messages will be buffered as incomplete lines in
log_output(), and will then only show up once something else prints into
dmesg.

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Micah Morton <mortonm@chromium.org>
security/safesetid/lsm.c