1 2 3 4 5 6 7 8 9 10 11
// SPDX-License-Identifier: GPL-2.0-or-later #include <asm/kup.h> void __init setup_kuap(bool disabled) { pr_info("Activating Kernel Userspace Access Protection\n"); if (disabled) pr_warn("KUAP cannot be disabled yet on 6xx when compiled in\n"); }