mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
UPSTREAM: seccomp: Use pr_fmt
Avoid open-coding "seccomp: " prefixes for pr_*() calls. Signed-off-by: Kees Cook <keescook@chromium.org> (cherry picked from commit e68f9d49dda1744d548426c8b4335a8d693a36d0) Signed-off-by: Jeff Vander Stoep <jeffv@google.com> Bug: 176068146 Change-Id: I2fa08d91c11b59dbb962cc767aa4cd25a42f761d
This commit is contained in:
parent
246a019c84
commit
d3720689a9
1 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@
|
|||
* Mode 2 allows user-defined system call filters in the form
|
||||
* of Berkeley Packet Filters/Linux Socket Filters.
|
||||
*/
|
||||
#define pr_fmt(fmt) "seccomp: " fmt
|
||||
|
||||
#include <linux/refcount.h>
|
||||
#include <linux/audit.h>
|
||||
|
|
@ -1897,7 +1898,7 @@ static int __init seccomp_sysctl_init(void)
|
|||
|
||||
hdr = register_sysctl_paths(seccomp_sysctl_path, seccomp_sysctl_table);
|
||||
if (!hdr)
|
||||
pr_warn("seccomp: sysctl registration failed\n");
|
||||
pr_warn("sysctl registration failed\n");
|
||||
else
|
||||
kmemleak_not_leak(hdr);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue