Merge "statsd: allow misctl property" into main
This commit is contained in:
commit
4fa0ed2bc1
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