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));