X Tutup
Skip to content

Commit c444679

Browse files
committed
udev: make /dev/vsock 0666
/dev/vsock supports only ioctl (the only ioctl supported is IOCTL_VM_SOCKETS_GET_LOCAL_CID), so 0666 should be okay, or 0664 if in the future we will implement some kind of write support exposed only to user/group. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
1 parent 65ab272 commit c444679

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rules.d/50-udev-default.rules.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
8585
# The static_node is required on s390x and ppc (they are using MODULE_ALIAS)
8686
KERNEL=="kvm", GROUP="kvm", MODE="@DEV_KVM_MODE@", OPTIONS+="static_node=kvm"
8787

88+
KERNEL=="vsock", MODE="0666"
89+
8890
KERNEL=="udmabuf", GROUP="kvm"
8991

9092
SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm"

0 commit comments

Comments
 (0)
X Tutup