Re: [PATCH 2/3] vsyscall_64: allow SECCOMP_RET_TRACErs to skip

2012-08-13 Thread Andrew Lutomirski
On Fri, Aug 10, 2012 at 2:14 AM, James Morris wrote: > On Sat, 14 Jul 2012, Will Drewry wrote: > >> Agreed :) I don't mind making tweaks to get it right, but this only >> matters to users that want to: >> - use seccomp filter >> - with ptrace (or trap with resumption and not sigreturn) >> - of tim

Re: [PATCH 2/3] vsyscall_64: allow SECCOMP_RET_TRACErs to skip

2012-08-10 Thread James Morris
On Sat, 14 Jul 2012, Will Drewry wrote: > Agreed :) I don't mind making tweaks to get it right, but this only > matters to users that want to: > - use seccomp filter > - with ptrace (or trap with resumption and not sigreturn) > - of time, gettimeofday, and getcpu > since they will then have to inc

Re: [PATCH 2/3] vsyscall_64: allow SECCOMP_RET_TRACErs to skip

2012-07-14 Thread Will Drewry
On Sat, Jul 14, 2012 at 11:21 AM, Andrew Lutomirski wrote: > On Sat, Jul 14, 2012 at 9:15 AM, Andrew Lutomirski wrote: >> On Sat, Jul 14, 2012 at 8:57 AM, Will Drewry wrote: >>> On Sat, Jul 14, 2012 at 10:50 AM, Will Drewry wrote: On Sat, Jul 14, 2012 at 10:44 AM, Andrew Lutomirski wrote:

Re: [PATCH 2/3] vsyscall_64: allow SECCOMP_RET_TRACErs to skip

2012-07-14 Thread Andrew Lutomirski
On Sat, Jul 14, 2012 at 9:15 AM, Andrew Lutomirski wrote: > On Sat, Jul 14, 2012 at 8:57 AM, Will Drewry wrote: >> On Sat, Jul 14, 2012 at 10:50 AM, Will Drewry wrote: >>> On Sat, Jul 14, 2012 at 10:44 AM, Andrew Lutomirski wrote: I think I'd prefer if changing to something other than what

Re: [PATCH 2/3] vsyscall_64: allow SECCOMP_RET_TRACErs to skip

2012-07-14 Thread Andrew Lutomirski
On Sat, Jul 14, 2012 at 8:57 AM, Will Drewry wrote: > On Sat, Jul 14, 2012 at 10:50 AM, Will Drewry wrote: >> On Sat, Jul 14, 2012 at 10:44 AM, Andrew Lutomirski wrote: >>> I think I'd prefer if changing to something other than whatever value is >>> used to cancel the syscall resulted in a crash

Re: [PATCH 2/3] vsyscall_64: allow SECCOMP_RET_TRACErs to skip

2012-07-14 Thread Will Drewry
On Sat, Jul 14, 2012 at 10:50 AM, Will Drewry wrote: > On Sat, Jul 14, 2012 at 10:44 AM, Andrew Lutomirski wrote: >> I think I'd prefer if changing to something other than whatever value is >> used to cancel the syscall resulted in a crash rather than just being >> ignored. > > I was trying to ke

Re: [PATCH 2/3] vsyscall_64: allow SECCOMP_RET_TRACErs to skip

2012-07-14 Thread Will Drewry
On Sat, Jul 14, 2012 at 10:44 AM, Andrew Lutomirski wrote: > I think I'd prefer if changing to something other than whatever value is > used to cancel the syscall resulted in a crash rather than just being > ignored. I was trying to keep as much seccomp-ptrace behavior intact rather than making i