From 67bec9bb441a668f88e1f1421a7a1e63e659280f Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 29 Apr 2018 14:39:33 +0200 Subject: sys/linux: describe block device ioctls Describe block device ioctls. Describe sg device ioctls. Add few more devices. --- sys/linux/socket_vnet.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/linux/socket_vnet.txt') diff --git a/sys/linux/socket_vnet.txt b/sys/linux/socket_vnet.txt index b66428542..065654875 100644 --- a/sys/linux/socket_vnet.txt +++ b/sys/linux/socket_vnet.txt @@ -33,7 +33,9 @@ socket$vsock_dgram(domain const[AF_VSOCK], type const[SOCK_DGRAM], proto const[0 bind$vsock_dgram(fd sock_vsock_dgram, addr ptr[in, sockaddr_vm], addrlen len[addr]) connect$vsock_dgram(fd sock_vsock_dgram, addr ptr[in, sockaddr_vm], addrlen len[addr]) -openat$vsock(fd const[AT_FDCWD], file ptr[in, string["/dev/vhost-vsock"]], flags const[O_RDWR], mode const[0]) vhost_vsock +openat$vsock(fd const[AT_FDCWD], file ptr[in, string["/dev/vsock"]], flags flags[open_flags], mode const[0]) fd + +openat$vhost_vsock(fd const[AT_FDCWD], file ptr[in, string["/dev/vhost-vsock"]], flags const[O_RDWR], mode const[0]) vhost_vsock ioctl$VHOST_VSOCK_SET_GUEST_CID(fd vhost_vsock, cmd const[VHOST_VSOCK_SET_GUEST_CID], arg ptr[in, vmaddr_cid64]) ioctl$VHOST_VSOCK_SET_RUNNING(fd vhost_vsock, cmd const[VHOST_VSOCK_SET_RUNNING], arg ptr[in, bool32]) -- cgit mrf-deployment