Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Apr 3, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 10 lines · Stephen Rothwell

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'

Quoted 5 lines

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.

Signature · 2 lines
paul moore
www.paul-moore.com