Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: kernel test robot <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: c6ad9fd ("io_uring,lsm,selinux: add LSM hooks for io_uring_setup()") Signed-off-by: Paul Moore <[email protected]>
- Loading branch information