[CRIU] [PATCH 06/28] seccomp: Define prefix for logging

Cyrill Gorcunov gorcunov at gmail.com
Wed Mar 21 00:42:51 MSK 2018


From: Cyrill Gorcunov <gorcunov at virtuozzo.com>

Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
---
 criu/seccomp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/criu/seccomp.c b/criu/seccomp.c
index 843000b13831..c9ceb2e7dd1f 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: "
+
 struct seccomp_entry *seccomp_find_entry(const struct pstree_item *item, pid_t tid)
 {
 	struct dmp_info *dinfo = dmpi(item);
-- 
2.14.3



More information about the CRIU mailing list