Lines Matching refs:capnum
18 int capnum;
20 for (capnum = 0; capnum <= POLICYDB_CAPABILITY_MAX; capnum++) {
21 if (polcap_names[capnum] == NULL)
23 if (strcasecmp(polcap_names[capnum], name) == 0)
24 return capnum;
29 const char *sepol_polcap_getname(int capnum)
31 if (capnum > POLICYDB_CAPABILITY_MAX)
34 return polcap_names[capnum];