2016-07-22 13:13:11 -07:00
|
|
|
# type_transition must be private policy the domain_trans rules could stay
|
|
|
|
# public, but conceptually should go with this
|
|
|
|
# Define and allow access to our own type for ashmem regions.
|
|
|
|
# Label ashmem objects with our own unique type.
|
2016-10-06 13:15:44 -07:00
|
|
|
tmpfs_domain(ephemeral_app)
|
2016-10-12 14:58:09 -07:00
|
|
|
# TODO: deal with tmpfs_domain pub/priv split properly
|
|
|
|
# Map with PROT_EXEC.
|
|
|
|
allow ephemeral_app ephemeral_app_tmpfs:file execute;
|
|
|
|
|
|
|
|
# Read system properties managed by zygote.
|
|
|
|
allow ephemeral_app zygote_tmpfs:file read;
|