Re: [PATCH v17 08/15] seccomp: add system call filtering using BPF

From: Andrew Morton
Date: Fri Apr 06 2012 - 17:09:30 EST


On Fri, 06 Apr 2012 14:06:01 -0700
"H. Peter Anvin" <hpa@xxxxxxxxx> wrote:

> On 04/06/2012 02:05 PM, Andrew Morton wrote:
> >>>
> >>> hm, I'm surprised that we don't have a zero-returning implementation of
> >>> is_compat_task() when CONFIG_COMPAT=n. Seems silly. Blames Arnd.
> >>
> >> There is
> >
> > I can't find it. The definition in include/linux/compat.h is inside
> > #ifdef CONFIG_COMPAT.
> >
>
> I thought Linus globalized it very recently...

Oh, yeah, I misread.

We should be able to remove quite a few open-coded ifdefs now.
--
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/