aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-01 00:08:34 +0200
committerMattias Andrée <maandree@kth.se>2020-06-01 00:08:34 +0200
commit60ce4c949e044b07859f7059a9b50754bda55d14 (patch)
treecc834f6b27f4ca95f1e7886b9ffb735832eba3d4
parentSilence output for initial tracee until it has successfully execed (diff)
downloadsctrace-60ce4c949e044b07859f7059a9b50754bda55d14.tar.gz
sctrace-60ce4c949e044b07859f7059a9b50754bda55d14.tar.bz2
sctrace-60ce4c949e044b07859f7059a9b50754bda55d14.tar.xz
Add comment explaining values of silent_until_execed
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index a00bc67..123a719 100644
--- a/common.h
+++ b/common.h
@@ -83,7 +83,7 @@ struct process {
struct process *next;
struct process *prev;
enum state state;
- int silent_until_execed;
+ int silent_until_execed; /* 2 until exec, 1 until "= 0", 0 afterwards */
/* Syscall data */
unsigned long long int scall;