From 8283b5597d6d072345a2f21e6f9cf07aeea81823 Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Fri, 20 Jun 2025 01:32:49 +0800 Subject: [PATCH] kernel: swap CONFIG_KSU_SUSFS_SUS_SU and CONFIG_KSU_SUSFS_HAS_MAGIC_MOUNT feature flags --- kernel/core_hook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 6c8ae272..680ac887 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -973,10 +973,10 @@ int ksu_handle_prctl(int option, unsigned long arg2, unsigned long arg3, #ifdef CONFIG_KSU_SUSFS_OPEN_REDIRECT enabled_features |= (1 << 11); #endif -#ifdef CONFIG_KSU_SUSFS_SUS_SU +#ifdef CONFIG_KSU_SUSFS_HAS_MAGIC_MOUNT enabled_features |= (1 << 12); #endif -#ifdef CONFIG_KSU_SUSFS_HAS_MAGIC_MOUNT +#ifdef CONFIG_KSU_SUSFS_SUS_SU enabled_features |= (1 << 13); #endif error = copy_to_user((void __user*)arg3, (void*)&enabled_features, sizeof(enabled_features));