Searched refs:CAP_TO_INDEX (Results 1 – 2 of 2) sorted by relevance
94 capdata[CAP_TO_INDEX(CAP_SYSLOG)].permitted = CAP_TO_MASK(CAP_SYSLOG); in drop_privs()95 capdata[CAP_TO_INDEX(CAP_AUDIT_CONTROL)].permitted |= CAP_TO_MASK(CAP_AUDIT_CONTROL); in drop_privs()
110 #define CAP_TO_INDEX(x) ((x) >> 5) macro