forked from LineageOS/android_device_google_wahoo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated SEPolicy for camera/composer/sensors.
Removes binder violations for camera/hwcomposer HALs. Bug: 36683636 Bug: 37302783 Test: muskie/taimen boot, graphics/camera works Change-Id: Id3996b3ca11e2c4cb1d0df10e0f4a456829b8f9b
- Loading branch information
Martijn Coenen
committed
Apr 28, 2017
1 parent
507aa97
commit 75573c0
Showing
6 changed files
with
11 additions
and
16 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
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# TODO(b/36569385): Remove once Camera HAL no longer uses Binder | ||
typeattribute hal_camera_default binder_in_vendor_violators; | ||
|
||
allow hal_camera_default input_device:dir r_dir_perms; | ||
|
||
allow hal_camera_default sysfs_laser:file w_file_perms; | ||
vndbinder_use(hal_camera_default); | ||
allow hal_camera_default qdisplay_service:service_manager { find }; | ||
|
||
binder_call(hal_camera_default, hal_graphics_composer) | ||
binder_call(hal_camera_default, system_server) |
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
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
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 qdisplay_service, vndservice_manager_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 @@ | ||
display.qservice u:object_r:qdisplay_service:s0 |