-
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.
Dumpstate: Fix selinux permission error for hal_dumpstate_impl
Dumpstate for marlin has been broken since hidlization because of selinux permission For modem log, create the property(ro.radio.log_loc) so that dumpstate refer this prop to read the modem logs. Test: generated dumpstate-board.txt without any permission error Bug: 31982882 Fixes: 34076823 Change-Id: Iddb3a7c4e89bd6ac890aa89e2cad2e8c67e77bcc Signed-off-by: Ecco Park <eccopark@google.com>
- Loading branch information
Showing
9 changed files
with
88 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
userdebug_or_eng(` | ||
allow dumpstate smlog_dump_file:dir create_dir_perms; | ||
allow dumpstate smlog_dump_file:file create_file_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
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 qsee_logger_exec, exec_type, file_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,7 @@ | ||
type smlog_dump_exec, exec_type, file_type; | ||
|
||
type smlog_dump, domain; | ||
allow smlog_dump smlog_dump_file:dir r_dir_perms; | ||
allow smlog_dump smlog_dump_file:file create_file_perms; | ||
r_dir_file(smlog_dump, sysfs_uio) | ||
r_dir_file(smlog_dump, sysfs_rmtfs) |