Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the execstack in CentOS 7?

Tags:

yum

centos7

I want to mark the binary as not requiring executable stack on CentOS 7.2 with execstack, but there is no such utility and yum does not find package execstack. Why is this the case? Is this utility is not used now?

[root@localhost bin]# execstack
-bash: execstack: command not found
like image 276
Vladimir Protsenko Avatar asked Oct 19 '25 01:10

Vladimir Protsenko


1 Answers

execstack is provided by the package prelink in centos-7. Here,

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
like image 193
iamauser Avatar answered Oct 22 '25 05:10

iamauser