On Wed, Dec 28, 2016 at 09:53:03PM +0300, Dmitry V. Levin wrote:
> 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 <kirkser...@gmail.com>
> On Wed, Dec 28, 2016 at 05:23:03PM +0100, Seraphime Kirkovski wrote:
> > Signed-off-by: Seraphime Kirkovski <kirkser...@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.

As -e fault= injection syntax has been extended to configure various kinds
of injections besides fault injection, the original option name became too
narrow.

After some discussions, I moved signal injection and syscall return value
injection features to a new -e inject= option intended for all kinds of
injections supported by strace.

Being a part of released strace version, -e fault= options remains
supported as an interface to specify syscall fault injection.


-- 
ldv

Attachment: pgpESkFjRnFAW.pgp
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to