Home
last modified time | relevance | path

Searched refs:PERMS (Results 1 – 7 of 7) sorted by relevance

/external/selinux/policycoreutils/sepolicy/sepolicy/
Dbooleans.py34 allows=search([sepolicy.ALLOW],{sepolicy.SOURCE:src,sepolicy.CLASS:tclass, sepolicy.PERMS:perm})
39 …for l in map(lambda y: y[sepolicy.TARGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]),…
Dcommunicate.py41 allows=search([sepolicy.ALLOW],{sepolicy.SOURCE:src,sepolicy.CLASS:tclass, sepolicy.PERMS:perm})
46 …for l in map(lambda y: y[sepolicy.TARGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]),…
Dnetwork.py28 allows=search([sepolicy.ALLOW],{sepolicy.SOURCE:src,sepolicy.CLASS:tclass, sepolicy.PERMS:perm})
31 …map(lambda y: y[sepolicy.TARGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]), allows)):
D__init__.py38 PERMS = 'permlist' variable
56 if PERMS in seinfo:
57 perms = info[PERMS]
58 seinfo[PERMS] = ",".join(seinfo[PERMS])
69 allows=search([ALLOW],{SOURCE:src,TARGET:dest,CLASS:tclass,PERMS:perm})
72 allows=search([ALLOW],{SOURCE:src,CLASS:tclass,PERMS:perm})
78 …for i in map(lambda y: (y), filter(lambda x: set(perm).issubset(x[PERMS]) and x['boolean'], allows…
739 if perm not in dict[PERMS]:
Dtransition.py30 …return map(lambda y: y[sepolicy.TARGET], filter(lambda x: "entrypoint" in x[sepolicy.PERMS], trans…
/external/selinux/sepolgen/src/sepolgen/
Drefpolicy.py42 PERMS = 3 variable
49 "permission" : PERMS, "role" : ROLE, "destination" : DEST_TYPE }
Dpolicygen.py189 … x: x[TCONTEXT], sesearch([ALLOW], {SCONTEXT: av.src_type, CLASS: av.obj_class, PERMS: av.perms})):