[PATCHv2 1/2] strace: add :signal option to efault

2016-12-27 Thread Seraphime Kirkovski
This extends the -e fault capability with a :signal option which delivers a signal on entry of the specified syscall. :signal and :error are complementary, if they are both specified the syscall will be injected as per normal and a signal will be sent to the process. Signed-off-by: Seraphime Kirk

[PATCH 2/2] man: document the :signal option to -e fault

2016-12-27 Thread Seraphime Kirkovski
This adds :signal to strace.1 Signed-off-by: Seraphime Kirkovski --- strace.1 | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/strace.1 b/strace.1 index 24dd7d3..2be7d83 100644 --- a/strace.1 +++ b/strace.1 @@ -472,7 +472,7 @@ Note that this is independent from t

Re: [PATCHv1] strace: add :signal option to efault

2016-12-27 Thread seraph
Thanks for the feedback. I've just sent the requested modifications. On Tue, Dec 27, 2016 at 01:59:15AM +0300, Dmitry V. Levin wrote: > > if (cflag == CFLAG_ONLY_STATS) { > > res = 0; > > @@ -716,7 +718,7 @@ trace_syscall_entering(struct tcb *tcp) > > /* Measure the entrance ti

GSoC 2017

2016-12-27 Thread Stefan Toncu
Hello! My name is Stefan Toncu and I am in my 3rd year at a Computer Science University. I want to participate in Google Summer of Code 2017 and while I was browsing through the last year’s projects, your organization

Re: [PATCH 1/4] tests/.gitignore: add missing files that should be ignored

2016-12-27 Thread Dmitry V. Levin
On Tue, Dec 27, 2016 at 11:43:28AM +0800, JingPiao Chen wrote: > * tests/.gitignore: Add add_key, attach-f-p-cmd and scno.h. > --- > tests/.gitignore | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tests/.gitignore b/tests/.gitignore > index 3b04590..bab02a0 100644 > --- a/tests/.giti

Re: [PATCHv2 1/2] strace: add :signal option to efault

2016-12-27 Thread Dmitry V. Levin
On Tue, Dec 27, 2016 at 12:14:06PM +0100, Seraphime Kirkovski wrote: > This extends the -e fault capability with a :signal option which > delivers a signal on entry of the specified syscall. > > :signal and :error are complementary, if they are both specified the > syscall will be injected as per

Re: [PATCH 2/2] man: document the :signal option to -e fault

2016-12-27 Thread Dmitry V. Levin
On Tue, Dec 27, 2016 at 12:14:36PM +0100, Seraphime Kirkovski wrote: > This adds :signal to strace.1 > > Signed-off-by: Seraphime Kirkovski > --- > strace.1 | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/strace.1 b/strace.1 > index 24dd7d3..2be7d83 100644