OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SRC_TYPE
(Results
1 - 10
of
10
) sorted by null
/system/bt/bta/dm/
bta_dm_sco.c
89
SRC_TYPE
*pS = (
SRC_TYPE
*)pStart; \
90
SRC_TYPE
*pSEnd = (
SRC_TYPE
*)pEnd; \
143
SRC_TYPE
*pS = (
SRC_TYPE
*)pStart; \
144
SRC_TYPE
*pSEnd = (
SRC_TYPE
*)pEnd; \
196
SRC_TYPE
*pS = (
SRC_TYPE
*)pStart;
[
all
...]
/external/selinux/sepolgen/tests/
test_interfaces.py
34
self.assertEqual(p.type, refpolicy.
SRC_TYPE
)
44
av.
src_type
= "$1"
49
self.assertEqual(p.type, refpolicy.
SRC_TYPE
)
59
self.assertEqual(p.type, refpolicy.
SRC_TYPE
)
69
self.assertEqual(p.type, refpolicy.
SRC_TYPE
)
72
av.
src_type
= "bar"
220
self.assertEqual(param.type, refpolicy.
SRC_TYPE
)
/external/selinux/sepolgen/src/sepolgen/
interfaces.py
40
self.type = refpolicy.
SRC_TYPE
70
if (type == refpolicy.
SRC_TYPE
or type == refpolicy.TGT_TYPE) and \
71
(p.type == refpolicy.TGT_TYPE or p.type == refpolicy.
SRC_TYPE
):
84
# "Promote" to a
SRC_TYPE
as this is the likely usage.
88
p.type = refpolicy.
SRC_TYPE
117
a
SRC_TYPE
. In general an interface will look like this:
123
This is simple to figure out - $1 is a
SRC_TYPE
. A few interfaces
136
and therefore should be returned as a
SRC_TYPE
.
144
if access.is_idparam(av.
src_type
):
145
if __param_insert(av.
src_type
, refpolicy.SRC_TYPE, av, params) == 1
[
all
...]
policygen.py
190
for i in [x[TCONTEXT] for x in sesearch([ALLOW], {SCONTEXT: av.
src_type
, CLASS: av.obj_class, PERMS: av.perms})]:
194
rule.comment += "\n#!!!! The source type '%s' can write to a '%s' of the following type:\n# %s\n" % ( av.
src_type
, av.obj_class, ", ".join(types))
196
rule.comment += "\n#!!!! The source type '%s' can write to a '%s' of the following types:\n# %s\n" % ( av.
src_type
, av.obj_class, ", ".join(types))
269
(av.
src_type
, av.tgt_type, av.obj_class, av.perms.to_space_str()))
290
if params[i].type == refpolicy.
SRC_TYPE
:
291
ifcall.args.append(av.
src_type
)
329
if params[i].type not in [refpolicy.
SRC_TYPE
, refpolicy.TGT_TYPE,