statsd: allow misctl property
For detecting 16 KB issues. Bug: 332406754 Test: build Change-Id: I27f7044133dad54b91bbab5911b05a6cc254be36
This commit is contained in:
parent
8b80dacadc
commit
0ae9148a35
2 changed files with 5 additions and 1 deletions
|
@ -229,9 +229,10 @@ neverallow {
|
|||
neverallow {
|
||||
domain
|
||||
-init
|
||||
-crash_dump
|
||||
-dumpstate
|
||||
-misctrl
|
||||
-crash_dump
|
||||
-statsd
|
||||
userdebug_or_eng(`-su')
|
||||
} misctrl_prop:file no_rw_file_perms;
|
||||
neverallow {
|
||||
|
|
|
@ -29,6 +29,9 @@ binder_call(statsd, surfaceflinger);
|
|||
get_prop(statsd, device_config_statsd_native_prop)
|
||||
get_prop(statsd, device_config_statsd_native_boot_prop)
|
||||
|
||||
# Allow statsd to read misctl properties (for 16 KB)
|
||||
get_prop(statsd, misctrl_prop)
|
||||
|
||||
# Allow statsd to write uprobestats configs.
|
||||
allow statsd uprobestats_configs_data_file:dir rw_dir_perms;
|
||||
allow statsd uprobestats_configs_data_file:file create_file_perms;
|
||||
|
|
Loading…
Reference in a new issue