[02/10] seccomp: Define log prefix

Submitted by Cyrill Gorcunov on May 7, 2018, 8:42 a.m.

Details

Message ID 20180507084250.25191-3-gorcunov@gmail.com
State Accepted
Series "Per-thread seccomp support, v5"
Headers show

Commit Message

Cyrill Gorcunov May 7, 2018, 8:42 a.m.
For grepability sake in logs.

Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 criu/seccomp.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/criu/seccomp.c b/criu/seccomp.c
index 6416e793c61f..673812b4d2d1 100644
--- a/criu/seccomp.c
+++ b/criu/seccomp.c
@@ -18,6 +18,9 @@ 
 #include "protobuf.h"
 #include "images/seccomp.pb-c.h"
 
+#undef	LOG_PREFIX
+#define LOG_PREFIX "seccomp: "
+
 /* populated on dump during collect_seccomp_filters() */
 static int next_filter_id = 0;
 static struct seccomp_info **filters = NULL;