udev: setup permissions on xen device nodes

This commit is contained in:
Marek Marczykowski-Górecki 2013-06-14 05:02:22 +02:00
parent 08f6f18af7
commit a930f7b2ea
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ install:
mkdir -p $(DESTDIR)/etc/udev/rules.d
cp udev-qubes-block.rules $(DESTDIR)/etc/udev/rules.d/99-qubes-block.rules
cp udev-qubes-usb.rules $(DESTDIR)/etc/udev/rules.d/99-qubes-usb.rules
cp udev-qubes-misc.rules $(DESTDIR)/etc/udev/rules.d/99-qubes-misc.rules
mkdir -p $(DESTDIR)/usr/libexec/qubes
cp udev-block-add-change $(DESTDIR)/usr/libexec/qubes/

View File

@ -0,0 +1,5 @@
# Setup permissions to allow libvchan connections as normal user
KERNEL=="xen/evtchn", MODE="0660", GROUP="qubes"
KERNEL=="xen/gntdev", MODE="0660", GROUP="qubes"
KERNEL=="xen/gntalloc", MODE="0660", GROUP="qubes"
KERNEL=="xen/privcmd", MODE="0660", GROUP="qubes"