Revert "[1.0] Drop Non-GKI Support (#1483)"

This reverts commit 97d70b40fc.
This commit is contained in:
Rifat Azad
2024-12-24 06:54:08 +06:00
parent 8d2b017c96
commit 1a84f69f5c
14 changed files with 581 additions and 11 deletions

View File

@@ -24,6 +24,10 @@ extern long ksu_strncpy_from_user_nofault(char *dst,
const void __user *unsafe_addr,
long count);
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) || defined(CONFIG_IS_HW_HISI)
extern struct key *init_session_keyring;
#endif
extern void ksu_android_ns_fs_check();
extern struct file *ksu_filp_open_compat(const char *filename, int flags,
umode_t mode);