summaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
authorAlexander Shashkevych <alex@stunpix.com>2014-12-02 20:13:01 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2014-12-02 19:13:40 -0200
commit95054cefbe612ca2c1df7b6acf46d83e541ce1ae (patch)
tree782081e1f472592c6cb4b33d45a09e9275f1afad /recipes-core
parent61a2e9923e7e3c11c526ebf502bcc1962b9aaeef (diff)
downloadmeta-fsl-arm-95054cefbe612ca2c1df7b6acf46d83e541ce1ae.tar.gz
udev-extraconf: restrict access to graphic buffers
For security reasons fb and galcore devices must be only accessible by root user and/or video group. All other users must not have access to graphic buffers. Signed-off-by: Alexander Shashkevich <alex@stunpix.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/udev/udev-extraconf/10-imx.rules10
1 files changed, 4 insertions, 6 deletions
diff --git a/recipes-core/udev/udev-extraconf/10-imx.rules b/recipes-core/udev/udev-extraconf/10-imx.rules
index 202bf04..6afc1e8 100644
--- a/recipes-core/udev/udev-extraconf/10-imx.rules
+++ b/recipes-core/udev/udev-extraconf/10-imx.rules
@@ -16,10 +16,8 @@ KERNEL=="mc13783_connectiv*", NAME="mc13783_connectivity"
16KERNEL=="mxc_iim", MODE="0444", SYMLINK+="mxc_mem" 16KERNEL=="mxc_iim", MODE="0444", SYMLINK+="mxc_mem"
17KERNEL=="mxs_viim", MODE="0444", SYMLINK+="mxc_mem" 17KERNEL=="mxs_viim", MODE="0444", SYMLINK+="mxc_mem"
18KERNEL=="mxc_ipu", MODE="0666" 18KERNEL=="mxc_ipu", MODE="0666"
19KERNEL=="fb0", MODE="0666"
20KERNEL=="fb1", MODE="0666"
21KERNEL=="fb2", MODE="0666"
22KERNEL=="mxc_vpu", MODE="0666" 19KERNEL=="mxc_vpu", MODE="0666"
23SUBSYSTEM=="video", MODE="0666" 20SUBSYSTEM=="video", MODE="0660"
24KERNEL=="gsl_kmod", MODE="0666" 21KERNEL=="fb[0-9]", MODE="0660", GROUP="video"
25KERNEL=="galcore", MODE="0666" 22KERNEL=="gsl_kmod", MODE="0660", GROUP="video"
23KERNEL=="galcore", MODE="0660", GROUP="video"