kernel: swap CONFIG_KSU_SUSFS_SUS_SU and CONFIG_KSU_SUSFS_HAS_MAGIC_MOUNT feature flags
This commit is contained in:
@@ -973,10 +973,10 @@ int ksu_handle_prctl(int option, unsigned long arg2, unsigned long arg3,
|
|||||||
#ifdef CONFIG_KSU_SUSFS_OPEN_REDIRECT
|
#ifdef CONFIG_KSU_SUSFS_OPEN_REDIRECT
|
||||||
enabled_features |= (1 << 11);
|
enabled_features |= (1 << 11);
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_KSU_SUSFS_SUS_SU
|
#ifdef CONFIG_KSU_SUSFS_HAS_MAGIC_MOUNT
|
||||||
enabled_features |= (1 << 12);
|
enabled_features |= (1 << 12);
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_KSU_SUSFS_HAS_MAGIC_MOUNT
|
#ifdef CONFIG_KSU_SUSFS_SUS_SU
|
||||||
enabled_features |= (1 << 13);
|
enabled_features |= (1 << 13);
|
||||||
#endif
|
#endif
|
||||||
error = copy_to_user((void __user*)arg3, (void*)&enabled_features, sizeof(enabled_features));
|
error = copy_to_user((void __user*)arg3, (void*)&enabled_features, sizeof(enabled_features));
|
||||||
|
|||||||
Reference in New Issue
Block a user