Commit 4632cd0e authored by Paul Moore's avatar Paul Moore
Browse files

lsm: fix a missing security_uring_allowed() prototype



The !CONFIG_SECURITY dummy function was declared as an "extern int"
instead of "static inline" (likely a copy-n-paste error), which was
was causing the compiler to complain about a missing prototype.  This
patch converts the dummy definition over to a "static inline" to resolve
the compiler problems.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/oe-kbuild-all/202502081912.TeokpAAe-lkp@intel.com/


Fixes: c6ad9fdb ("io_uring,lsm,selinux: add LSM hooks for io_uring_setup()")
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent c6ad9fdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment