move away from syscall counts towards operation counts
[trinity.git] / ioctls / vsock.c
bloba4a701dc374effeef1ca7ab1a530f19b0dd3e0e6
1 #include <linux/ioctl.h>
3 #define IOCTL_VM_SOCKETS_GET_LOCAL_CID _IO(7, 0xb9)
5 #include "utils.h"
6 #include "ioctls.h"
8 static const struct ioctl vsock_ioctls[] = {
9 IOCTL(IOCTL_VM_SOCKETS_GET_LOCAL_CID),
12 static const char *const vsock_devs[] = {
13 "vsock",
16 static const struct ioctl_group vsock_grp = {
17 .devtype = DEV_MISC,
18 .devs = vsock_devs,
19 .devs_cnt = ARRAY_SIZE(vsock_devs),
20 .sanitise = pick_random_ioctl,
21 .ioctls = vsock_ioctls,
22 .ioctls_cnt = ARRAY_SIZE(vsock_ioctls),
25 REG_IOCTL_GROUP(vsock_grp)