Home | History | Annotate | Download | only in src

Lines Matching refs:capnum

16 	int capnum;
18 for (capnum = 0; capnum <= POLICYDB_CAPABILITY_MAX; capnum++) {
19 if (polcap_names[capnum] == NULL)
21 if (strcasecmp(polcap_names[capnum], name) == 0)
22 return capnum;
27 const char *sepol_polcap_getname(int capnum)
29 if (capnum > POLICYDB_CAPABILITY_MAX)
32 return polcap_names[capnum];