From 15128d47bd7de318bea5ecf0fb15a45deb794c9d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 11 Jan 2016 22:16:14 +0100 Subject: sys: support /dev/snd/seq --- executor/executor.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'executor/executor.cc') diff --git a/executor/executor.cc b/executor/executor.cc index 7ef506f08..20beb728f 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -361,7 +361,13 @@ thread_t* schedule_call(int n, int call_index, int call_num, uint64_t num_args, case __NR_syz_fuse_mount: case __NR_syz_fuseblk_mount: root = true; + default: + if (strcmp(syscalls[call_num] + .name, + "open$sndseq") == 0) + root = true; } + // Find a spare thread to execute the call. int i; for (i = 0; i < kMaxThreads; i++) { -- cgit mrf-deployment