It looks like #489 issues. So i did before post issue
Removed CONFIG_FELICA_MOUNT_BLOCK from defconfig --- It works but NFC/FeliCa died.
change if (flags & MS_REMOUNT) to if (flags & MS_RDONLY) from fs/namespace.c --- It works but same. NFC/FeliCa died.
change .flags(MountFlags::RDONLY) to .flags(MountFlags::REMOUNT) from KernelSU/userspace/ksud/src/mount.rs --- Failed. mount: '/system' not in /proc/mounts
But Magisk module works fine. I can't track anymore.
Please check before submitting an issue
Describe the bug
Failed overlayfs mount due Motorola/FeliCa restrict?
https://github.com/MotorolaMobilityLLC/kernel-msm/blob/56e5d5098bfd321364b97ff8473562ec7fc0410c/fs/namespace.c#L3099
Applied patch https://github.com/sticpaper/android_kernel_xiaomi_msm8998-ksu/commit/646d0c836053ffa8743519c39fcabaecb258f00b https://github.com/wxt1221/KernelSU/commit/ae8a14e708e2ee859912218d70623ee08a80b762 https://github.com/wxt1221/KernelSU/commit/194e09fcf11a001dab285837620ce66351fb9cf2 https://github.com/wxt1221/KernelSU/commit/5574642b20b0f7780fa9a2e3643eb8f99141bd68 https://github.com/wxt1221/KernelSU/commit/fce6f6ed6ed649df51ab468c57b9ff698fcb2701 https://github.com/sticpaper/android_kernel_xiaomi_msm8998-ksu/commit/646d0c836053ffa8743519c39fcabaecb258f00b
To Reproduce
Expected behavior
overlayfs should success mount to /system or /product etc etc (depends module)
Screenshots
No response
Logs
KernelSU_bugreport_2023-12-04_04_00.tar.zip (there is 2 tar file in zip)
Device info
Additional context
It looks like #489 issues. So i did before post issue
if (flags & MS_REMOUNT)
toif (flags & MS_RDONLY)
from fs/namespace.c --- It works but same. NFC/FeliCa died..flags(MountFlags::RDONLY)
to.flags(MountFlags::REMOUNT)
from KernelSU/userspace/ksud/src/mount.rs --- Failed.mount: '/system' not in /proc/mounts
But Magisk module works fine. I can't track anymore.