<div dir="ltr"><div>Hello, strace community!</div><div><br></div><div>Accomplishment:</div><div><span style="white-space:pre">  </span>* minor fix check_seccomp_filter function [1]</div><div><span style="white-space:pre"> </span>* minor fix in TE_SYSCALL_STOP event handler [2]</div><div><span style="white-space:pre">      </span>* fix restart tracee do not deliver the signal [3]</div><div><span style="white-space:pre">    </span>* fix the tests that have debugged [4]</div><div><br></div><div>I am debugging the tests:</div><div><br></div><div>qual_fault.test: failed test: time limit (600) exceeded</div><div>qual_fault-syscall.test: failed test: time limit (600) exceeded</div><div>qual_inject-error-signal.test: failed test: ../../strace -a12 -echdir,exit_group -einject=chdir:error=ENOENT:signal=USR1 ../qual_inject-error-signal failed with code 1</div><div>qual_inject-error-signal-syscall.test: failed test: ../../strace -a12 -echdir,exit_group -einject=chdir:error=ENOENT:signal=USR1:syscall=gettid ../qual_inject-error-signal failed with code 1</div><div>qual_inject-signal.test: failed test: ../../strace -a12 -echdir,exit_group -einject=chdir:signal=USR1 ../qual_inject-signal failed with code 1</div><div>qual_inject-signal-syscall.test: failed test: ../../strace -a12 -echdir,exit_group -einject=chdir:signal=USR1:syscall=gettid ../qual_inject-signal failed with code 1</div><div><br></div><div>$ ../strace -a12 -echdir,exit_group -einject=chdir:signal=USR1 ./qual_inject-signal >/dev/null</div><div>chdir(".")  = 0</div><div>exit_group(1) = ?</div><div>+++ exited with 1 +++</div><div><br></div><div>Inject signal fail, strace do not trace the signal.</div><div><br></div><div>[1] <a href="https://github.com/ppiao/strace/blob/ppiao/next/filter_seccomp.c#L169-L196">https://github.com/ppiao/strace/blob/ppiao/next/filter_seccomp.c#L169-L196</a></div><div>[2] <a href="https://github.com/ppiao/strace/blob/ppiao/next/strace.c#L2511-L2513">https://github.com/ppiao/strace/blob/ppiao/next/strace.c#L2511-L2513</a></div><div>[3] <a href="https://github.com/ppiao/strace/blob/ppiao/next/strace.c#L2342-L2345">https://github.com/ppiao/strace/blob/ppiao/next/strace.c#L2342-L2345</a></div><div>[4] <a href="https://github.com/ppiao/strace/commit/2173f0ea866cb5441ee23b600fc5ba961b5c0a0e">https://github.com/ppiao/strace/commit/2173f0ea866cb5441ee23b600fc5ba961b5c0a0e</a></div><div><br></div><div>--</div><div>Chen Jingpiao</div></div>