OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:capnum
(Results
1 - 2
of
2
) sorted by null
/external/libsepol/src/
polcaps.c
18
int
capnum
;
local
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
];
[
all
...]
/external/checkpolicy/
policy_define.c
244
int
capnum
;
local
259
capnum
= sepol_polcap_getnum(id);
260
if (
capnum
< 0) {
266
if (ebitmap_set_bit(&policydbp->policycaps,
capnum
, TRUE)) {
[
all
...]
Completed in 118 milliseconds