macOS
brew install libcaplocal Homebrew formula metadata
brew
libcap のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install libcaplocal Homebrew formula metadata
sudo apk add libcapAlpine Linux edge package indexes · libcap · ソース: dl-cdn.alpinelinux.org
sudo dnf install libcapFedora Rawhide package metadata · libcap · ソース: dl.fedoraproject.org
nix profile install nixpkgs#libcapnixpkgs package indexes · pkgs/by-name/li/libcap/package.nix · ソース: api.github.com
sudo pacman -S libcapArch Linux sync databases · libcap · ソース: geo.mirror.pkgbuild.com
sudo zypper install libcap-developenSUSE Tumbleweed package metadata · libcap-devel · ソース: download.opensuse.org
概要
User-space interfaces to POSIX 1003.1e capabilities
履歴
libcap is Andrew G. Morgan's user-space library and utility suite for Linux capabilities, including setcap, getcap, getpcaps, capsh, pam_cap, and related support libraries.
The upstream README describes libcap as a library for getting and setting POSIX.1e draft 15 capabilities, with native C/C++ and Go support. The Fully Capable site frames Linux capabilities as an alternative to the superuser model of privilege under Linux and notes that the Linux implementation is based on the defunct POSIX.1e draft.
The project grew beyond a C library into a family of privilege-management tools and helper code. The README names capsh, getpcaps, setcap, and getcap as example programs, while the Fully Capable site documents libpsx for POSIX semantics in threaded applications and Go packages for capability manipulation.
libcap became baseline Linux security infrastructure because file capabilities and process capabilities need user-space tooling. Distribution packages expose its command-line tools for administrators and its headers and library for software that must drop root while keeping only specific privileges.
Administrators use setcap and getcap to assign and inspect file capabilities, getpcaps to inspect processes, and capsh to experiment with capability sets and shells. Developers link libcap when applications need direct control over Linux capability state.
libcap is one of the packages that turns a kernel security feature into everyday packaging policy. Without it, downstream maintainers have a harder time replacing setuid-root patterns with smaller capability grants.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
capsh | cli | グローバル実行可能ファイル | |
getcap | cli | グローバル実行可能ファイル | |
getpcaps | cli | グローバル実行可能ファイル | |
setcap | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://sites.google.com/site/fullycapable/
インストールメタデータ
| パッケージキー | brew:libcap |
|---|---|
| バージョン | 2.78 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/libcap |
| ホームページ | https://sites.google.com/site/fullycapable/ |
| リポジトリ | https://git.kernel.org/pub/scm/libs/libcap/libcap.git |
| 上流ドキュメント | https://sites.google.com/site/fullycapable |
| ライセンス | BSD-3-Clause AND GPL-2.0-or-later |
| ソースアーカイブ | https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.78.tar.xz |
| Bottle | 利用可能 (対象 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libcap |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libcap
nix profile install nixpkgs#libcaplibcap 2.78-r0
POSIX 1003.1e capabilities
https://sites.google.com/site/fullycapable/
sudo apk add libcaplibcap-dev 2.78-r0
POSIX 1003.1e capabilities (development files)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-devlibcap-doc 2.78-r0
POSIX 1003.1e capabilities (documentation)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-doclibcap-getcap 2.78-r0
POSIX 1003.1e capabilities (getcap utility)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-getcaplibcap-setcap 2.78-r0
POSIX 1003.1e capabilities (setcap utility)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-setcaplibcap-static 2.78-r0
POSIX 1003.1e capabilities (static library)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-staticlibcap-utils 2.78-r0
POSIX 1003.1e capabilities (extra utils)
https://sites.google.com/site/fullycapable/
sudo apk add libcap-utilslibcap2 2.78-r0
POSIX 1003.1e capabilities (libraries)
https://sites.google.com/site/fullycapable/
sudo apk add libcap2captree 2.78-1.fc45
Capability inspection utility
https://sites.google.com/site/fullycapable/
sudo dnf install captreelibcap 2.78-1.fc45
Library for getting and setting POSIX.1e capabilities
https://sites.google.com/site/fullycapable/
sudo dnf install libcaplibcap-devel 2.78-1.fc45
Development files for libcap
https://sites.google.com/site/fullycapable/
sudo dnf install libcap-devellibcap-static 2.78-1.fc45
Static libraries for libcap development
https://sites.google.com/site/fullycapable/
sudo dnf install libcap-staticlibcap 2.78-1
POSIX 1003.1e capabilities
https://sites.google.com/site/fullycapable/
sudo pacman -S libcaplibcap-devel 2.78-1.2
Development files for libcap
https://sites.google.com/site/fullycapable/
sudo zypper install libcap-devellibcap-progs 2.78-1.2
Libcap utility programs
https://sites.google.com/site/fullycapable/
sudo zypper install libcap-progsソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.