%general-entities; ]> Libcap-&libcap-version; Libcap <para>Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities.</para> </sect2> <sect2 role="installation"> <title>Installation of Libcap Compile the package: make This package does not come with a test suite. Install the package: make RAISE_SETFCAP=no install chmod -v 755 /lib/libcap.so.&libcap-version; ln -sfv ../../lib/$(readlink /lib/libcap.so) /usr/lib/libcap.so rm -v /lib/libcap.so mv -v /lib/libcap.a /usr/lib The meaning of the make option: RAISE_SETFCAP=no This prevents setcap from being run on itself, which will fail if the kernel or file system does not support extended capabilities. Contents of Libcap Installed programs Installed libraries capsh, getcap, getpcaps, setcap libcap.[a,so] Short Descriptions capsh Capability support and use can be explored and constrained with this tool capsh getcap Examines file capabilities getcap getpcaps Displays the capabilities on the queried process(es) getpcaps setcap Sets file capabilities setcap libcap Library for setting and clearing POSIX.1e capabilities libcap