Commit Graph

43 Commits

Author SHA1 Message Date
weishu 605c598f69 Use fallback method to mount overlayfs when fsopen one failed
Co-authored-by: natsumerinchan
2024-03-04 12:26:19 +08:00
weishu 6173eeecf4 ksud: Add more logs 2024-02-29 22:43:48 +08:00
weishu 8e0071ace7 ksud: fix mount view of manager when 'umount modules by default' is enabled 2024-02-22 19:08:37 +08:00
weishu 53fd829a6b ksud: use bind mount to serve module webui 2024-02-22 16:26:14 +08:00
LoveSy 633e84307b Add fallback to mount syscall (#1349) 2024-02-05 17:36:07 +08:00
LoveSy aec9e0f6b5 Recursive bind mount (#1332) 2024-02-01 23:29:19 +08:00
weishu 1a3fe6ab05 ksud: allow to set upperdir and workdir for overlayfs 2024-02-01 18:02:10 +08:00
weishu abb0fd64e1 ksud: Fix bind mount failed 2024-02-01 17:15:44 +08:00
weishu e203040dd6 ksud: fmt 2024-02-01 16:33:33 +08:00
weishu 144b8a607c ksud: Fix overlayfs mount 2024-02-01 16:32:18 +08:00
weishu 11b48b7880 ksud: remove unused methods 2024-02-01 16:32:18 +08:00
LoveSy 1f8be12d79 Use new mount api 2024-02-01 01:50:30 +08:00
Nullptr c07b7d38a0 Mount temp dir at /debug_ramdisk (#1226) 2023-12-23 21:05:26 +08:00
weishu 1a8dd01a97 ksud: bump dependencies 2023-11-02 12:05:21 +08:00
5ec1cff 6c58b446ed ksud: use MS_RDONLY when mounting overlayfs (#490)
fix https://github.com/tiann/KernelSU/issues/489
2023-05-13 16:17:22 +08:00
5ec1cff 80dd192bbc ksud: fix bind mount failed again (#395)
This fixes https://github.com/Dr-TSNG/ZygiskOnKernelSU/issues/18
2023-04-17 12:05:13 +08:00
tiann edea4f1d1c ksud: fix clippy 2023-04-14 23:06:11 +08:00
5ec1cff 049736d6cb ksud: refactor module mount (#384) 2023-04-14 22:30:34 +08:00
tiann 0af5628d51 ksud: ensure parent dir when create file 2023-04-12 17:45:56 +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
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 f7783ce51f ksud: Don't umount stock bind mount, just bind it again after overlay. 2023-03-27 18:43:37 +08:00
tiann f64614b189 ksud: fix mount and remount order 2023-02-26 11:44:08 +08:00
tiann 8aec92cf38 ksud: don't touch rootfs mount 2023-02-24 20:00:57 +08:00
tiann 6153e1999b ksud: fix clippy 2023-02-21 22:09:41 +08:00
tiann b8b9f6ec75 ksud: Fix windows compile 2023-02-21 21:39:14 +08:00
tiann 1fd381af13 ksud: restore stock mount after overlay mount. close #233 2023-02-21 20:22:00 +08:00
tiann cb26adb43a ksud: clippy 2023-02-08 12:33:00 +08:00
tiann f2647c6469 ksud: Fix confliction with stock system overlayfs 2023-02-08 12:14:31 +08:00
tiann a8e85f65eb ksud: Fix incorrect dependency 2023-02-03 23:19:22 +08:00
tiann 94462f8521 ksud: Fix macOS compile 2023-02-03 14:46:48 +08:00
skbeh 9e34996c3b ksud: fix issues found by clippy (#167)
These issues are mostly found by `cargo clippy -- -W clippy::pedantic`.
2023-02-03 09:45:07 +08:00
tiann 3b4973dcaa ksud: opti module mount 2023-02-02 21:56:08 +08:00
tiann ac9b3138db ksud: fix incorrecy RAII 2023-02-02 20:37:17 +08:00
tiann f64fece2a3 ksud: copy when rename failed 2023-02-02 20:37:17 +08:00
tiann 412adc8d05 ksud: fallback to system mount when rust lib mount failed 2023-02-02 20:37:17 +08:00
tiann 207d12313b ksud: Fix module may mount failed 2023-02-02 14:02:02 +08:00
tiann 343b123c17 ksud: minor tweaks 2023-02-01 19:12:25 +08:00
tiann 9d192d5f2b ksud: make it compilable for non-android 2023-02-01 19:04:33 +08:00