-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New device-specific sepolicy file for 'perfprofd'
Bug: http://b/19483574 Change-Id: Iecccb96141fb730c84adaa856ef2f3ee098dd432
- Loading branch information
Showing
3 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
type ctl_mpdecision, property_type; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ctl.mpdecision u:object_r:ctl_mpdecision:s0 |