OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:capnum
(Results
1 - 3
of
3
) sorted by null
/external/selinux/libsepol/src/
polcaps.c
19
int
capnum
;
local
21
for (
capnum
= 0;
capnum
<= POLICYDB_CAPABILITY_MAX;
capnum
++) {
22
if (polcap_names[
capnum
] == NULL)
24
if (strcasecmp(polcap_names[
capnum
], name) == 0)
25
return
capnum
;
30
const char *sepol_polcap_getname(unsigned int
capnum
)
32
if (
capnum
> POLICYDB_CAPABILITY_MAX)
35
return polcap_names[
capnum
];
[
all
...]
/external/selinux/checkpolicy/
policy_define.c
252
int
capnum
;
local
267
capnum
= sepol_polcap_getnum(id);
268
if (
capnum
< 0) {
274
if (ebitmap_set_bit(&policydbp->policycaps,
capnum
, TRUE)) {
[
all
...]
/external/selinux/libsepol/cil/src/
cil_binary.c
669
int
capnum
;
local
671
capnum
= sepol_polcap_getnum(cil_polcap->datum.fqn);
672
if (
capnum
== -1) {
676
if (ebitmap_set_bit(&pdb->policycaps,
capnum
, 1)) {
[
all
...]
Completed in 737 milliseconds