You've already forked KernelSU
mirror of
https://github.com/tiann/KernelSU.git
synced 2025-08-27 23:46:34 +00:00
cbb98a1de9
Otherwise we will rewrite paths for filenames that begins with `/system/bin/su`. This fix copies one extra byte from userspace filename so that when we encounter filenames like `/system/bin/suasf`, `/system/bin/su\0` gets compared with `/system/bin/sua`, which correctly prevents the `su -> sh` path rewriting. Close #957