summaryrefslogtreecommitdiff
authorshuanglong.wang <shuanglong.wang@amlogic.com>2020-01-07 05:11:03 (GMT)
committer liang ji <liang.ji@amlogic.com>2020-08-28 08:42:04 (GMT)
commit150743a942c203ecaeba658b3e4efc258d3f5cc7 (patch)
tree96a7c10e773336755063f20bb6a19bc165840ee0
parent62ef2dbf9511a21021b5ac68b27492c2878e65eb (diff)
downloadcommon-150743a942c203ecaeba658b3e4efc258d3f5cc7.zip
common-150743a942c203ecaeba658b3e4efc258d3f5cc7.tar.gz
common-150743a942c203ecaeba658b3e4efc258d3f5cc7.tar.bz2
device: chmod tsync device mode and sepolicy [1/3]
PD#SWPL-18781 BUG=166689030 Problem: chmod tsync device mode and sepolicy Solution: chmod tsync device mode and sepolicy Verify: verify by U212 Change-Id: I916a422b350a6b554cadfbd31d49c591ffede735 Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
Diffstat
-rwxr-xr-xinitscripts/ueventd.amlogic.rc1
-rw-r--r--sepolicy/file_contexts1
2 files changed, 2 insertions, 0 deletions
diff --git a/initscripts/ueventd.amlogic.rc b/initscripts/ueventd.amlogic.rc
index 12b4387..130a98c 100755
--- a/initscripts/ueventd.amlogic.rc
+++ b/initscripts/ueventd.amlogic.rc
@@ -43,6 +43,7 @@
/dev/amsubtitle 0660 media system
/dev/jpegenc 0660 media system
/dev/videosync 0666 media system
+/dev/tsync 0666 media system
/dev/ac_sbuf0 0660 system camera
/dev/ac_isp4uf 0660 system camera
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 84ac38b..75c0ab0 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -25,6 +25,7 @@
/dev/amstream_sub_read u:object_r:subtitle_device:s0
/dev/avin_detect u:object_r:avin_device:s0
/dev/videosync u:object_r:video_device:s0
+/dev/tsync u:object_r:video_device:s0
/dev/unifykeys u:object_r:unify_device:s0