1 # This file is part of systemd.
3 # systemd is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2.1 of the License, or
6 # (at your option) any later version.
8 # This file adds permissions on top of static-nodes.conf generated by
9 # kmod-static-nodes.service. Rules specified here should match the
10 # permissions specified for udev in 50-udev-default.rules.
12 z /dev/snd/seq 0660 - audio -
13 z /dev/snd/timer 0660 - audio -
14 z /dev/loop-control 0660 - disk -
15 z /dev/net/tun 0666 - - -
16 z /dev/fuse 0666 - - -
17 z /dev/vfio/vfio 0666 - - -
18 z /dev/kvm {{DEV_KVM_MODE}} - kvm -
19 z /dev/vhost-net {{DEV_KVM_MODE}} - kvm -
20 z /dev/vhost-vsock {{DEV_KVM_MODE}} - kvm -