* defs.h, syscall.c: explain why x86 does not need TCB_WAITEXECVE trick,
and what syscall_fixup() is expected to do. Comments only, no code changes.
diff --git a/syscall.c b/syscall.c
index 19f8fe9..273b3c8 100644
--- a/syscall.c
+++ b/syscall.c
@@ -1335,6 +1335,13 @@
return scno;
}
+/* Called in trace_syscall() at each syscall entry and exit.
+ * Returns:
+ * 0: "ignore this syscall", bail out of trace_syscall() silently.
+ * 1: ok, continue in trace_syscall().
+ * other: error, trace_syscall() should print error indicator
+ * ("????" etc) and bail out.
+ */
static int
syscall_fixup(tcp)
struct tcb *tcp;