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