From 4c1f201b6fc2cc30625d3c706b1f45cc68ef0223 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 11 Jan 2023 19:37:37 +0100 Subject: pkg/subsystem/linux: add the basic subsystem extraction code --- pkg/subsystem/linux/rules.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pkg/subsystem/linux/rules.go (limited to 'pkg/subsystem/linux/rules.go') diff --git a/pkg/subsystem/linux/rules.go b/pkg/subsystem/linux/rules.go new file mode 100644 index 000000000..2df641c5e --- /dev/null +++ b/pkg/subsystem/linux/rules.go @@ -0,0 +1,13 @@ +// Copyright 2023 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. + +package linux + +type customRules struct { + // The mapping between a Linux subsystem name and its system calls. + subsystemCalls map[string][]string +} + +var ( + linuxSubsystemRules = &customRules{} +) -- cgit mrf-deployment