diff options
author | Alexander Shashkevych <alex@stunpix.com> | 2014-12-02 20:13:01 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-12-06 17:54:08 -0200 |
commit | c31219416a7567755e7bdb08327b501d530c5b82 (patch) | |
tree | 424ab8836e6e7251a7cc04260c82a3d70375220b /recipes-core/udev/udev-extraconf | |
parent | 2376d3d7c898bbda9ce98f9dedcc63b19ccffd93 (diff) | |
download | meta-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')
-rw-r--r-- | recipes-core/udev/udev-extraconf/10-imx.rules | 10 |
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" | |||
16 | KERNEL=="mxc_iim", MODE="0444", SYMLINK+="mxc_mem" | 16 | KERNEL=="mxc_iim", MODE="0444", SYMLINK+="mxc_mem" |
17 | KERNEL=="mxs_viim", MODE="0444", SYMLINK+="mxc_mem" | 17 | KERNEL=="mxs_viim", MODE="0444", SYMLINK+="mxc_mem" |
18 | KERNEL=="mxc_ipu", MODE="0666" | 18 | KERNEL=="mxc_ipu", MODE="0666" |
19 | KERNEL=="fb0", MODE="0666" | ||
20 | KERNEL=="fb1", MODE="0666" | ||
21 | KERNEL=="fb2", MODE="0666" | ||
22 | KERNEL=="mxc_vpu", MODE="0666" | 19 | KERNEL=="mxc_vpu", MODE="0666" |
23 | SUBSYSTEM=="video", MODE="0666" | 20 | SUBSYSTEM=="video", MODE="0660" |
24 | KERNEL=="gsl_kmod", MODE="0666" | 21 | KERNEL=="fb[0-9]", MODE="0660", GROUP="video" |
25 | KERNEL=="galcore", MODE="0666" | 22 | KERNEL=="gsl_kmod", MODE="0660", GROUP="video" |
23 | KERNEL=="galcore", MODE="0660", GROUP="video" | ||