Commit Graph

554 Commits

Author SHA1 Message Date
Howard Wu af44d0ba8d ci: Install dependency python-telegram-bot (#373) 2023-04-12 20:37:41 +08:00
Howard Wu 7bbb3bc3b3 ci: fix WSA upload path (#372) 2023-04-12 18:31:59 +08:00
Howard Wu 81e826d776 ci: WSA build fix typo (#370) 2023-04-12 17:52:24 +08:00
tiann 0af5628d51 ksud: ensure parent dir when create file 2023-04-12 17:45:56 +08:00
tiann aba62e2ef1 ksud: format anyhow error 2023-04-12 13:21:13 +08:00
tiann f46634bc07 ksud: add error context to log 2023-04-12 13:17:13 +08:00
tiann 3681da2176 Revert "ksud: sort the stock mounts correctly."
This reverts commit 951efa16ee.
2023-04-12 13:12:10 +08:00
Howard Wu 7a8517b183 WSA Kernel update to 5.15 (#369)
Checks: https://github.com/Howard20181/KernelSU/actions/runs/4672228625
2023-04-12 12:16:56 +08:00
chen2021-web 3a3fcaad4c Try to solve 4.14 build don't pass problem (#368) 2023-04-11 23:13:34 +08:00
tiann 951efa16ee ksud: sort the stock mounts correctly. 2023-04-11 21:23:30 +08:00
tiann e70a95f1ec ksud: make compiler happy 2023-04-11 20:45:21 +08:00
tiann 719b90f8da ksud: use move mount instead of remount for stock mounts
Because some stock mounts are difficult to remount it back, so we bind mount it to somewhere else before overlayfs mount. And then use move mount to mount it back.
2023-04-11 20:32:08 +08:00
tiann 5d9eacfdb5 ksud: don't umount stock overlayfs, just remount it 2023-04-11 16:24:02 +08:00
tiann 730519894c manager: don't create root shell everytime. this should close #361. MeiZu kernel seems cache something in execve syscall, which will cause double free in kernel. 2023-04-11 12:56:19 +08:00
Trịnh Văn Lợi e9a29c5627 Update strings.xml (#366)
Update missing translation
2023-04-11 11:05:35 +08:00
weishu 8ba6ef20ea kernel: make /system/bin/init second_stage more precisely (#357) 2023-04-11 10:55:17 +08:00
5ec1cff a2bf1440fd kernel: fix search git in path (#363)
Prevent failing to get KSU_GIT_VERSION when PATH contains space.


[Details](https://github.com/5ec1cff/my-notes/blob/master/mi-kernel.md#%E4%B8%80%E4%B8%AA%E7%BC%BA%E5%B0%91%E5%BC%95%E5%8F%B7%E5%BC%95%E5%8F%91%E7%9A%84%E8%A1%80%E6%A1%88)
2023-04-09 17:16:35 +08:00
weishu c4e5bbf2db ksud: handle partition after REMOVE and REPLACE 2023-04-08 12:51:16 +08:00
Ylarod cd069d8e31 ksud: ensure ksud context when install (#356)
Incorrect se context will make module system broken
2023-04-07 12:46:59 +08:00
Xeonacid f2529f3e06 website: fix typo (#354) 2023-04-06 22:40:47 +08:00
tiann 1a725a0200 ci: shortten image file name 2023-04-06 19:23:09 +08:00
tiann ac800a5bcf Revert "ci: Remove tags with same KMI"
This reverts commit aba7e06e6d.
2023-04-06 13:35:43 +08:00
tiann 1ef5a91a28 ksud: keep pwd after switch mnt ns 2023-04-06 13:20:23 +08:00
zhcnUTF8 54e5e8fc07 kernel: check CONFIG_SECCOMP status (#351) 2023-04-05 19:09:47 +08:00
Howard Wu d751f8f4cb Save install logs to public download folder (#350) 2023-04-05 15:54:55 +08:00
Ylarod e27409a1fa ksud: exec uninstall.sh while uninstalling (#347) 2023-04-05 14:36:35 +08:00
Ylarod b5accdfc9d website: fix typo, add hidden-features (#349) 2023-04-05 14:36:22 +08:00
Ylarod 2d9c6c64be ksud: support .ksurc (#345) 2023-04-05 13:30:21 +08:00
Igor Sorocean 7b8ac9acad Fix ro translation (#344) 2023-04-05 12:16:02 +08:00
Ylarod 8c93e03504 ksud: add /data/adb/ksu/bin to PATH (#343) 2023-04-05 11:47:35 +08:00
tiann aba7e06e6d ci: Remove tags with same KMI 2023-04-04 19:09:04 +08:00
tiann 7597187eca ci: Add latest GKI tags 2023-04-04 19:07:31 +08:00
tiann 554a432c93 ci: trigger build su only if userspace/su changed 2023-04-04 19:01:50 +08:00
tiann 94139488d8 userspace: remove simple su 2023-04-04 17:24:35 +08:00
tiann b739155e06 ksud: fix unknown hang of root shell 2023-04-04 16:41:57 +08:00
tiann 08f029485b ksud: fix build 2023-04-04 15:09:53 +08:00
tiann b5f321d5a4 ksud: fix windows build again 2023-04-04 14:59:17 +08:00
tiann 5c5724f7c6 ksud: Remove sufix of 'v' in version tag
close #331
2023-04-04 14:44:51 +08:00
tiann 87863e3adf ksud: fix windows build 2023-04-04 14:33:25 +08:00
tiann 6f97cdd8db ksud: fix compile err in x86_64 2023-04-04 14:12:37 +08:00
tiann 1ef4c28a02 ksud: fmt 2023-04-04 13:55:36 +08:00
tiann e808bed680 ksud: refine su and make it compitable with MagiskSU
Supported features:

1.  --mount-master, -M, -mm which would make the command run in global mount namespace.
2. - user to switch a specific user's shell.
3. -v, -V to print version code and name.

fix #330 #306 #305 #32
2023-04-04 13:50:48 +08:00
セリカ・シルフィル 1276429d95 ksud: modules_update will be mounted to /data/adb/modules_update (#336)
https://github.com/tiann/KernelSU/commit/d6d08530e41d4d14acb617067c83cb76a0647ded
and https://github.com/tiann/KernelSU/pull/327 have moved
`/data/adb/ksu/modules` to `/data/adb/modules`,but `modules_update` has
not to do it.Many modules hard-coded this directory.
2023-04-03 22:32:13 +08:00
tiann 978839da6b kernel: use ksud as root shell instead of /system/bin/sh 2023-04-03 20:29:10 +08:00
tiann 1e44e4ce50 ksud: enter root shell when arg0 equals su 2023-04-03 20:28:13 +08:00
tiann 8cb4c0377b website: fix typo 2023-04-03 20:26:16 +08:00
tiann 4933b045e4 kernel: fix incorrect dput 2023-04-03 19:22:05 +08:00
tiann 44444b2a56 kernel: basicly umount overlayfs in kernel 2023-04-03 19:16:24 +08:00
Igor Sorocean cbe846c736 Add Romanian translation (#335) 2023-04-03 18:03:19 +08:00
浅秋枫影 bea4e8d956 ksud: Fix installer.sh modules path (#327)
https://github.com/tiann/KernelSU/commit/d6d08530e41d4d14acb617067c83cb76a0647ded
修改了模块路径,installer.sh 没有修改,导致管理器无法刷新模块(安装/更新/卸载)状态
2023-04-03 11:46:27 +08:00