[06/28] seccomp: Define prefix for logging

Submitted by Cyrill Gorcunov on March 20, 2018, 9:42 p.m.

Details

Message ID 20180320214313.25326-7-gorcunov@gmail.com
State Rejected
Series "seccomp, v2: Add support for per-thread tracking"
Headers show

Commit Message

Cyrill Gorcunov March 20, 2018, 9:42 p.m.
From: Cyrill Gorcunov <gorcunov@virtuozzo.com>

Signed-off-by: Cyrill Gorcunov <gorcunov@virtuozzo.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 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);