PGEM10 / ColorOS 16 / 内核 5.15.180 / KP 0.13.3 / 11142 时正常
su -c id not found;ls/stat/test /system/bin/su 全不可见
应用走 execve hook 正常(call apd uid:10350 日志) SUPERCMD 正常 sumgr 授权正常 dmesg 只有 execve+getname_flags hook
根因:
0.13.3 删除 fstatat/faccessat hook,改 getname_flags;因 /system/bin/sh(15字符) > /system/bin/su(14字符),strcpy 分支永不成立,只能靠 getname_kernel 符号,实测 hook 未生效
应修复修复 getname_flags
APatch_issue_su_11219.md
PGEM10 / ColorOS 16 / 内核 5.15.180 / KP 0.13.3 / 11142 时正常
su -c id not found;ls/stat/test /system/bin/su 全不可见
应用走 execve hook 正常(call apd uid:10350 日志) SUPERCMD 正常 sumgr 授权正常 dmesg 只有 execve+getname_flags hook
根因:
0.13.3 删除 fstatat/faccessat hook,改 getname_flags;因 /system/bin/sh(15字符) > /system/bin/su(14字符),strcpy 分支永不成立,只能靠 getname_kernel 符号,实测 hook 未生效
应修复修复 getname_flags
APatch_issue_su_11219.md