🌐
Linux Man Pages
man7.org › linux › man-pages › man3 › libcap.3.html
libcap(3) - Linux manual page
These prototypes are: int capget(cap_user_header_t header, cap_user_data_t data); int capset(cap_user_header_t header, const cap_user_data_t data); Further, libcap provides a set-up function, void cap_set_syscall( long int (*new_syscall)(long int, long int, long int, long int), long int (*new_syscall6)(long int, long int, long int, long int, long int, long int, long int)); which can be used to redirect its use of the capset() and other system calls that write kernel managed state. This is especially useful when supporting POSIX semantics for security state. When a program is linked against libpsx(3) as described in that man page, this function is used to connect libcap to POSIX semantics system calls.
🌐
Google Sites
sites.google.com › site › fullycapable
Not needing root to administer Linux - the home of libcap
This site is devoted to announcing new versions of libcap (both C and Go implementations), and sharing information about using Linux Capabilities -- an alternative to the superuser model of privilege under Linux. Resources: Release notes for libcap, libpsx and Go packages cap and psx. You can read
🌐
Arch Linux
archlinux.org › packages › core › x86_64 › libcap
Arch Linux - libcap 2.78-1 (x86_64)
Arch Linux · Home · Packages · Forums · Wiki · GitLab · Security · AUR · Download · Source Files / View Changes · Bug Reports / Add New Bug · Search Wiki / Manual Pages · Security Issues · Flag Package Out-of-Date (?) Download From Mirror · lib32-libcap 2.78-1 [multilib] (x86_64) glibc ·
🌐
GitHub
github.com › stevegrubb › libcap-ng
GitHub - stevegrubb/libcap-ng: Libcap-ng is a library for Linux that makes using posix capabilities easy. · GitHub
Libcap-ng is a library for Linux that makes using posix capabilities easy. - stevegrubb/libcap-ng
Starred by 91 users
Forked by 40 users
Languages   C 85.8% | Roff 5.1% | Makefile 3.9% | M4 3.1% | Python 1.7% | SWIG 0.4%
🌐
Linux From Scratch
linuxfromscratch.org › lfs › view › 9.1-systemd › chapter06 › libcap.html
6.28. Libcap-2.31
The Libcap package implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels.
🌐
Linux Man Pages
linux.die.net › man › 3 › libcap
libcap(3): capability data object change - Linux man page
These functions work on a capability state held in working storage. A cap_t holds information about the capabilities in each of the three sets, Permitted, ...
🌐
Go Packages
pkg.go.dev › kernel.org › pub › linux › libs › security › libcap › cap
cap package - kernel.org/pub/linux/libs/security/libcap/cap - Go Packages
April 5, 2026 - Package cap is the libcap API for Linux Capabilities written in Go. The official release announcement site for libcap is: https://sites.google.com/site/fullycapable/ Like libcap, the cap package is distributed with a "you choose" License. Specifically: BSD 3-clause, or GPL2.
🌐
GitHub
github.com › mhiramat › libcap
GitHub - mhiramat/libcap: Clone of git://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git plus --exec options · GitHub
More information on capabilities in the Linux kernel can be found at http://sites.google.com/site/fullycapable/ # INSTALLATION Linux-Caps % make builds the library and the programs Linux-Caps % make install installs the library libcap.XX.Y in /lib[64]/ the binaries in /sbin/ the <sys/capability.h> file in /usr/include the libcap.pc file in /usr/lib[64]/pkgconfig * for some example programs look in progs.
Starred by 9 users
Forked by 13 users
Languages   C 76.2% | Shell 19.8% | Makefile 4.0%
Find elsewhere
🌐
Alpine Linux
pkgs.alpinelinux.org › package › edge › main › x86 › libcap
libcap - Alpine Linux packages
libcap2 · libcap-utils · Required by (1) jsvc · Sub Packages (7) libcap-dev · libcap-doc · libcap-getcap · libcap-setcap · libcap-static · libcap-utils · libcap2 · Provides (0) None ·
🌐
Free Software Directory
directory.fsf.org › wiki › Libcap
Libcap - Free Software Directory
Libcap implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels.
🌐
GitHub
github.com › mhiramat › libcap › blob › master › README
libcap/README at master · mhiramat/libcap
Linux-Caps % make install · · installs the library libcap.XX.Y in /lib[64]/ the binaries in /sbin/ the <sys/capability.h> file in /usr/include · the libcap.pc file in /usr/lib[64]/pkgconfig · · * for some example programs look in progs. · Cheers ·
Author   mhiramat
🌐
GitHub
github.com › Distrotech › libcap
GitHub - Distrotech/libcap: Mirror of git://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.gitt/morgan/libcap.git · GitHub
More information on capabilities in the Linux kernel can be found at http://sites.google.com/site/fullycapable/ # INSTALLATION Linux-Caps % make builds the library and the programs Linux-Caps % make install installs the library libcap.XX.Y in /lib[64]/ the binaries in /sbin/ the <sys/capability.h> file in /usr/include * for some example programs look in progs.
Starred by 7 users
Forked by 6 users
Languages   C 96.6% | Shell 3.4%
🌐
Linux From Scratch
linuxfromscratch.org › blfs › view › 7.5 › postlfs › libcap.html
libcap-2.24
The libcap package implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels.
🌐
Debian
packages.debian.org › sid › libcap-dev
Debian -- Details of package libcap-dev in sid
Libcap implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels.
🌐
GNU
gnu.org › software › hurd › community › gsoc › project_ideas › libcap › details.html
Details on implementing libcap
November 29, 2010 - The exercise for this assignment was to get the libcap used in Linux to compile under the Hurd. This was accomplished using the latest git version of libcap from (..), corresponding to libcap 2.19. The changes were simple and amounted to simply removing the dependency on some Linux-specific ...
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_enterprise_linux › 6 › html › 6.2_technical_notes › libcap
4.129. libcap | 6.2 Technical Notes | Red Hat Enterprise Linux | 6 | Red Hat Documentation
Red Hat Enterprise Linux · 6 · 6.2 Technical Notes · 4.129. libcap · Format · Multi-page · Single-page · View full doc as PDF · Github · Youtube · Twitter · Developer resources · Cloud learning hub · Interactive labs · Training and certification ·
🌐
Linux From Scratch
linuxfromscratch.org › blfs › view › svn › postlfs › libcap.html
libcap-2.78 with PAM
Download (HTTP): https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.78.tar.xz
🌐
Artix Linux
packages.artixlinux.org › packages › system › x86_64 › libcap
Artix Linux - libcap 2.77-1 (x86_64)
lib32-libcap 2.77-1 [lib32] (x86_64) glibc · pam · git (make) go (make) linux-api-headers (make) avahi · basu · bind · bind (testing) bpf · brltty · bubblewrap · bubblewrap-suid · cdrtools · chrony · coreutils · crun · dovecot · elogind · gamescope (requires libcap.so) gstreamer ·