Re: linux-next: Tree for Feb 16 (selinux)

From: Eric Paris
Date: Thu Feb 16 2012 - 14:24:17 EST


It's because # CONFIG_NETFILTER is not set

I'll include net/flow.h where I use it rather than get it from the
ridiculous chain:

In file included from include/linux/netfilter.h:340,
from include/net/netns/x_tables.h:5,
from include/net/net_namespace.h:19,
from include/linux/netdevice.h:49,
from include/net/sock.h:50,
from include/net/request_sock.h:23,
from include/net/netlabel.h:40,
from security/selinux/ss/services.c:55:

WHEW!

On Thu, Feb 16, 2012 at 10:58 AM, Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
> On 02/15/2012 09:41 PM, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20120215:
>
>
> on x86_64:
>
>  CC      security/selinux/ss/services.o
> In file included from /next/linux-next-20120216/security/selinux/ss/services.c:69:0:
> /next/linux-next-20120216/security/selinux/include/xfrm.h: In function 'selinux_xfrm_notify_policyload':
> /next/linux-next-20120216/security/selinux/include/xfrm.h:51:14: error: 'flow_cache_genid' undeclared (first use in this function)
> /next/linux-next-20120216/security/selinux/include/xfrm.h:51:14: note: each undeclared identifier is reported only once for each function it appears in
> make[3]: *** [security/selinux/ss/services.o] Error 1
>
>
> Full randconfig file is attached.
>
>
> --
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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/