diff options
author | Dixon Peterson <dixonp@codeaurora.org> | 2012-06-29 17:19:17 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2012-08-21 11:42:18 -0700 |
commit | 6934c8ff849141d36790c663992bfbce5d7202cd (patch) | |
tree | bbcd17c1d70490d3b5f787c8f4f886eebbcf8753 /rootdir/ueventd.rc | |
parent | a6a6bcfe8c50a4ac51f91a8468e44cdc83838c82 (diff) | |
download | system_core-6934c8ff849141d36790c663992bfbce5d7202cd.tar.gz system_core-6934c8ff849141d36790c663992bfbce5d7202cd.tar.bz2 system_core-6934c8ff849141d36790c663992bfbce5d7202cd.zip |
diag: Remove world read/write permissions from /dev/diag
/dev/diag has world read/write permissions which is considered
a security risk. Remove these permissions. Add new qcom_diag
group for access to /dev/diag
CRs-Fixed: 356415
(cherry picked from commit 14c85ec56fd47c5eb143617a3bd5a6e7ee39cb6e)
Change-Id: I536323a97e19a07bbd8eadffa0265d1955590285
Diffstat (limited to 'rootdir/ueventd.rc')
-rw-r--r-- | rootdir/ueventd.rc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rootdir/ueventd.rc b/rootdir/ueventd.rc index 48fec5a8..70fa80fa 100644 --- a/rootdir/ueventd.rc +++ b/rootdir/ueventd.rc @@ -15,11 +15,13 @@ # the msm hw3d client device node is world writable/readable. /dev/msm_hw3dc 0666 root root +# the DIAG device node is not world writable/readable. +/dev/diag 0660 system qcom_diag + # gpu driver for adreno200 is globally accessible /dev/kgsl 0666 root root # these should not be world writable -/dev/diag 0660 radio radio /dev/diag_arm9 0660 radio radio /dev/android_adb 0660 adb adb /dev/android_adb_enable 0660 adb adb |