Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: Relax dentry_path_raw compare in core_hook (tiann#2041)
On Android-x86 (or BlissOS) it initialize Android by using switch_root or chroot, when checking a path with dentry_path_raw() it will show the whole real path instead of the path that we want. Relax the checking requirement by using strstr to look for "/system/packages.list" in the string instead of requiring the path to be "/system/packages.list" This fixes tiann#1783 Signed-off-by: hmtheboy154 <[email protected]>
- Loading branch information