summaryrefslogtreecommitdiffstats
path: root/recipes-core/udev/udev-extraconf/10-imx.rules
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-06 17:54:08 -0200
commitc31219416a7567755e7bdb08327b501d530c5b82 (patch)
tree424ab8836e6e7251a7cc04260c82a3d70375220b /recipes-core/udev/udev-extraconf/10-imx.rules
parent2376d3d7c898bbda9ce98f9dedcc63b19ccffd93 (diff)
downloadmeta-fsl-arm-c31219416a7567755e7bdb08327b501d530c5b82.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/udev/udev-extraconf/10-imx.rules')
-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"