57155c6b6a
libcap provides a set of tools to manipulate capabilities, among which `setcap(8)` and `getcap(8)`. A new menu entry has been added to install them. [Thomas: mark the new option as requiring MMU support, because the programs use fork(), and completely rework the new .mk logic as it wasn't taking into account the BR2_PREFER_STATIC_LIB case.] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
751 B
Plaintext
25 lines
751 B
Plaintext
config BR2_PACKAGE_LIBCAP
|
|
bool "libcap"
|
|
help
|
|
This library 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.
|
|
|
|
http://sites.google.com/site/fullycapable/
|
|
|
|
if BR2_PACKAGE_LIBCAP
|
|
|
|
config BR2_PACKAGE_LIBCAP_TOOLS
|
|
bool "install tools"
|
|
depends on BR2_USE_MMU
|
|
help
|
|
Install setcap, getcap, getpcaps and capsh tools.
|
|
|
|
For these tools to run properly, you should enable, in your
|
|
kernel configuration, extended file attributes/security labels
|
|
support for the file system type used on target system (e.g.
|
|
CONFIG_EXT2_FS_XATTR and CONFIG_EXT2_FS_SECURITY for ext2).
|
|
|
|
endif
|