Android 用于';斯特拉斯';命令
我将在两个应用程序之间使用Android 用于';斯特拉斯';命令,android,permissions,adb,strace,uid,Android,Permissions,Adb,Strace,Uid,我将在两个应用程序之间使用strace-p命令 但是,strace命令不适用于其他应用程序(它本身工作良好) 这是错误消息: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptr
strace-p
命令
但是,strace
命令不适用于其他应用程序(它本身工作良好)
这是错误消息:
attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
如果由于uid
的差异而导致命令错误,我是否可以修复对uid
的修改
或者还有其他解决方案吗?我没有完全解决这个问题,有些问题已经解决了 此问题与setUid权限和android SE有关 首先,然后构建一个android版本4.0.3,所以我将一个图像文件闪现到一个参考手机上 在获得setuidstrace的许可后,它运行良好 然而,版本4.4.2的android SE阻止了访问过程。 (由于android SE和KNOX相互作用,Galaxy series无法发布。) 不幸的是,现在我没有额外的参考电话,请关闭android SE,我无法尝试运行命令STRACE。(我会尽快更新。)