summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorjaejyn.shin <jaejyn.shin@lge.com>2015-06-16 11:21:19 +0900
committerThierry Strudel <tstrudel@google.com>2015-06-17 14:26:03 -0700
commitf5ec66ddd47a6ed3b141b128ce681178a322d653 (patch)
tree71c3c4dfa1cc26b380a3d9d07443ba856654bd6d /sepolicy/file_contexts
parentaee3c4df3cf441f94e2f2dfd075aec83bc5bf9c0 (diff)
downloadbullhead-f5ec66ddd47a6ed3b141b128ce681178a322d653.tar.gz
bullhead/sepolicy: labeling nfc_device, nfc_data_file.
avc: denied { read write } for pid=3109 comm=4173796E635461736B202331 name="pn548" dev="tmpfs" ino=5521 scontext=u:r:nfc:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 avc: denied { open } for pid=3109 comm=4173796E635461736B202331 path="/dev/pn548" dev="tmpfs" ino=5521 scontext=u:r:nfc:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 avc: denied { ioctl } for pid=3109 comm=4173796E635461736B202331 path="/dev/pn548" dev="tmpfs" ino=5521 ioctlcmd=e901 scontext=u:r:nfc:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 avc: denied { write } for pid=3109 comm=4173796E635461736B202331 name="libnfc-nxpConfigState.bin" dev="mmcblk0p45" ino=179875 scontext=u:r:nfc:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1 Change-Id: I728b7355b934eeb4c06e79b550eb13a813d1ea91
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index e7d2d8d..3df8528 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,3 +1,7 @@
+# NFC labeling
+/dev/pn548 u:object_r:nfc_device:s0
+/data/nfc(/.*)? u:object_r:nfc_data_file:s0
+
# Data files
/data/misc/perfd(/.*)? u:object_r:mpctl_data_file:s0
/data/misc/perfd/mpctl u:object_r:mpctl_socket:s0