From c5e085d96d1cdc855365b7fd9c1825b886f266f6 Mon Sep 17 00:00:00 2001 From: Ricardo CaƱuelo Date: Mon, 8 Jun 2020 12:57:25 +0200 Subject: sys/linux: specific descriptions for vim2m (v4l2) Add a set of descriptions to focus the fuzzing process on the V4L2 vim2m test driver. This should be useful to test the M2M framework. The syscalls are based on a specific file descriptor for the vim2m device and a selection of v4l2 ioctls that operate on it. Some of the existing v4l2 data structure definitions have been extended to allow restricting and selecting some options in order to narrow down the fuzzing process. Initial support for Request API added. --- sys/linux/dev_video4linux_vim2m_arm64.const | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sys/linux/dev_video4linux_vim2m_arm64.const (limited to 'sys/linux/dev_video4linux_vim2m_arm64.const') diff --git a/sys/linux/dev_video4linux_vim2m_arm64.const b/sys/linux/dev_video4linux_vim2m_arm64.const new file mode 100644 index 000000000..a8f712fa9 --- /dev/null +++ b/sys/linux/dev_video4linux_vim2m_arm64.const @@ -0,0 +1,22 @@ +# AUTOGENERATED FILE +AT_FDCWD = 18446744073709551516 +O_RDWR = 2 +V4L2_BUF_TYPE_VIDEO_CAPTURE = 1 +V4L2_BUF_TYPE_VIDEO_OUTPUT = 2 +VIDIOC_CREATE_BUFS = 3238024796 +VIDIOC_DQBUF = 3227014673 +VIDIOC_ENUM_FMT = 3225441794 +VIDIOC_ENUM_FRAMESIZES = 3224131146 +VIDIOC_EXPBUF = 3225441808 +VIDIOC_G_FMT = 3234878980 +VIDIOC_PREPARE_BUF = 3227014749 +VIDIOC_QBUF = 3227014671 +VIDIOC_QUERYBUF = 3227014665 +VIDIOC_QUERYCAP = 2154321408 +VIDIOC_REQBUFS = 3222558216 +VIDIOC_STREAMON = 1074026002 +VIDIOC_S_CTRL = 3221771804 +VIDIOC_S_FMT = 3234878981 +VIDIOC_TRY_FMT = 3234879040 +__NR_ioctl = 29 +__NR_openat = 56 -- cgit mrf-deployment