diff options
| author | Demon000 <demonsingur@gmail.com> | 2018-01-10 22:22:39 +0200 |
|---|---|---|
| committer | Demon Singur <demonsingur@gmail.com> | 2018-02-02 18:06:37 +0000 |
| commit | f8c11f9e2fee92a70cec620ae64a50b8a1bc74bf (patch) | |
| tree | 93921c846192194d887bbc30f73ec5c72392feda | |
| parent | 6f4ac227b8e31db03deeebfa46ddf12570a2c8bd (diff) | |
sepolicy: allow post_boot to write to kgsl sysfs files
Solves the following denial.
avc: denied { write } for name="default_pwrlevel" dev="sysfs" ino=13506 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:sysfs_kgsl:s0 tclass=file
Change-Id: I13ecb7499de4a1050ca13a4f5a8647c913940ade
| -rw-r--r-- | sepolicy/init_shell.te | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/init_shell.te b/sepolicy/init_shell.te index 39a1713a..1201d9fe 100644 --- a/sepolicy/init_shell.te +++ b/sepolicy/init_shell.te @@ -1 +1,2 @@ +allow qti_init_shell sysfs_kgsl:file write; allow qti_init_shell sysfs_rqstats:dir r_dir_perms; |
