# execstack を Homebrew, dnf, apt, zypper でインストール

execstack のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:execstack
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install execstack
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install execstack
```

  証拠: Fedora Rawhide package metadata: execstack from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Ubuntu apt (92%):

```sh
sudo apt install execstack
```

  証拠: Ubuntu 24.04 LTS package indexes: execstack from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install execstack
```

  証拠: openSUSE Tumbleweed package metadata: execstack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:execstack
- **パッケージマネージャ:** Homebrew
- **バージョン:** 20130503
- **ソース概要:** Utility to set/clear/query executable stack bit
- **ホームページ:** <https://people.redhat.com/jakub/prelink/>
- **最終更新:** 2026-07-03T15:24:00-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- execstack (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 20130503
## プロジェクトの歴史と使われ方

execstack is a small ELF hardening utility from the prelink project. It exists to query, set, or clear the executable-stack requirement recorded in ELF program headers.

### プロジェクトの歴史

The tool belongs to the early-2000s Linux transition away from assuming that process stacks were executable. Jakub Jelinek's 2003 binutils work introduced PT_GNU_STACK so compilers, assemblers, and linkers could describe whether an executable stack was needed; execstack provided a post-link command-line way to inspect and override that metadata.

The upstream prelink archive shows prelink tarballs beginning in 2001 and continuing through a 2013 snapshot. The execstack manual page was obtained from the prelink-20130503 tarball and dates the utility's documentation to October 2003.

### 採用の歴史

execstack became a packaging and security-maintenance utility rather than a day-to-day application. It is most useful when a third-party ELF binary or shared object has incorrect PT_GNU_STACK markings and a packager needs to verify or clear them without rebuilding the original source.

### 使われ方

The common workflow is intentionally narrow: run execstack -q to report whether files require an executable stack, execstack -c to mark known-safe objects as not requiring one, or execstack -s for the rare case where a binary really needs executable stack support.

### パッケージ好きにとっての重要性

Package maintainers care about execstack because it sits at the boundary between compiler metadata, linker policy, and runtime hardening. A single bad executable-stack bit can change security posture, so a tiny utility remains useful even after prelink itself stopped being fashionable.

### タイムライン

- 2001: The prelink archive begins publishing source snapshots.
- 2003: PT_GNU_STACK support is proposed for binutils.
- 2003: execstack documentation describes querying and changing PT_GNU_STACK markings.
- 2013: The prelink archive publishes a later source snapshot used by manual-page renderers.

### Related projects

- execstack is tied to prelink, GNU binutils, GCC .note.GNU-stack metadata, and ELF dynamic-linker hardening behavior.

### ソース

- <https://people.redhat.com/jakub/prelink/>
- <https://man7.org/linux/man-pages/man8/execstack.8.html>
- <https://sourceware.org/legacy-ml/binutils/2003-05/msg00741.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Ubuntu apt - execstack - 0.0.20131005-1.1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: execstack from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ELF GNU_STACK program header editing utility
- dnf - execstack - 0.5.0-33.fc45: normalized package name match | Fedora Rawhide package metadata: execstack from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Utility to set/clear/query executable stack bit
- zypper - execstack - 0.5.0-5.8: normalized package name match | openSUSE Tumbleweed package metadata: execstack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utility to set/clear/query executable stack bit | https://github.com/keszybz/prelink/archive


## Combined YAML source

View the package source record on GitHub. [combined/execstack.yml](https://github.com/mxcl/pkgdb/blob/main/combined/execstack.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
