%general-entities; ]> $LastChangedBy$ $Date$ libcap-&libcap-version; libcap Introduction to libcap The libcap package implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels. These capabilities are a partitioning of the all powerful root privilege into a set of distinct privileges. &lfs74_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &libcap-md5sum; Download size: &libcap-size; Estimated disk space required: &libcap-buildsize; Estimated build time: &libcap-time; libcap Dependencies Required Optional User Notes: Installation of libcap Install libcap by running the following commands: make This package does not come with a test suite. If you want to disable installing the static library, use this sed: sed -i '/install.*STALIBNAME/ s/^/#/' libcap/Makefile Now, as the root user: make RAISE_SETFCAP=no \ prefix=/usr \ SBINDIR=/sbin install Still as the root user, clean up some library locations and permissions: chmod -v 755 /usr/lib/libcap.so && mv -v /usr/lib/libcap.so.* /lib && ln -sfv ../../lib/libcap.so.2 /usr/lib/libcap.so Command Explanations RAISE_SETFCAP=no: This parameter skips trying to use setcap on itself. This avoids an installation error if the kernel or file system do not support extended capabilities. Contents Installed Programs Installed Library Installed Directories capsh, getcap, getpcaps, and setcap libcap.{so,a} None Short Descriptions capsh is a shell wrapper to explore and constrain capability support. capsh getcap examines file capabilities. getcap getpcaps displays the capabilities on the queried process(es). getpcaps setcap sets file file capabilities. setcap libcap.{so,a} contains the libcap API functions. libcap.{so,a}