OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:capnum
(Results
1 - 4
of
4
) sorted by null
/external/selinux/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/selinux/libsepol/include/sepol/policydb/
polcaps.h
22
extern const char *sepol_polcap_getname(int
capnum
);
/external/selinux/checkpolicy/
policy_define.c
249
int
capnum
;
local
264
capnum
= sepol_polcap_getnum(id);
265
if (
capnum
< 0) {
271
if (ebitmap_set_bit(&policydbp->policycaps,
capnum
, TRUE)) {
[
all
...]
/external/selinux/libsepol/cil/src/
cil_binary.c
664
int
capnum
;
local
666
capnum
= sepol_polcap_getnum(cil_polcap->datum.fqn);
667
if (
capnum
== -1) {
671
if (ebitmap_set_bit(&pdb->policycaps,
capnum
, 1)) {
[
all
...]
Completed in 612 milliseconds