Commit Graph

274 Commits

Author SHA1 Message Date
tiann
76afc3bb2a ksud: trim command output 2023-01-06 13:10:27 +08:00
tiann
01b6694f9a ksud: support post-fs-data.sh run as daemon.
1. We should make the `post-fs-data.sh` use itself a process group, otherwise it will receive signal from other process and make it exit accidentally.
2. And we should also switch child process' cgroup out of parent process, otherwise it would be kill by cgroup.
2023-01-06 12:59:21 +08:00
残页
56d630b91e ksud: use the same variable type in scripts (#26)
When executing module install scripts, KSU is set to "true"; when executing module post-fs-data scripts, KSU is set to "1". This may cause confusions so use the same value instead.
2023-01-06 11:49:13 +08:00
tiann
edd2f030b8 ksud: block stderr of installer script 2023-01-05 18:47:05 +08:00
tiann
2a546a1ed8 ksud: fix selinux unlabeled of modules dir 2023-01-05 16:58:00 +08:00
tiann
e38a463b5e ksud: Don't load module in safe mode 2023-01-05 14:50:09 +08:00
tiann
71b7a3d6a8 ksud: Fix module may uninstall failed 2023-01-05 14:38:59 +08:00
tiann
3ce8438e93 ksud: Add magisk binary as resetprop 2023-01-05 14:13:35 +08:00
tiann
cd803b1ca2 ksud: Add support for post-fs-data and system.prop 2023-01-05 14:10:38 +08:00
tiann
ece6b5d392 ksud: add is_safe_mode 2023-01-05 13:52:39 +08:00
tiann
d8021eaa55 ksud: exec module post-fs-data.sh 2023-01-05 13:42:18 +08:00
tiann
cb50ece35b ksud: add context for module install failure. 2023-01-05 13:41:29 +08:00
tiann
612c29e831 ksud: specific ext4 format for mount 2023-01-05 11:14:02 +08:00
tiann
6535233ea9 ksud: e2fsck check image before mount 2023-01-05 11:13:31 +08:00
tiann
6d6baa7bba ksud: clean module dir earlier 2023-01-05 10:51:04 +08:00
tiann
acab2a8c7e ksud: clean module mount point if it exists. 2023-01-05 10:41:46 +08:00
tiann
7802618833 ksud: fix encoding error 2023-01-04 17:26:21 +08:00
tiann
897ff0d7e4 ksud: delete modules_update when flag not exist 2023-01-04 17:06:21 +08:00
tiann
c3f3d647ea ksud: Add omitted files 2023-01-04 15:52:30 +08:00
tiann
fad6ff3dce ksud: Add userspace cli to load module 2023-01-04 14:42:47 +08:00
tiann
0ae1e8fdcf manager: Add module UI 2023-01-01 16:51:28 +08:00
tiann
28f2217765 userspace: add x86_64 build 2022-12-12 14:52:39 +08:00
tiann
91d6d28510 userspace: don't use static lib 2022-12-11 20:02:30 +08:00
tiann
2f6031ad67 Init 2022-12-09 22:04:40 +08:00