The bug report outlines several issues encountered in different kernel versions when using the KernelSU solution. For kernels earlier than 5.0.0, the function MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver)
in the file ksu.c
causes compilation errors. This is likely due to changes in the kernel's namespace handling after version 5.0.0. In kernels earlier than 4.14, the issue arises from the absence of the compiler_types.h
file, which leads to compilation errors when trying to include it. This suggests that the file was introduced in kernel version 4.14 or later. Lastly, for kernels older than 4.11, the file sucompat.c
incorrectly references task_stack.h
instead of sched.h
. This is a typographical error that needs to be corrected to ensure proper functionality. These issues highlight the importance of keeping up with kernel version changes and ensuring that the KernelSU solution is compatible with the specific kernel version being used.
本博客所有文章除特别声明外,均采用
CC BY-NC-SA 4.0
许可协议。转载请注明来自KernelSU分享库 !
评论已关闭