Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 4 messages Feb 10, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the security tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

In file included from include/linux/perf_event.h:62,
from arch/arm/vfp/vfpmodule.c:21:
include/linux/security.h:2379:12: warning: no previous prototype for 'security_uring_allowed' [-Wmissing-prototypes]
2379 | extern int security_uring_allowed(void)

      |            ^~~~~~~~~~~~~~~~~~~~~~

(and many more)

Caused by commit

c6ad9fdbd44b ("io_uring,lsm,selinux: add LSM hooks for io_uring_setup()")

I have used the security tree from next-20250207 for today.

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

Hi all,

After merging the security tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

In file included from include/linux/perf_event.h:62,
from arch/arm/vfp/vfpmodule.c:21:
include/linux/security.h:2379:12: warning: no previous prototype for 'security_uring_allowed' [-Wmissing-prototypes]
2379 | extern int security_uring_allowed(void)

      |            ^~~~~~~~~~~~~~~~~~~~~~

Thanks Stephen, I just pushed a fix to the LSM tree, it should be fixed on your next pull.

https://lore.kernel.org/linux-security-module/[email protected]/

Signature · 1 line
paul-moore.com
#2 lore raw

Hi Paul,

Quoted 12 lines · On Sun, 9 Feb 2025 22:44:42 -0500 Paul Moore <[email protected]> wrote:
Quoted 9 lines · Stephen Rothwell

After merging the security tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

In file included from include/linux/perf_event.h:62,
from arch/arm/vfp/vfpmodule.c:21:
include/linux/security.h:2379:12: warning: no previous prototype for 'security_uring_allowed' [-Wmissing-prototypes]
2379 | extern int security_uring_allowed(void)

      |            ^~~~~~~~~~~~~~~~~~~~~~  
Quoted 4 lines

Thanks Stephen, I just pushed a fix to the LSM tree, it should be fixed on your next pull.

https://lore.kernel.org/linux-security-module/[email protected]/

Shouldn't it be "static inline" instead of "extern inline"?

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 13 lines · Stephen Rothwell
Quoted 12 lines · On Sun, 9 Feb 2025 22:44:42 -0500 Paul Moore <[email protected]> wrote:
Quoted 9 lines · Stephen Rothwell

After merging the security tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

In file included from include/linux/perf_event.h:62,
from arch/arm/vfp/vfpmodule.c:21:
include/linux/security.h:2379:12: warning: no previous prototype for 'security_uring_allowed' [-Wmissing-prototypes]
2379 | extern int security_uring_allowed(void)

      |            ^~~~~~~~~~~~~~~~~~~~~~
Quoted 6 lines
Quoted 4 lines

Thanks Stephen, I just pushed a fix to the LSM tree, it should be fixed on your next pull.

https://lore.kernel.org/linux-security-module/[email protected]/

Shouldn't it be "static inline" instead of "extern inline"?

Yes it should :) Evidently I was fixated on the missing "inline" and trying to fix it before bed that I missed the "extern" staring me right in the face.

This will be fixed shortly.

Signature · 1 line
paul-moore.com