Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1185466
| From | Michael Ellerman <mpe@ellerman.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH 09/12] powerpc/kernel: Add SIG_SYS support for compat tasks |
| Date | 2015-07-16 05:40 +0200 |
| Message-ID | <pMIbD-30a-1@gated-at.bofh.it> (permalink) |
| References | <pMpsl-LG-3@gated-at.bofh.it> <pMpsl-LG-15@gated-at.bofh.it> <pMwDw-3bC-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 2015-07-15 at 08:12 -0700, Kees Cook wrote:
> On Wed, Jul 15, 2015 at 12:37 AM, Michael Ellerman <mpe@ellerman.id.au> wrote:
> > diff --git a/tools/testing/selftests/seccomp/seccomp_bpf.c b/tools/testing/selftests/seccomp/seccomp_bpf.c
> > index c5abe7fd7590..b2374c131340 100644
> > --- a/tools/testing/selftests/seccomp/seccomp_bpf.c
> > +++ b/tools/testing/selftests/seccomp/seccomp_bpf.c
> > @@ -645,6 +645,10 @@ static struct siginfo TRAP_info;
> > static volatile int TRAP_nr;
> > static void TRAP_action(int nr, siginfo_t *info, void *void_context)
> > {
> > + fprintf(stderr, "in TRAP_action\n");
> > + fprintf(stderr, "info->si_call_addr %p\n", info->si_call_addr);
> > + fprintf(stderr, "info->si_syscall %u\n", info->si_syscall);
> > + fprintf(stderr, "info->si_arch %u\n", info->si_arch);
> > memcpy(&TRAP_info, info, sizeof(TRAP_info));
> > TRAP_nr = nr;
> > }
>
> This chunk looks like left-over debugging?
Urgh yep, that's ugly. Thanks for noticing.
Will remove before merging :)
cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC PATCH 09/12] powerpc/kernel: Add SIG_SYS support for compat tasks Michael Ellerman <mpe@ellerman.id.au> - 2015-07-15 09:40 +0200
Re: [RFC PATCH 09/12] powerpc/kernel: Add SIG_SYS support for compat tasks Kees Cook <keescook@chromium.org> - 2015-07-15 17:20 +0200
Re: [RFC PATCH 09/12] powerpc/kernel: Add SIG_SYS support for compat tasks Michael Ellerman <mpe@ellerman.id.au> - 2015-07-16 05:40 +0200
csiph-web