From e9a18e2d9ed9906369a14b6be3f11d566db80486 Mon Sep 17 00:00:00 2001 From: Elektroschmock Date: Mon, 2 Mar 2020 21:34:33 +0100 Subject: [PATCH] msm8974-common: sepolicy: label /dev/stune(/.*) as cgroup * avc: denied { write } for name="tasks" dev="tmpfs" ino=7795 scontext=u:r:adbroot:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1 * avc: denied { open } for name="tasks" dev="tmpfs" ino=7795 scontext=u:r:adbroot:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1 * avc: denied { write } for name="tasks" dev="tmpfs" ino=7795 scontext=u:r:installd:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1 * avc: denied { open } for name="tasks" dev="tmpfs" ino=7795 scontext=u:r:installd:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1 * avc: denied { write } for name="tasks" dev="tmpfs" ino=7795 scontext=u:r:netd:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1 * avc: denied { open } for name="tasks" dev="tmpfs" ino=7795 scontext=u:r:netd:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1 * avc: denied { write } for name="tasks" dev="tmpfs" ino=7795 scontext=u:r:storaged:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1 * avc: denied { open } for name="tasks" dev="tmpfs" ino=7795 scontext=u:r:storaged:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1 * avc: denied { write } for name="tasks" dev="tmpfs" ino=7795 scontext=u:r:gsid:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1 Change-Id: Idc69978328640ff40ad5efe2f0abd79304e75893 --- sepolicy/common/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/common/file_contexts b/sepolicy/common/file_contexts index aade96a..2947c45 100644 --- a/sepolicy/common/file_contexts +++ b/sepolicy/common/file_contexts @@ -15,6 +15,7 @@ /dev/pn547 u:object_r:nfc_device:s0 /dev/rfkill u:object_r:wlan_device:s0 /dev/sec-nfc u:object_r:nfc_device:s0 +/dev/stune(/.*)? u:object_r:cgroup:s0 # efs files /efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0