OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SRC_TYPE
(Results
1 - 14
of
14
) 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.assertEquals(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
189
for i in map(lambda x: x[TCONTEXT], sesearch([ALLOW], {SCONTEXT: av.
src_type
, CLASS: av.obj_class, PERMS: av.perms})):
193
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))
195
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))
268
(av.
src_type
, av.tgt_type, av.obj_class, av.perms.to_space_str()))
292
if params[i].type == refpolicy.
SRC_TYPE
:
293
ifcall.args.append(av.
src_type
)
331
if params[i].type not in [refpolicy.
SRC_TYPE
, refpolicy.TGT_TYPE,
refpolicy.py
39
SRC_TYPE
= 0
48
str_to_field = { "source" :
SRC_TYPE
, "target" : TGT_TYPE, "object" : OBJ_CLASS,
475
self.src_types.add(av.
src_type
)
476
if av.
src_type
== av.tgt_type:
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/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
189
for i in map(lambda x: x[TCONTEXT], sesearch([ALLOW], {SCONTEXT: av.
src_type
, CLASS: av.obj_class, PERMS: av.perms})):
193
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))
195
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))
268
(av.
src_type
, av.tgt_type, av.obj_class, av.perms.to_space_str()))
292
if params[i].type == refpolicy.
SRC_TYPE
:
293
ifcall.args.append(av.
src_type
)
331
if params[i].type not in [refpolicy.
SRC_TYPE
, refpolicy.TGT_TYPE,
refpolicy.py
39
SRC_TYPE
= 0
48
str_to_field = { "source" :
SRC_TYPE
, "target" : TGT_TYPE, "object" : OBJ_CLASS,
475
self.src_types.add(av.
src_type
)
476
if av.
src_type
== av.tgt_type:
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/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
189
for i in map(lambda x: x[TCONTEXT], sesearch([ALLOW], {SCONTEXT: av.
src_type
, CLASS: av.obj_class, PERMS: av.perms})):
193
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))
195
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))
268
(av.
src_type
, av.tgt_type, av.obj_class, av.perms.to_space_str()))
292
if params[i].type == refpolicy.
SRC_TYPE
:
293
ifcall.args.append(av.
src_type
)
331
if params[i].type not in [refpolicy.
SRC_TYPE
, refpolicy.TGT_TYPE,
refpolicy.py
39
SRC_TYPE
= 0
48
str_to_field = { "source" :
SRC_TYPE
, "target" : TGT_TYPE, "object" : OBJ_CLASS,
475
self.src_types.add(av.
src_type
)
476
if av.
src_type
== av.tgt_type:
/external/mesa3d/src/mesa/main/
pack_tmp.h
28
SRC_TYPE
rgba[][4],
pack.c
467
#define
SRC_TYPE
GLuint
517
#undef
SRC_TYPE
861
#define
SRC_TYPE
GLint
903
#undef
SRC_TYPE
[
all
...]
/external/jpeg/
jmemdos.c
473
#define
SRC_TYPE
(spec) FIELD_AT(spec,4,char)
499
SRC_TYPE
(spec) = 1;
524
SRC_TYPE
(spec) = 0;
Completed in 1982 milliseconds