From 11e98f1831460925fbcd80af11c894b30823e414 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 17 Jan 2022 14:15:13 +0100 Subject: executor: add extension point for adding non-mainline pseudo-syscalls Add an empty common_ext.h which is included into executor and C reproducers and can be used to add non-mainline pseudo-syscalls w/o changing any other files (by replacing common_ext.h file). It would be good to finish #2274 which allows to add pseudo-syscalls along with *.txt descriptions, but #2274 is large and there are several open design questions. So add this simple extension point for now. --- executor/common_ext.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 executor/common_ext.h (limited to 'executor/common_ext.h') diff --git a/executor/common_ext.h b/executor/common_ext.h new file mode 100644 index 000000000..4f6e7491a --- /dev/null +++ b/executor/common_ext.h @@ -0,0 +1,6 @@ +// Copyright 2022 syzkaller project authors. All rights reserved. +// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +// This file is included into executor and C reproducers and can be used to add +// non-mainline pseudo-syscalls w/o changing any other files. +// These syscalls should start with syz_ext_. -- cgit mrf-deployment