]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev-rules: add udmabuf to kvm group
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 18 Apr 2019 14:30:41 +0000 (16:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Apr 2019 11:00:21 +0000 (13:00 +0200)
It will have the default 0660 mode.

Fixes: #12283
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
rules/50-udev-default.rules.in

index 191f56f42ea445ed0e70f532e7e1efe99fbd0f9c..580b8971a6687058c4c510c7de3ae869ce43154f 100644 (file)
@@ -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"