CentOS 7中的execstack在哪里?

时间:2017-03-26 08:56:25

标签: centos7 yum

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

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

1 个答案:

答案 0 :(得分:5)

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