Commit Graph

87 Commits

Author SHA1 Message Date
rsuntk
84a0ab78fb kernel: make path_umount backporting as optional
Since https://github.com/backslashxx/KernelSU/commit/4f8943a, path_umount is no longer needed.

Signed-off-by: rsuntk <rsuntk@yukiprjkt.my.id>
2025-05-24 15:02:40 +08:00
YC酱luyancib
6ee558d52a kernel:fix missing auto backport can_mount #85 2025-05-18 18:39:20 +08:00
ShirkNeko
95c47b8602 Fixed misspelling of CONFIG_KSU_HOOK_KPROBES to CONFIG_KSU_KPROBES_HOOK in Makefile and related files. 2025-05-17 18:33:29 +08:00
ShirkNeko
fb94ea9dfd 修正Makefile中关于CONFIG_KSU_HOOK_KPROBES的拼写错误 2025-05-16 23:48:37 +08:00
由崎黑板
8db72cc414 修正Makefile中关于CONFIG_KSU_HOOK_KPROBES的错误 #78 2025-05-16 23:45:12 +08:00
ShirkNeko
986a706f25 Remove checks on atomic functions to simplify the Makefile 2025-05-16 11:32:44 +08:00
ShirkNeko
049865daea Remove duplicate get_cred_rcu backport 2025-05-15 21:26:12 +08:00
ShirkNeko
682fdf0afe Prioritize sukisu recognition.
Simplified manual hooks
2025-05-10 14:38:45 +08:00
ShirkNeko
970e7651a5 Refactoring Kconfig and Makefile to optimize KernelSU configuration logic and simplify kernel type determination 2025-04-19 16:02:18 +08:00
ShirkNeko
1a563bb3e1 Update Makefile to add support for kernel version 6 and optimize KERNEL_TYPE judgment logic. 2025-04-19 14:44:49 +08:00
ShirkNeko
6c2e67cd50 更新Makefile,添加内核类型判断逻辑并输出相关信息 2025-04-17 20:07:02 +08:00
ShirkNeko
be8d6ca052 重构Makefile中的KPROBES钩子逻辑,简化条件编译信息输出 2025-04-17 19:53:21 +08:00
ShirkNeko
b72ab79e06 简化Makefile中的内核版本判断逻辑,移除冗余的条件编译代码 2025-04-17 19:52:50 +08:00
ShirkNeko
28f006ed39 Refactor Kconfig and Makefile, update KPROBES related configurations, simplify conditional compilation logic 2025-04-17 19:46:14 +08:00
ShirkNeko
8ada7757ea Update Makefile 2025-04-15 15:14:20 +08:00
ShirkNeko
04f2b53754 Add the definition of the get_cred_rcu function to the Makefile to support SukiSU compatibility 2025-04-11 23:40:30 +08:00
ShirkNeko
3923007430 Add the KSU_COMPAT_GET_CRED_RCU flag to the Makefile to support the compatibility feature 2025-04-11 20:51:24 +08:00
ShirkNeko
d240c1035f Fix spelling error in SELinux driver check to ensure current_sid function is recognized correctly 2025-04-11 20:46:52 +08:00
ShirkNeko
6060fdd4ab Remove the KSU_COMPAT_GET_CRED_RCU flag from the Makefile and add a compile check for the path_umount function to ensure that the necessary validation is done before compilation. 2025-04-11 20:44:45 +08:00
ShirkNeko
e54785c069 Update Makefile to support SukiSU, add get_cred_rcu, can_umount, and path_umount functions, and change information to reflect the new name. 2025-04-11 20:39:43 +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
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