Faris
b6e2fa383a
ksud: fix compilation and remove unused imports
...
Signed-off-by: Faris <rsuntk@yukiprjkt.my.id >
2025-10-19 18:44:07 +08:00
Ylarod
61f85a029e
ksud, kernel: Pick some upstream changes and remove unused functions
...
* Upstream commit:
f130f7572f
Signed-off-by: Faris <rsuntk@yukiprjkt.my.id >
2025-10-19 18:41:30 +08:00
5ec1cff
b1564b77a2
ksud: refine mount
...
- `magic_mount` now takes the tmp_path from its argument
- `.notmpfs` and `.nomount` now behave the same
skip:
ksud: cache tmp path (74ce44de21963fddc83897846eed28eca89d78aa)
Co-authored-by: shatyuka <shatyuka@qq.com >
Signed-off-by: Faris <rsuntk@yukiprjkt.my.id >
2025-10-19 18:39:57 +08:00
生于生时 亡于亡刻
0a804ba170
feat: Optimize some codes (ksud) ( #465 )
...
* chore: make cargo clippy happy
Signed-off-by: Tools-app <localhost.hutao@gmail.com >
* chore: Optimize import
- Format as a standard import
Signed-off-by: Tools-app <localhost.hutao@gmail.com >
---------
Signed-off-by: Tools-app <localhost.hutao@gmail.com >
2025-10-12 15:48:24 +08:00
由崎黑板
7ef9230d66
Disable Samsung Activation Verify to solve -45(2000) error during activation on China Mainland Samsung devices ( #446 )
2025-10-06 23:02:54 +08:00
ShirkNeko
044b4a2f9c
manager: Simplify kpm management by migrating to the ksud side.
2025-10-06 20:53:18 +08:00
ShirkNeko
bf4e12ce80
ksud: Modified KPM to use the prctl system call instead of external execution.
2025-09-23 20:37:40 +08:00
ShirkNeko
5497c0004d
Revert "ksud: Only start the monitor and load the module when KPM is enabled"
...
This reverts commit 3ed1d9aebc .
2025-09-23 18:40:58 +08:00
ShirkNeko
cc1c66bb6f
Add UID scanner functionality and related infrastructure
...
- Introduced a new module `uid_scanner` in userspace for managing UID scanning.
- Created a new GitHub Actions workflow for building the `user_scanner`.
- Implemented kernel communication in `throne_comm.c` and `throne_comm.h` to handle user space updates and rescan requests.
- Developed the `uid_scanner` daemon in C to scan user directories and manage UID whitelists.
- Added configuration management for the UID scanner with support for multiple users and auto-scanning.
- Implemented logging and error handling throughout the UID scanning process.
- Created necessary build files for the `user_scanner` JNI integration.
- Added a `.gitignore` file to exclude build artifacts.
2025-09-19 21:01:01 +08:00
ShirkNeko
3ed1d9aebc
ksud: Only start the monitor and load the module when KPM is enabled
...
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com >
Co-authored-by: mihoy3rd <159522651+mihoy3rd@users.noreply.github.com >
2025-09-10 14:56:23 +08:00
5ec1cff
a041b90891
ksud: make clippy happy ( #2683 )
...
e1be06240d/clippy_lints/src/format_args.rs (L168)
2025-08-10 17:59:12 +08:00
ShirkNeko
634adad15c
ksud: fmt
2025-06-27 11:15:19 +08:00
ShirkNeko
332fdcd2a7
Fix KPM module loading calls to explicitly use namespaces
2025-04-14 15:55:35 +08:00
ShirkNeko
aa20d04d3a
Refactoring KPM module loading logic, removing existing KPM loading functions, simplifying code and enhancing error handling
2025-04-14 15:51:47 +08:00
ShirkNeko
67babc2858
Enhanced KPM module loading logic, added filename validation and error handling
2025-04-14 15:35:11 +08:00
ShirkNeko
b850336872
feat: Optimize KPM file processing logic, use is_some_and method to simplify extension checking, and enhance readability and stability of event processing.
2025-04-07 22:28:22 +08:00
ShirkNeko
c0c4ea9f86
feat: 引入KPM模块以支持文件系统数据处理
2025-04-07 21:26:08 +08:00
ShirkNeko
de089b7b73
feat: Adding a KPM monitor to handle KPM file creation and deletion events
2025-04-07 21:18:14 +08:00
backslashxx
b28789ac7a
ksud: probe for more workdir candidates ( #12 )
...
- reuses old ksu functions
- makes sure its an empty dir
- adapted from https://github.com/rsuntk/KernelSU/commit/141f010 71cb86c2e9
Co-authored-by: powellnorma <101364699+powellnorma@users.noreply.github.com >
Co-authored-by: Rissu <90097027+rsuntk@users.noreply.github.com >
2025-03-09 17:00:03 +08:00
5ec1cff
99d923cf8b
reformat rust codes
2025-03-09 00:37:50 +08:00
5ec1cff
c5ec2ff94b
ksud: make tmpfs and magic mount optional
...
- Create /data/adb/ksu/{.notmpfs,.nomount} to disable them.
2025-03-09 00:05:26 +08:00
5ec1cff
ffa571e950
ksud: refine tmpfs
2025-03-08 23:56:23 +08:00
5ec1cff
af988ec8ec
chore: fmt
2025-03-08 23:55:23 +08:00
5ec1cff
a5edae9fac
implement magic mount
2025-03-08 23:55:20 +08:00
weishu
4fdd3e07e5
ksud: migrate to Rust 2024 edition
2025-02-24 16:53:37 +08:00
LoveSy
fd09ccfc29
Drop some legacy codes ( #1981 )
2024-08-15 17:04:02 +08:00
weishu
a3df721b84
Revert "su: allocate new pty ( #1693 )"
...
This reverts commit 935dc18faa .
2024-05-08 21:18:55 +08:00
5ec1cff
935dc18faa
su: allocate new pty ( #1693 )
2024-05-07 19:02:59 +08:00
weishu
d77988c1ac
ksud: catch dmesg in bootlog
2024-03-11 14:20:27 +08:00
weishu
fe7ec370d4
ksud: fmt & tidy
2024-03-11 14:01:21 +08:00