Magisk/native/jni
LoveSy a7c156a9e3
Further fix oplus.fstab support
* Further fix `oplus.fstab` support

In some oneplus devices, `oplus.fstab` does exists but `init` never
loaded it and those entries in `oplus.fstab` are written directly to
`fstab.qcom`. Previous implementation will introduce duplicate entries
to `fstab.qcom` and brick the device. This commit filters those entries
from `oplus.fstab` that are already in `fstab.qcom` and further filters
duplicated entries in `oplus.fstab` (keep only the last entry).

Fix #5016

* Fix UB

Since we moved entry, we need to explicitly copy its member.
For c++23 we can use `auto{}`.
2021-12-14 03:40:23 -08:00
..
core Allow boot scripts to know Zygisk status 2021-11-20 13:05:15 -08:00
external Update to BusyBox 1.34.1 2021-11-22 19:46:52 -08:00
include Make zygisk survive zygote restarts 2021-10-27 01:53:16 -07:00
init Further fix oplus.fstab support 2021-12-14 03:40:23 -08:00
magiskboot Use mmap_data more widely 2021-11-30 01:50:55 -08:00
magiskpolicy Use mmap_data more widely 2021-11-30 01:50:55 -08:00
resetprop Rename persist_properties.cpp -> persist.cpp 2021-11-30 01:58:31 -08:00
su realpath /proc/pid/cwd 2021-10-29 03:13:20 -07:00
utils Use mmap_data more widely 2021-11-30 01:50:55 -08:00
zygisk Only care about mount namespace isolating 2021-12-14 03:08:55 -08:00
.gitignore Add entrypoint to build test 2019-04-01 02:46:09 -04:00
Android.mk Rename persist_properties.cpp -> persist.cpp 2021-11-30 01:58:31 -08:00
Application.mk Build on API 21 headers 2021-10-20 03:17:42 -07:00