Add sepolicy for dm backend app - #334
chenyanxzhu wants to merge 1 commit into
Conversation
|
Improper Commit Message |
3d8d49e to
facb64d
Compare
|
Improper Commit Message |
facb64d to
6af2895
Compare
|
Improper Commit Message |
6af2895 to
3e8a74f
Compare
|
Improper Commit Message |
3e8a74f to
5ec14c1
Compare
|
Improper Commit Message |
5ec14c1 to
4ba20fb
Compare
|
Improper Commit Message |
4ba20fb to
092dc50
Compare
|
Improper Commit Message |
e0ab594 to
14480d9
Compare
|
Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details. |
|
SUCCESS: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details. |
|
Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details. |
|
FAILURE: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details. |
| @@ -0,0 +1,36 @@ | |||
| type dm_backend_ipc_data_file, file_type, data_file_type; | |||
| type dm_backend_app_data_file, file_type, data_file_type, app_data_file_type; | |||
There was a problem hiding this comment.
put these two lines to file.te
| app_domain(dm_backend_client_app) | ||
| net_domain(dm_backend_client_app) | ||
|
|
||
| #permissive dm_backend_client_app; |
There was a problem hiding this comment.
remove all the rules you comment out
| allow dm_backend_client_app dm_backend_app_data_file:dir create_dir_perms; | ||
| #allow dm_backend_client_app default_prop:file read; | ||
| #get_prop(dm_backend_client_app, default_prop) | ||
| allow dm_backend_client_app dm_backend_app_data_file:file unlink; |
| allow dm_backend_client_app activity_service:service_manager find; | ||
| allow dm_backend_client_app activity_task_service:service_manager find; | ||
| allow dm_backend_client_app content_capture_service:service_manager find; | ||
| allow dm_backend_client_app dm_backend_app_data_file:file { create open read setattr write }; |
There was a problem hiding this comment.
use create_file_perms instead
| #dm_backend_app /data/vendor/dm_backend_app permission | ||
| /data/vendor/dm_backend_app(/.*)? u:object_r:dm_backend_ipc_data_file:s0 | ||
| /system/bin/dm-backend u:object_r:dm_backend_server_exec:s0 | ||
| /system/bin/acrn-bkend-server u:object_r:dm_backend_server_exec:s0 |
There was a problem hiding this comment.
don't assign a vendor file type to file in system partition
|
Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details. |
|
SUCCESS: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details. |
|
one of the dependent pr cannot be Rebase and Merged; please fix the issue and commit your changes once again to run EB. |
|
Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details. |
|
SUCCESS: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details. |
Tracked-On: OAM-124639 Signed-off-by: chenyanxzhu <chenyanx.zhu@intel.com>
|
Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details. |
|
FAILURE: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details. |
|
Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details. |
|
FAILURE: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details. |
Tracked-On: