[PATCHv3 1/2] strace: implement signal injection

Dmitry V. Levin ldv at altlinux.org
Wed Dec 28 18:53:03 UTC 2016


On Wed, Dec 28, 2016 at 05:22:36PM +0100, Seraphime Kirkovski wrote:
> This extends the fault injection capability with :signal=SIG option
> which injects a signal on entering each syscall from the specified set.
> 
> :signal and :error options are complementary, if they are both specified
> the syscall will be fault injected as usual and the specified signal
> will be delivered to the tracee.
> 
> Signed-off-by: Seraphime Kirkovski <kirkseraph at gmail.com>
On Wed, Dec 28, 2016 at 05:23:03PM +0100, Seraphime Kirkovski wrote:
> Signed-off-by: Seraphime Kirkovski <kirkseraph at gmail.com>
> ---
> 
> Not sure exactly how to put in the NEWS file. Feel free to change
> or remove the hunk if you dislike it.
> 
> This should take in account your edits.

Thanks, I've merged both patches after a bit more editing of commit
messages and documentation.

I still feel pleasantly surprised about implementation simplicity.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20161228/9384d33a/attachment.bin>


More information about the Strace-devel mailing list