Allow traced to lazily start heapprofd.

Bug: 126724929

Change-Id: I15f0ae10d5e45fc65850635230e377b6f77ad4d7
This commit is contained in:
Florian Mayer 2019-03-13 11:22:23 -07:00
parent 59d5d90da8
commit a769f0fd43
4 changed files with 6 additions and 0 deletions

View file

@ -126,6 +126,7 @@
time_prop
timedetector_service
timezonedetector_service
traced_lazy_prop
uri_grants_service
use_memfd_prop
vendor_cgroup_desc_file

View file

@ -64,6 +64,7 @@ persist.service. u:object_r:system_prop:s0
persist.service.bdroid. u:object_r:bluetooth_prop:s0
persist.security. u:object_r:system_prop:s0
persist.traced.enable u:object_r:traced_enabled_prop:s0
traced.lazy. u:object_r:traced_lazy_prop:s0
persist.heapprofd.enable u:object_r:heapprofd_enabled_prop:s0
persist.vendor.overlay. u:object_r:overlay_prop:s0
ro.boot.vendor.overlay. u:object_r:overlay_prop:s0

View file

@ -39,6 +39,8 @@ allow traced iorapd_tmpfs:file { read write };
# Allow traced to notify Traceur when a trace ends by setting the
# sys.trace.trace_end_signal property.
set_prop(traced, system_trace_prop)
# Allow to lazily start producers.
set_prop(traced, traced_lazy_prop)
###
### Neverallow rules

View file

@ -81,6 +81,7 @@ type test_boot_reason_prop, property_type;
type test_harness_prop, property_type;
type time_prop, property_type;
type traced_enabled_prop, property_type;
type traced_lazy_prop, property_type;
type use_memfd_prop, property_type;
type vold_prop, property_type, core_property_type;
type wifi_log_prop, property_type, log_property_type;
@ -451,6 +452,7 @@ compatible_property_only(`
-test_harness_prop
-time_prop
-traced_enabled_prop
-traced_lazy_prop
-vendor_default_prop
-vendor_security_patch_level_prop
-vold_prop