]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04e723b0d7aca7da34eede5c48c0e5ffb407c7cc
treec5e14d107c87bea6f74215b18785577b10522c63
parentf74391bdb675d539baf6dab439ba7c435c288488
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