summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-04-18 16:30:41 +0200
committerLennart Poettering <lennart@poettering.net>2019-04-23 13:00:21 +0200
commit0fde5a3591d7bc7f689937aa86bd8b30e40d9bf8 (patch)
tree26f46108bd35d8f45fcb23928ca80cff9496ce50 /rules
parent6610200d296ad6d5c2c832501fb6d5cff34dfd28 (diff)
downloadsystemd-0fde5a3591d7bc7f689937aa86bd8b30e40d9bf8.tar.gz
udev-rules: add udmabuf to kvm group
It will have the default 0660 mode. Fixes: #12283 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'rules')
-rw-r--r--rules/50-udev-default.rules.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/50-udev-default.rules.in b/rules/50-udev-default.rules.in
index 191f56f42e..580b8971a6 100644
--- a/rules/50-udev-default.rules.in
+++ b/rules/50-udev-default.rules.in
@@ -81,6 +81,8 @@ KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
# The static_node is required on s390x and ppc (they are using MODULE_ALIAS)
KERNEL=="kvm", GROUP="kvm", MODE="@DEV_KVM_MODE@", OPTIONS+="static_node=kvm"
+KERNEL=="udmabuf", GROUP="kvm"
+
SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm"
LABEL="default_end"