Files
SukiSU-Ultra/kernel
Natsume324 3f4293e69a Fixed an error in the SukiSU integration of the Kirin 970 HarmonyOS2 kernel source code:
- Error: In the Kirin 970 HarmonyOS2 kernel source code, integrating SukiSU requires disabling the CONFIG_HKIP_SELINUX_PROT configuration option. Disabling this option will enable the use of flex_array. However, in the add_type and add_typeattribute_raw functions in kernel/selinux/sepolicy.c, if a Huawei HISI device is detected, ebitmap not flex_array is used, causing an error.

- Fix: Added conditional checks to the add_type and add_typeattribute_raw functions in kernel/selinux/sepolicy.c. Because the Kirin 970 EMUI10 kernel source code does not use flex_array, an option defined only in the EMUI10 kernel configuration is added to determine the kernel source code version.
2025-10-02 01:18:57 +08:00
..
2025-08-27 15:15:17 +08:00
2023-06-16 19:53:15 +08:00
2025-07-05 16:29:40 +08:00
2023-06-16 19:53:15 +08:00
2023-06-16 19:53:15 +08:00
2025-09-27 23:02:40 +08:00
2025-09-27 23:02:40 +08:00
2025-09-24 16:22:02 +08:00
2023-02-02 09:04:07 +08:00
2025-09-24 22:35:59 +08:00
2025-09-27 21:11:05 +08:00