我想用 execstack 在 CentOS 7.2 上将二进制文件标记为不需要可执行堆栈,但没有这样的实用程序,而且 yum 找不到包 execstack 。为什么会这样?这个实用程序是不是现在不用了?

[root@localhost bin]# execstack
-bash: execstack: command not found

最佳答案

execstack 由 centos-7 中的 prelink 包提供。这里,

http://mirror.centos.org/centos-7/7/os/x86_64/Packages/prelink-0.5.0-9.el7.x86_64.rpm

~]$ rpm -qlp http://mirror.centos.org/centos-7/7/os/x86_64/Packages/prelink-0.5.0-9.el7.x86_64.rpm | grep exec
/usr/bin/execstack
/usr/share/man/man8/execstack.8.gz


# install using YUM
~]$ yum install prelink

关于centos7 - CentOS 7 中的 execstack 在哪里?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/43026871/

10-15 21:42