-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tracked-On: Signed-off-by: chenyanxzhu <[email protected]>
- Loading branch information
1 parent
4cbfbd0
commit facb64d
Showing
3 changed files
with
14 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,10 @@ | ||
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; | ||
type dm_backend_client_app, domain; | ||
|
||
#============= dm_backend_client_app ============== | ||
allow dm_backend_client_app dm_backend_ipc_data_file:dir { add_name remove_name }; | ||
allow dm_backend_client_app dm_backend_ipc_data_file:sock_file { create unlink write }; | ||
|
||
allow dm_backend_client_app dm_backend_app_data_file:dir create_dir_perms; | ||
|
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,3 @@ | ||
#dm_backend_app /data/vendor/dm_backend_app permission | ||
/data/vendor/dm_backend_app(/.*)? u:object_r:dm_backend_ipc_data_file:s0 | ||
|
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 @@ | ||
user=system seinfo=platform name=com.intel.dm_backend domain=dm_backend_client_app type=dm_backend_app_data_file |