-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move logging folder from data to data/vendor
diag_logs cnss_diag ramdump Bug: 36734870 Test: Capture logs and check no SELinux denial Change-Id: Ic7a7c7052c06b82b88cdaf3057d65e8a6765284c
- Loading branch information
Jie Song
committed
Apr 7, 2017
1 parent
cf07982
commit 884c7d0
Showing
12 changed files
with
55 additions
and
25 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
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
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,19 @@ | ||
type logger_app, domain; | ||
|
||
userdebug_or_eng(` | ||
app_domain(logger_app) | ||
net_domain(logger_app) | ||
|
||
allow logger_app app_api_service:service_manager find; | ||
allow logger_app surfaceflinger_service:service_manager find; | ||
|
||
allow logger_app diag_device:chr_file rw_file_perms; | ||
|
||
allow logger_app radio_vendor_data_file:file create_file_perms; | ||
allow logger_app radio_vendor_data_file:dir create_dir_perms; | ||
|
||
allow logger_app cnss_vendor_data_file:dir create_dir_perms; | ||
allow logger_app cnss_vendor_data_file:file create_file_perms; | ||
|
||
set_prop(logger_app, cnss_diag_prop); | ||
') |
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,12 @@ | ||
type ramdump_app, domain; | ||
|
||
userdebug_or_eng(` | ||
app_domain(ramdump_app) | ||
|
||
allow ramdump_app app_api_service:service_manager find; | ||
|
||
allow ramdump_app ramdump_vendor_data_file:file create_file_perms; | ||
allow ramdump_app ramdump_vendor_data_file:dir create_dir_perms; | ||
|
||
set_prop(ramdump_app, ramdump_prop); | ||
') |
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