Skip to content

Commit

Permalink
New device-specific sepolicy file for 'perfprofd'
Browse files Browse the repository at this point in the history
Bug: http://b/19483574

Change-Id: Iecccb96141fb730c84adaa856ef2f3ee098dd432
  • Loading branch information
thanm committed May 7, 2015
1 parent ef68403 commit 207b2c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sepolicy/perfprofd.te
Original file line number Diff line number Diff line change
@@ -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)
')
1 change: 1 addition & 0 deletions sepolicy/property.te
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
type ctl_mpdecision, property_type;
1 change: 1 addition & 0 deletions sepolicy/property_contexts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ctl.mpdecision u:object_r:ctl_mpdecision:s0

0 comments on commit 207b2c1

Please sign in to comment.