Re: [Qemu-devel] [PATCHv5 3/4] Adding qemu-seccomp-debug.[ch]

2012-08-08 Thread Eduardo Otubo
On Mon, Aug 06, 2012 at 10:19:40AM -0300, Eduardo Otubo wrote: > On Fri, Aug 03, 2012 at 03:54:40PM -0500, Anthony Liguori wrote: > > Eduardo Otubo writes: > > > > > The new 'trap' (debug) mode will capture the illegal system call before > > > it is > > > executed. The feature and the implementa

Re: [Qemu-devel] [PATCHv5 3/4] Adding qemu-seccomp-debug.[ch]

2012-08-06 Thread Eduardo Otubo
On Fri, Aug 03, 2012 at 03:54:40PM -0500, Anthony Liguori wrote: > Eduardo Otubo writes: > > > The new 'trap' (debug) mode will capture the illegal system call before it > > is > > executed. The feature and the implementation is based on Will Drewry's > > patch - https://lkml.org/lkml/2012/4/12/

Re: [Qemu-devel] [PATCHv5 3/4] Adding qemu-seccomp-debug.[ch]

2012-08-03 Thread Eric Blake
On 08/03/2012 02:54 PM, Anthony Liguori wrote: > Eduardo Otubo writes: > >> The new 'trap' (debug) mode will capture the illegal system call before it is >> executed. The feature and the implementation is based on Will Drewry's >> patch - https://lkml.org/lkml/2012/4/12/449 >> >> +if (syscal

Re: [Qemu-devel] [PATCHv5 3/4] Adding qemu-seccomp-debug.[ch]

2012-08-03 Thread Anthony Liguori
Eduardo Otubo writes: > The new 'trap' (debug) mode will capture the illegal system call before it is > executed. The feature and the implementation is based on Will Drewry's > patch - https://lkml.org/lkml/2012/4/12/449 > > v4: > * New files in v4 > * If SCMP_ACT_TRAP flag used when calling se

[Qemu-devel] [PATCHv5 3/4] Adding qemu-seccomp-debug.[ch]

2012-08-01 Thread Eduardo Otubo
The new 'trap' (debug) mode will capture the illegal system call before it is executed. The feature and the implementation is based on Will Drewry's patch - https://lkml.org/lkml/2012/4/12/449 v4: * New files in v4 * If SCMP_ACT_TRAP flag used when calling seccomp_init(), the kernel will send