[CRIU] [PATCH 02/10] seccomp: Define log prefix

Cyrill Gorcunov gorcunov at gmail.com
Mon May 7 11:42:42 MSK 2018


For grepability sake in logs.

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

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;
-- 
2.14.3



More information about the CRIU mailing list