Commit Graph

95 Commits

Author SHA1 Message Date
ShirkNeko
6cf8f77b61 Add an uninstall attempt for the “/data/adb/kpm” path in the kernel mount logic to enhance the integrity of path management 2025-04-11 20:22:48 +08:00
ShirkNeko
bae61b03c5 Add dynamic structure metadata support to enhance readability and maintainability of kernel modules 2025-04-11 17:33:47 +08:00
ShirkNeko
ef4c1f50ab Update the log message prefixes in the Makefile to uniformly format the output 2025-04-11 04:07:29 +08:00
ShirkNeko
ad051ce22b Remove definition checks for atomic functions in the kernel Makefile to simplify path unloading logic 2025-04-11 04:04:55 +08:00
ShirkNeko
aee56e803d Add the definitions of the get_cred_rcu, can_umount, and path_umount functions to the Makefile to enhance the readability and maintainability of the path unloading logic 2025-04-11 03:59:31 +08:00
ShirkNeko
3c0944530d Add error checking to the kernel Makefile to ensure that the atomic_inc_not_zero or atomic_long_inc_not_zero functions are found in kernel/cred.c 2025-04-11 03:57:23 +08:00
ShirkNeko
549dc132a4 Add the definitions of the get_cred_rcu, can_umount, and path_umount functions to the Makefile to enhance the readability and maintainability of the path unloading logic 2025-04-11 03:55:23 +08:00
ShirkNeko
610313d7d6 Remove definition checking on get_cred_rcu and can_umount functions to simplify path unloading logic in kernel Makefile. 2025-04-11 03:46:21 +08:00
ShirkNeko
6988b3d506 Remove log messages for the get_cred_rcu function and update references to ATOMIC_INC_FUNC in kernel/cred.c. 2025-04-11 03:41:56 +08:00
ShirkNeko
d16f67ba64 Add a pre-compile check in the kernel Makefile to ensure that the path_umount function must be backtracked on 2025-04-11 03:40:27 +08:00
ShirkNeko
febaa7141b Update the kernel Makefile to add the KSU_UMOUNT build flag and refactor the atomic function checking logic. 2025-04-11 03:38:16 +08:00
ShirkNeko
e19bda36fa Tweak the kernel Makefile to fix the compilation flag order and ensure that KPM targets are handled correctly 2025-04-11 03:31:25 +08:00
ShirkNeko
01b21b838b Add a check for atomic functions to the kernel Makefile and update the output with the relevant information 2025-04-11 03:23:45 +08:00
ShirkNeko
dd5875bf48 Fix conditional statements in the KSU compatibility Makefile to ensure that the KSU_UMOUNT flag is handled correctly 2025-04-11 03:20:50 +08:00
ShirkNeko
204eba4cc1 Update kernel Makefile to support KSU compatibility, add get_cred_rcu function and modify get_task_cred logic 2025-04-11 03:17:23 +08:00
ShirkNeko
9554f7eba7 Refactor the KSU-related Makefile to add new function and feature definitions to support extensions. 2025-04-11 03:13:28 +08:00
ShirkNeko
f8fb26d030 Remove KSU-related Makefiles, removing function checks and definitions that are no longer needed. 2025-04-11 03:03:55 +08:00
ShirkNeko
c1d49a4f23 Refactoring KSU and SELinux related Makefiles to add checks and feature definitions to support new features 2025-04-11 02:55:42 +08:00
ShirkNeko
3082a9c90b Remove the SukiSU signature checking function and update the related signature verification logic. 2025-04-11 01:25:31 +08:00
ShirkNeko
3685058b29 Add SukiSU signature checking function and adjust the related constant definition. 2025-04-10 00:43:34 +08:00
ShirkNeko
4bc272f543 删除 KPM 模块加载器源文件 2025-04-07 20:56:04 +08:00
ShirkNeko
07a59692d1 Add a KPM module loader to support traversing directories and loading .kpm files. 2025-04-07 20:41:15 +08:00
ShirkNeko
f157f0bd31 Add KPM-compatible functions to support UID checking and exclusion logic 2025-04-07 19:51:18 +08:00
ShirkNeko
03933c30ab Update Makefile 2025-04-06 13:33:57 +08:00
ShirkNeko
3b185fa79e Update Makefile 2025-04-06 00:01:01 +08:00
ShirkNeko
53439be664 Update Makefile 2025-04-05 11:52:12 +08:00
ShirkNeko
81f228b18b 修复 KSU_VERSION 的定义逻辑,确保在未定义 KSU_MANUAL_VERSION 时使用正确的 KSU_VERSION 2025-04-04 15:47:38 +08:00
ShirkNeko
bbc90f9387 移除 KSU_MANUAL_VERSION 的定义 2025-04-04 15:41:02 +08:00
ShirkNeko
1c5c6b62a7 Merge branch 'susfs-dev' of https://github.com/ShirkNeko/SukiSU-Ultra into susfs-dev 2025-04-04 15:40:17 +08:00
ShirkNeko
938e132d17 更新 Makefile,修改 KSU_VERSION 计算逻辑以获取 main 分支的提交数量 2025-04-04 15:38:27 +08:00
ShirkNeko
d0caf37775 Update Makefile 2025-04-04 15:22:20 +08:00
ShirkNeko
05c3ce1ab9 Update Makefile 2025-04-04 13:50:48 +08:00
ShirkNeko
26ca79b8ee Update Makefile 2025-04-03 23:43:05 +08:00
ShirkNeko
472c72717f Update Makefile 2025-04-03 16:08:40 +08:00
ShirkNeko
2632c08ef0 Update Makefile 2025-04-03 15:20:26 +08:00
ShirkNeko
f62ad83c2f Update Makefile 2025-04-02 00:50:24 +08:00
ShirkNeko
020433b445 Update Makefile 2025-04-01 17:37:01 +08:00
ShirkNeko
f17e106464 移除 KPM 模块中函数的可见性修饰符,简化代码结构 2025-04-01 12:38:06 +08:00
ShirkNeko
aa7fd2fe2b 移除 compact.c 中对 sukisu_compact_find_symbol 函数的可见性修饰符,简化代码结构 2025-04-01 12:26:15 +08:00
ShirkNeko
78b662c360 更新 KPM 模块中的 copy_to_user 调用,增加对内核版本的条件编译支持,优化错误处理逻辑 2025-04-01 12:24:04 +08:00
ShirkNeko
f13de4f0d4 优化 KPM 模块中 copy_to_user 调用的错误处理,简化代码结构 2025-04-01 12:19:06 +08:00
ShirkNeko
88a84b71b7 修复 KPM 模块中 copy_to_user 调用的错误处理,确保在复制失败时记录错误信息 2025-04-01 12:04:40 +08:00
ShirkNeko
dc8b89adde 移除 compact.c 中对 copy_to_user 函数的外部声明,简化代码结构 2025-04-01 11:43:22 +08:00
ShirkNeko
0445d9b968 在 compact.c 中添加对 copy_to_user 函数的外部声明,并调整编译选项以优化性能 2025-04-01 11:32:40 +08:00
ShirkNeko
039083c971 移除 copy_to_user 函数的实现,简化代码结构 2025-04-01 11:27:54 +08:00
ShirkNeko
48227de1c8 更新 KPM 模块,调整函数节区标记以优化内存布局,并添加用户数据复制功能 2025-04-01 11:14:54 +08:00
ShirkNeko
0fecd7628b 更新 Makefile,移除 LTO 类型不匹配警告的编译选项 2025-04-01 10:56:57 +08:00
ShirkNeko
f8e456dfcf 更新 KPM 模块,添加函数节区标记以优化内存布局,并在 Makefile 中调整编译选项以消除类型不匹配警告 2025-04-01 10:35:02 +08:00
ShirkNeko
9b9d72f200 更新 KPM 模块,添加错误处理以确保用户数据复制成功 2025-03-31 20:39:40 +08:00
ShirkNeko
72deeaa9a5 更新 Makefile,修复 KPM 启用状态信息的输出逻辑 2025-03-31 20:28:29 +08:00