美文网首页
Gammaray 在linux上运行错误

Gammaray 在linux上运行错误

作者: _compass | 来源:发表于2023-09-21 09:04 被阅读0次

1.错误Yama security xxx

Error: gdb: Yama security extension is blocking runtime attaching, see /proc/sys/kernel/yama/ptrace_scope

解决办法:

echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope

2.错误ptrace: Operation not permitted

错误1解决了之后,运行gammary,又报错:

GDB Problem "ptrace: Operation not permitted."

解决方法:

sudo gedit /etc/sysctl.d/10-ptrace.conf

把其中的kernel.yama.ptrace_scope = 1 改为 kernel.yama.ptrace_scope = 0
然后重启电脑即可。

相关文章

网友评论

      本文标题:Gammaray 在linux上运行错误

      本文链接:https://www.haomeiwen.com/subject/yshavdtx.html