diff options
| author | dev-harsh1998 <harshit.india@linaro.org> | 2017-06-29 20:05:46 +0530 |
|---|---|---|
| committer | mayankbali <mayankbali3@gmail.com> | 2017-07-10 20:28:02 +0530 |
| commit | 48577c8bdd8a7fa9fad4cbbaa3a9989e5166309e (patch) | |
| tree | b545aab641934498368f5a702c8e7bc755a9c784 | |
| parent | c0382b76c4d2b9f1f74dd7cb9247f0b9dcfe6512 (diff) | |
sepolicy: fix radio denials
* Addresses the following denial:
<5>[ 508.313455] type=1400 audit(1389033492.145:78): avc: denied { search } for pid=3932 comm=QcRilReceiver name=qmux_radio dev=tmpfs ino=6056 scontext=u:r:radio:s0 tcontext=u:object_r:qmuxd_socket:s0 tclass=dir
And the following logcat error messages:
E/QcrilMsgTunnelSocket( 3916): IOExceptionjava.io.IOException: Permission deniedReason: Permission denied
E/QcrilMsgTunnelSocket( 3916): Couldn't find 'qmux_radio/rild_oem0' socket after 8 times, continuing to retry silently
| -rw-r--r-- | sepolicy/radio.te | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/radio.te b/sepolicy/radio.te new file mode 100644 index 0000000..1730d04 --- /dev/null +++ b/sepolicy/radio.te @@ -0,0 +1,4 @@ +qmux_socket(radio) +allow radio system_app_data_file:dir getattr; +allow radio persist_file:dir rw_dir_perms; +allow radio persist_file:file { getattr open }; |
