Re: [PATCH v2] seccomp: Make syscall skipping and nr changes more consistent

2012-08-09 Thread Andy Lutomirski
On Thu, Aug 2, 2012 at 9:36 PM, James Morris wrote: > On Wed, 1 Aug 2012, Andy Lutomirski wrote: > >> This fixes two issues that could cause incompatibility between >> kernel versions: >> >> - If a tracer uses SECCOMP_RET_TRACE to select a syscall number >>higher than the largest known syscal

Re: [PATCH v2] seccomp: Make syscall skipping and nr changes more consistent

2012-08-02 Thread James Morris
On Wed, 1 Aug 2012, Andy Lutomirski wrote: > This fixes two issues that could cause incompatibility between > kernel versions: > > - If a tracer uses SECCOMP_RET_TRACE to select a syscall number >higher than the largest known syscall, emulate the unknown >vsyscall by returning -ENOSYS.