aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2017-10-31 08:46:24 -0700
committerTom Stellard <tstellar@redhat.com>2017-11-08 08:21:31 -0800
commit4e15a7343cb389e97f3eb4f49699161862d8b8b2 (patch)
tree486b79565c0989c3205c0cc5d8872e822a74cc20 /rules
parentudev-rules: Permission changes for /dev/kvm (diff)
downloadsystemd-4e15a7343cb389e97f3eb4f49699161862d8b8b2.tar.gz
systemd-4e15a7343cb389e97f3eb4f49699161862d8b8b2.tar.bz2
systemd-4e15a7343cb389e97f3eb4f49699161862d8b8b2.zip
udev-rules: Permission changes for /dev/dri/renderD*
- Remove the uaccess tag from /dev/dri/renderD*. - Change the owning group from video to render. - Change default mode to 0666. - Add an option to allow users to set the access mode for these devices at compile time.
Diffstat (limited to 'rules')
-rw-r--r--rules/50-udev-default.rules.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/50-udev-default.rules.in b/rules/50-udev-default.rules.in
index d3d1c9a20..b17d3cf87 100644
--- a/rules/50-udev-default.rules.in
+++ b/rules/50-udev-default.rules.in
@@ -31,11 +31,13 @@ SUBSYSTEM=="input", KERNEL=="js[0-9]*", MODE="0664"
SUBSYSTEM=="video4linux", GROUP="video"
SUBSYSTEM=="graphics", GROUP="video"
-SUBSYSTEM=="drm", GROUP="video"
+SUBSYSTEM=="drm", KERNEL!="renderD*", GROUP="video"
SUBSYSTEM=="dvb", GROUP="video"
SUBSYSTEM=="media", GROUP="video"
SUBSYSTEM=="cec", GROUP="video"
+SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="render", MODE="@GROUP_RENDER_MODE@"
+
SUBSYSTEM=="sound", GROUP="audio", \
OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"