Re: [RFC v2] Add basic syscalls fault injection

2016-05-18 Thread Dmitry V. Levin
On Wed, May 18, 2016 at 03:59:09AM +0200, Nahim El Atmani wrote: > Hi, > > On Mon, 16 May 2016 14:46:38 +0300, Dmitry V. Levin wrote: > > > Since the syscall is directly passed to qual_syscall() everything you used > > > before is still available (syscall number, name, classes...). The > > > occu

Re: [RFC v2] Add basic syscalls fault injection

2016-05-17 Thread Nahim El Atmani
Hi, On Mon, 16 May 2016 14:46:38 +0300, Dmitry V. Levin wrote: > > Since the syscall is directly passed to qual_syscall() everything you used > > before is still available (syscall number, name, classes...). The > > occurrence is > > actually an integer > > Any integer? Can it be negative or ze

Re: [RFC v2] Add basic syscalls fault injection

2016-05-16 Thread Dmitry V. Levin
On Sun, May 15, 2016 at 01:33:47AM +0200, Nahim El Atmani wrote: > From: Nahim El Atmani > > This patch adds a basic support for the faults injection in strace. > As a reminder fault injection is something that could be really useful in many > ways for developpers and testers. It could be used in