New device-specific sepolicy file for 'perfprofd'

Bug: http://b/19483574

Change-Id: I89791663fed939562c155c181b4e6e3ed44c748e
This commit is contained in:
Than McIntosh 2015-05-01 09:33:39 -04:00
parent 472d1dd2ad
commit cde34c72c0
3 changed files with 8 additions and 0 deletions

6
sepolicy/perfprofd.te Normal file
View File

@ -0,0 +1,6 @@
userdebug_or_eng(`
# perfprofd disables mpdecision temporarily via setprop ctl.stop,
# then re-enables afterwards with setprop ctl.start
allow perfprofd ctl_mpdecision:property_service set;
unix_socket_connect(perfprofd, property, init)
')

View File

@ -1 +1,2 @@
type ctl_rmt_prop, property_type;
type ctl_mpdecision, property_type;

View File

@ -1 +1,2 @@
ctl.rmt_storage u:object_r:ctl_rmt_prop:s0
ctl.mpdecision u:object_r:ctl_mpdecision:s0