Re: [PATCH 02/11] powerpc/kernel: Change the do_syscall_trace_enter() API

2015-07-27 Thread Kees Cook
On Thu, Jul 23, 2015 at 3:21 AM, Michael Ellerman wrote: > The API for calling do_syscall_trace_enter() is currently sensible > enough, it just returns the (modified) syscall number. > > However once we enable seccomp filter it will get more complicated. When > seccomp filter runs, the seccomp ker

[PATCH 02/11] powerpc/kernel: Change the do_syscall_trace_enter() API

2015-07-23 Thread Michael Ellerman
The API for calling do_syscall_trace_enter() is currently sensible enough, it just returns the (modified) syscall number. However once we enable seccomp filter it will get more complicated. When seccomp filter runs, the seccomp kernel code (via SECCOMP_RET_ERRNO), or a ptracer (via SECCOMP_RET_TRA