Commit Graph

43 Commits

Author SHA1 Message Date
weishu 3829894d4d Use fallback method to mount overlayfs when fsopen one failed
Co-authored-by: natsumerinchan
2024-03-04 12:26:19 +08:00
weishu 2a4fa94af0 ksud: Add more logs 2024-02-29 22:43:48 +08:00
weishu e6b05b1d3c ksud: fix mount view of manager when 'umount modules by default' is enabled 2024-02-22 19:08:37 +08:00
weishu 355b55a01d ksud: use bind mount to serve module webui 2024-02-22 16:26:14 +08:00
LoveSy abf0dacb36 Add fallback to mount syscall (#1349) 2024-02-05 17:36:07 +08:00
LoveSy f80769a82a Recursive bind mount (#1332) 2024-02-01 23:29:19 +08:00
weishu 9f04482b90 ksud: allow to set upperdir and workdir for overlayfs 2024-02-01 18:02:10 +08:00
weishu aca505c3e6 ksud: Fix bind mount failed 2024-02-01 17:15:44 +08:00
weishu d4826bc97c ksud: fmt 2024-02-01 16:33:33 +08:00
weishu 4efc8164f1 ksud: Fix overlayfs mount 2024-02-01 16:32:18 +08:00
weishu 0fc25cf091 ksud: remove unused methods 2024-02-01 16:32:18 +08:00
LoveSy 4d4bd4793f Use new mount api 2024-02-01 01:50:30 +08:00
Nullptr 706cd1e73e Mount temp dir at /debug_ramdisk (#1226) 2023-12-23 21:05:26 +08:00
weishu b4a52f89cc ksud: bump dependencies 2023-11-02 12:05:21 +08:00
5ec1cff da46dfbde1 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 f963e40a5f 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 29aaaae4b4 ksud: fix clippy 2023-04-14 23:06:11 +08:00
5ec1cff c058cb8848 ksud: refactor module mount (#384) 2023-04-14 22:30:34 +08:00
tiann 39b5014add ksud: ensure parent dir when create file 2023-04-12 17:45:56 +08:00
tiann 183d1a91c1 ksud: add error context to log 2023-04-12 13:17:13 +08:00
tiann d711ab8b1f Revert "ksud: sort the stock mounts correctly."
This reverts commit 273a0b0b99.
2023-04-12 13:12:10 +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 726f44bc60 ksud: Don't umount stock bind mount, just bind it again after overlay. 2023-03-27 18:43:37 +08:00
tiann ffa5a93c75 ksud: fix mount and remount order 2023-02-26 11:44:08 +08:00
tiann ffc06525fb ksud: don't touch rootfs mount 2023-02-24 20:00:57 +08:00
tiann c3ba483b81 ksud: fix clippy 2023-02-21 22:09:41 +08:00
tiann e309a03515 ksud: Fix windows compile 2023-02-21 21:39:14 +08:00
tiann b76d973f3a ksud: restore stock mount after overlay mount. close #233 2023-02-21 20:22:00 +08:00
tiann a4a93d8945 ksud: clippy 2023-02-08 12:33:00 +08:00
tiann d26956ff72 ksud: Fix confliction with stock system overlayfs 2023-02-08 12:14:31 +08:00
tiann 175de861bf ksud: Fix incorrect dependency 2023-02-03 23:19:22 +08:00
tiann 71cc166f72 ksud: Fix macOS compile 2023-02-03 14:46:48 +08:00
skbeh 219ea1c458 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 7b32c0e37b ksud: opti module mount 2023-02-02 21:56:08 +08:00
tiann 0bc36b3299 ksud: fix incorrecy RAII 2023-02-02 20:37:17 +08:00
tiann dc902b16d4 ksud: copy when rename failed 2023-02-02 20:37:17 +08:00
tiann 86998a032e ksud: fallback to system mount when rust lib mount failed 2023-02-02 20:37:17 +08:00
tiann 3eb812be5b ksud: Fix module may mount failed 2023-02-02 14:02:02 +08:00
tiann 681c4a3f0d ksud: minor tweaks 2023-02-01 19:12:25 +08:00
tiann 619dd1ace1 ksud: make it compilable for non-android 2023-02-01 19:04:33 +08:00