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