CAP_CLEAR(3C) CAP_CLEAR(3C)
cap_clear - clear the fields of a capability
#include <sys/capability.h>
int cap_clear( cap_t cap)
Clears the effective, permitted and inherited capabilities of the
capability structure pointed to by cap.
cap_clear returns 0 if successful. If cap is NULL, it returns -1.
EINVAL cap is NULL.
capabilities(4)
PPPPaaaaggggeeee 1111 [ Back ]
|