author | Madhava Srinivasan <madhavags@google.com> | 2019-06-06 20:11:57 (GMT) |
---|---|---|
committer | Madhava Srinivasan <madhavags@google.com> | 2019-06-06 20:11:57 (GMT) |
commit | 0638b664eb8535959fd6eb8e494e0c4d470cb28e (patch) | |
tree | f392138654e565fee24c989c7b68d4daa446471b | |
parent | c052a839bcf5aa6e921a0e4071d3e807dd1e0ad0 (diff) | |
download | common-0638b664eb8535959fd6eb8e494e0c4d470cb28e.zip common-0638b664eb8535959fd6eb8e494e0c4d470cb28e.tar.gz common-0638b664eb8535959fd6eb8e494e0c4d470cb28e.tar.bz2 |
Fixing SE Policy for BugReportSender.
Fixing SEPolicy for failure:
06-06 11:27:12.360 12854 12854 I RenderThread: type=1400 audit(0.0:205):
avc: denied { search } for name="ctx" dev="debugfs" ino=2596
scontext=u:r:shell:s0 tcontext=u:object_r:debugfs_mali:s0 tclass=dir
permissive=0
Test: make;bugreport capture;bugreport send;
Bug: 132906926
Change-Id: Ie1b0f4654d42ceb199500467b7133eb2b0c34bda
-rwxr-xr-x | sepolicy/shell.te | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/shell.te b/sepolicy/shell.te index 7be2d94..ae51ab7 100755 --- a/sepolicy/shell.te +++ b/sepolicy/shell.te @@ -3,6 +3,7 @@ allow shell sysfs_amhdmitx:file { open read write getattr }; allow shell sysfs_amhdmitx:dir search; allow shell sysfs_remote:dir search; allow shell sysfs_remote:file { open read write getattr }; +allow shell debugfs_mali:dir search; allow shell metadata_file:dir getattr; allow shell unlabeled:dir getattr; |