Commit Graph

746 Commits

Author SHA1 Message Date
chen2021-web a343aa5eb0 Try to solve 4.14 build don't pass problem (#368) 2023-04-11 23:13:34 +08:00
tiann 273a0b0b99 ksud: sort the stock mounts correctly. 2023-04-11 21:23:30 +08:00
tiann 2f1e64dc1b ksud: make compiler happy 2023-04-11 20:45:21 +08:00
tiann a46d4ecd3e 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 5f04954a5c ksud: don't umount stock overlayfs, just remount it 2023-04-11 16:24:02 +08:00
tiann d065a7ca22 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 2f8373f9c5 Update strings.xml (#366)
Update missing translation
2023-04-11 11:05:35 +08:00
weishu 2d36e98246 kernel: make /system/bin/init second_stage more precisely (#357) 2023-04-11 10:55:17 +08:00
5ec1cff f2d8f1ee60 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 e7881c350c ksud: handle partition after REMOVE and REPLACE 2023-04-08 12:51:16 +08:00
Ylarod ffe3e68c35 ksud: ensure ksud context when install (#356)
Incorrect se context will make module system broken
2023-04-07 12:46:59 +08:00
Xeonacid 4d6fafd778 website: fix typo (#354) 2023-04-06 22:40:47 +08:00
tiann 2bbf77ab4c ci: shortten image file name 2023-04-06 19:23:09 +08:00
tiann f9df8d3351 Revert "ci: Remove tags with same KMI"
This reverts commit ddbc71b273.
v0.5.1
2023-04-06 13:35:43 +08:00
tiann 8f4299ef62 ksud: keep pwd after switch mnt ns 2023-04-06 13:20:23 +08:00
zhcnUTF8 fabaa61279 kernel: check CONFIG_SECCOMP status (#351) 2023-04-05 19:09:47 +08:00
Howard Wu f17de87952 Save install logs to public download folder (#350) 2023-04-05 15:54:55 +08:00
Ylarod 93a607083a ksud: exec uninstall.sh while uninstalling (#347) 2023-04-05 14:36:35 +08:00
Ylarod 7544558173 website: fix typo, add hidden-features (#349) 2023-04-05 14:36:22 +08:00
Ylarod c96b0e8f8b ksud: support .ksurc (#345) 2023-04-05 13:30:21 +08:00
Igor Sorocean b181147922 Fix ro translation (#344) 2023-04-05 12:16:02 +08:00
Ylarod 862d12a904 ksud: add /data/adb/ksu/bin to PATH (#343) 2023-04-05 11:47:35 +08:00
tiann ddbc71b273 ci: Remove tags with same KMI v0.5.0 2023-04-04 19:09:04 +08:00
tiann c68ea8abbd ci: Add latest GKI tags 2023-04-04 19:07:31 +08:00
tiann cd5c7f599a ci: trigger build su only if userspace/su changed 2023-04-04 19:01:50 +08:00
tiann 1bb3a23bc4 userspace: remove simple su 2023-04-04 17:24:35 +08:00
tiann b191ec94a5 ksud: fix unknown hang of root shell 2023-04-04 16:41:57 +08:00
tiann 8f910fbb75 ksud: fix build 2023-04-04 15:09:53 +08:00
tiann 693d827144 ksud: fix windows build again 2023-04-04 14:59:17 +08:00
tiann effcaf0cde ksud: Remove sufix of 'v' in version tag
close #331
2023-04-04 14:44:51 +08:00
tiann 5be8fe39d0 ksud: fix windows build 2023-04-04 14:33:25 +08:00
tiann 8d12f96d8b ksud: fix compile err in x86_64 2023-04-04 14:12:37 +08:00
tiann c1b30458d6 ksud: fmt 2023-04-04 13:55:36 +08:00
tiann 48e76f9096 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
セリカ・シルフィル 6fc8cc7e8e ksud: modules_update will be mounted to /data/adb/modules_update (#336)
https://github.com/tiann/KernelSU/commit/ee09b9f9f4c1b42da3af5cc4df96629e4f6c0745
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 a3874dd089 kernel: use ksud as root shell instead of /system/bin/sh 2023-04-03 20:29:10 +08:00
tiann bdd5e31b6f ksud: enter root shell when arg0 equals su 2023-04-03 20:28:13 +08:00
tiann ed0e9cff4b website: fix typo 2023-04-03 20:26:16 +08:00
tiann 62bbee56db kernel: fix incorrect dput 2023-04-03 19:22:05 +08:00
tiann ec4a233e04 kernel: basicly umount overlayfs in kernel 2023-04-03 19:16:24 +08:00
Igor Sorocean 9efab243ae Add Romanian translation (#335) 2023-04-03 18:03:19 +08:00
浅秋枫影 219970bba5 ksud: Fix installer.sh modules path (#327)
https://github.com/tiann/KernelSU/commit/ee09b9f9f4c1b42da3af5cc4df96629e4f6c0745
修改了模块路径,installer.sh 没有修改,导致管理器无法刷新模块(安装/更新/卸载)状态
2023-04-03 11:46:27 +08:00
MilkD dcbd196c02 Update repos.json (#329)
add a unofficial kernel
2023-03-30 00:35:25 +08:00
tiann 814d65cc28 kernel: Fix side channel attack 2023-03-28 12:07:18 +08:00
Abhiram 8c222add7c ci: Bump rustfmt-check to latest (#326) 2023-03-28 00:25:55 +08:00
Amicia De Rune ab07557aa5 website: update id translation (#325)
Signed-off-by: RooGhz720 <rooghz720@gmail.com>
2023-03-27 23:42:42 +08:00
Dhruv Gera 7be405e4e4 selinux: Update 4.9 to the correct check (#324)
4.9's last release aka 4.9.337 still needs the same fallbacks as 4.9.212
and breaks otherwise, upgrade this to fix compilation

Tested and working on POCO F1, 4.9.337
2023-03-27 21:26:37 +08:00
tiann 726f44bc60 ksud: Don't umount stock bind mount, just bind it again after overlay. 2023-03-27 18:43:37 +08:00
tiann c4c597da9e website: Add docs for REPLACE variables v0.4.1 2023-03-27 17:27:53 +08:00
tiann e5617e236c website: Fix sidebar of zh_CN 2023-03-27 17:01:01 +08:00