Huy Minh 27bb2491c2
kernel: Relax dentry_path_raw compare in core_hook (#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 #1783

Signed-off-by: hmtheboy154 <buingoc67@gmail.com>
2024-09-07 10:59:06 +08:00
..
2024-04-27 09:55:24 +08:00
2023-04-13 10:41:49 +08:00
2023-06-16 19:53:15 +08:00
2024-04-27 09:55:24 +08:00
2024-04-27 09:55:24 +08:00
2024-04-27 09:55:24 +08:00
2024-06-01 14:50:46 +08:00
2024-04-27 09:55:24 +08:00
2023-06-16 19:53:15 +08:00
2023-06-16 19:53:15 +08:00
2024-06-01 14:50:46 +08:00
2024-04-27 09:55:24 +08:00
2024-06-01 14:50:46 +08:00
2024-05-08 21:15:49 +08:00
2023-02-02 09:04:07 +08:00
2024-06-01 14:50:46 +08:00
2024-04-27 09:55:24 +08:00
2024-06-01 14:50:46 +08:00