kernel:Compatible with devices based on Huawei EMUI10 (#1447)
EMUI 10 kernel version is 4.14.xxx. The SELinux of Huawei's modified EMUI10 kernel is still similar to the EMUI 9 version. This commit not support HarmonyOS 2 based EMUI 10.
This commit is contained in:
@@ -15,7 +15,9 @@
|
|||||||
* From ss/ebitmap.h
|
* From ss/ebitmap.h
|
||||||
*/
|
*/
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) && \
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) && \
|
||||||
LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0)
|
LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) || \
|
||||||
|
LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0) && \
|
||||||
|
LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
|
||||||
#ifdef HISI_SELINUX_EBITMAP_RO
|
#ifdef HISI_SELINUX_EBITMAP_RO
|
||||||
#define CONFIG_IS_HW_HISI
|
#define CONFIG_IS_HW_HISI
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user