aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor.cc')
-rw-r--r--executor/executor.cc6
1 files changed, 6 insertions, 0 deletions
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++) {