Lines Matching refs:capdata
88 struct __user_cap_data_struct capdata[2];
90 memset(&capdata, 0, sizeof(capdata));
94 capdata[CAP_TO_INDEX(CAP_SYSLOG)].permitted = CAP_TO_MASK(CAP_SYSLOG);
95 capdata[CAP_TO_INDEX(CAP_AUDIT_CONTROL)].permitted |= CAP_TO_MASK(CAP_AUDIT_CONTROL);
97 capdata[0].effective = capdata[0].permitted;
98 capdata[1].effective = capdata[1].permitted;
99 capdata[0].inheritable = 0;
100 capdata[1].inheritable = 0;
102 if (capset(&capheader, &capdata[0]) < 0) {