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/executor.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'executor/executor.cc') diff --git a/executor/executor.cc b/executor/executor.cc index a14c87aa2..cc3dcdeb1 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -441,6 +441,11 @@ void execute_call(thread_t* th) th->res = -1; } } + case __NR_syz_dri_open: { + char buf[128]; + sprintf(buf, "/dev/dri/card%lu", th->args[0]); + th->res = open(buf, th->args[1], 0); + } } int errno0 = errno; th->cover_size = cover_read(th); -- cgit mrf-deployment