capng_clear man page

capng_clear — clear chosen capabilities set

Synopsis

#include <cap-ng.h>

void capng_clear(capng_select_t set);

Description

capng_clear sets to 0 all bits in the selected posix capabilities set. The options are CAPNG_SELECT_CAPS for the traditional capabilities, CAPNG_SELECT_BOUNDS for the bounding set, or CAPNG_SELECT_BOTH if clearing both is desired.

See Also

capabilities(7)

Author

Steve Grubb

Info

June 2009 Red Hat Libcap-ng API