From 495113290ed28d4debdecb5934a78d0beb722db7 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 18 Nov 2015 21:22:17 +0100 Subject: basic support for dri/drm drivers --- executor/syscalls.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'executor/syscalls.h') diff --git a/executor/syscalls.h b/executor/syscalls.h index 1a7ff5d81..560b9786b 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -10,7 +10,8 @@ struct call_t { #define __NR_memfd_create 319 #endif -#define __NR_syz_openpts 1000001 +#define __NR_syz_openpts 1000001 +#define __NR_syz_dri_open 1000002 call_t syscalls[] = { {"open", __NR_open}, @@ -506,4 +507,15 @@ call_t syscalls[] = { {"ioctl$TIOCLINUX5", __NR_ioctl}, {"ioctl$TIOCLINUX6", __NR_ioctl}, {"ioctl$TIOCLINUX7", __NR_ioctl}, + {"syz_dri_open", __NR_syz_dri_open}, + {"ioctl$DRM_IOCTL_VERSION", __NR_ioctl}, + {"ioctl$DRM_IOCTL_GET_UNIQUE", __NR_ioctl}, + {"ioctl$DRM_IOCTL_GET_MAGIC", __NR_ioctl}, + {"ioctl$DRM_IOCTL_IRQ_BUSID", __NR_ioctl}, + {"ioctl$DRM_IOCTL_GET_MAP", __NR_ioctl}, + {"ioctl$DRM_IOCTL_GET_CLIENT", __NR_ioctl}, + {"ioctl$DRM_IOCTL_GET_STATS", __NR_ioctl}, + {"ioctl$DRM_IOCTL_GET_CAP", __NR_ioctl}, + {"ioctl$DRM_IOCTL_SET_CLIENT_CAP", __NR_ioctl}, + {"ioctl$DRM_IOCTL_SET_VERSION", __NR_ioctl}, }; -- cgit mrf-deployment