Re: [kees:seccomp/tip 2/2] kernel/ptrace.c:567:3: note: in expansion of macro 'if'

From: Oleg Nesterov
Date: Mon Jun 15 2015 - 18:32:12 EST


On 06/15, Kees Cook wrote:
>
> Looks like dead-code elimination happens after structures are
> accessed, so this needs to use the accessor.

Ah, I forgot we have the dummy "struct seccomp { }" for SECCOMP=n

> Sorry I missed this
> earlier!

Me too :/

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/