Chen Jingpiao's GSoC status report - #10 of #13

Chen Jingpiao chenjingpiao at gmail.com
Tue Jul 24 13:00:58 UTC 2018


Hello, strace community!

Accomplishment:
* minor fix check_seccomp_filter function [1]
* minor fix in TE_SYSCALL_STOP event handler [2]
* fix restart tracee do not deliver the signal [3]
* fix the tests that have debugged [4]

I am debugging the tests:

qual_fault.test: failed test: time limit (600) exceeded
qual_fault-syscall.test: failed test: time limit (600) exceeded
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
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
qual_inject-signal.test: failed test: ../../strace -a12 -echdir,exit_group
-einject=chdir:signal=USR1 ../qual_inject-signal failed with code 1
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

$ ../strace -a12 -echdir,exit_group -einject=chdir:signal=USR1
./qual_inject-signal >/dev/null
chdir(".")  = 0
exit_group(1) = ?
+++ exited with 1 +++

Inject signal fail, strace do not trace the signal.

[1]
https://github.com/ppiao/strace/blob/ppiao/next/filter_seccomp.c#L169-L196
[2] https://github.com/ppiao/strace/blob/ppiao/next/strace.c#L2511-L2513
[3] https://github.com/ppiao/strace/blob/ppiao/next/strace.c#L2342-L2345
[4]
https://github.com/ppiao/strace/commit/2173f0ea866cb5441ee23b600fc5ba961b5c0a0e

--
Chen Jingpiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20180724/8f3c99f4/attachment.html>


More information about the Strace-devel mailing list