Re: linux-next: build failure after merge of the selinux tree

From: Paul Moore
Date: Tue Apr 02 2019 - 21:25:35 EST

On Tue, Apr 2, 2019 at 9:22 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi Paul,
> After merging the selinux tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> x86_64-linux-gnu-ld: security/selinux/hooks.o: in function `selinux_kernfs_init_security':
> hooks.c:(.text+0x8f7d): undefined reference to `kernfs_xattr_get'
> x86_64-linux-gnu-ld: hooks.c:(.text+0x8ff5): undefined reference to `kernfs_xattr_get'
> x86_64-linux-gnu-ld: hooks.c:(.text+0x91b5): undefined reference to `kernfs_xattr_set'
> Caused by commit
> 1991af34fa26 ("kernfs: fix xattr name handling in LSM helpers")
> I have used the selinux tree from next-20190402 for today.

Hi Stephen,

My apologies, I just noticed the same failure and removed the commit
from selinux/next. I let Ondrej know and I would expect he'll have an
updated patch shortly.

paul moore