mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
4ce35a3c60
Fixed up: LineageOS-16.0/android_packages_apps_Backgrounds/308977.patch LineageOS-16.0/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch LineageOS-17.1/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch LineageOS-18.1/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch Must review again: LineageOS-14.1/android_packages_apps_PackageInstaller/64d8b44.patch Signed-off-by: Tad <tad@spotco.us>
28 lines
1.4 KiB
Diff
28 lines
1.4 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: nailyk-fr <nailyk_git@nailyk.fr>
|
|
Date: Sun, 13 Aug 2017 20:54:18 +0200
|
|
Subject: [PATCH] Tuna: Sepolicy: Solve mediacodec denial
|
|
|
|
avc: denied { read write } for pid=1180 comm="mediacodec" name="rpmsg-omx1" dev=tmpfs ino=4913 scontext=u:r:mediacodec:s0 tcontext=u:object_r:rpmsg_device:s0 tclass=chr_file permissive=0
|
|
avc: denied { read } for pid=1195 comm="Binder:1180_1" name="rproc_user" dev=tmpfs ino=4631 scontext=u:r:mediacodec:s0 tcontext=u:object_r:rpmsg_device:s0 tclass=chr_file permissive=0
|
|
avc: denied { open } for pid=177 comm="mediacodec" name="rpmsg-omx1" dev=tmpfs ino=4940 scontext=u:r:mediacodec:s0 tcontext=u:object_r:rpmsg_device:s0 tclass=chr_file permissive=0
|
|
avc: denied { ioctl } for pid=1227 comm="Binder:1198_1" path="/dev/rpmsg-omx1" dev="tmpfs" ino=4978 ioctlcmd=5801 scontext=u:r:mediacodec:s0 tcontext=u:object_r:rpmsg_device:s0 tclass=chr_file permissive=0
|
|
|
|
Change-Id: Ibd6674b3bbf245605b79c6d97ff6ed0d31715870
|
|
---
|
|
sepolicy/mediacodec.te | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
create mode 100644 sepolicy/mediacodec.te
|
|
|
|
diff --git a/sepolicy/mediacodec.te b/sepolicy/mediacodec.te
|
|
new file mode 100644
|
|
index 0000000..711a204
|
|
--- /dev/null
|
|
+++ b/sepolicy/mediacodec.te
|
|
@@ -0,0 +1,2 @@
|
|
+#============= mediacodec ==============
|
|
+allow mediacodec rpmsg_device:chr_file { read write open ioctl };
|
|
--
|
|
2.31.1
|
|
|