CAP_CLEAR(3C)CAP_CLEAR(3C)NAMEcap_clear - clear the fields of a capability
SYNOPSIS
#include <sys/capability.h>
int cap_clear( cap_t cap)
DESCRIPTION
Clears the effective, permitted and inherited capabilities of the
capability structure pointed to by cap.
RETURN VALUEScap_clear returns 0 if successful. If cap is NULL, it returns -1.
ERRORS
EINVAL cap is NULL.
SEE ALSOcapabilities(4)
Page 1