diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-01-11 19:37:37 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-02-10 14:34:44 +0100 |
| commit | 4c1f201b6fc2cc30625d3c706b1f45cc68ef0223 (patch) | |
| tree | 57f61c8bbb0c9792e58f0b368539b390725edb4b /pkg/subsystem/linux/rules.go | |
| parent | 2246b3b0ea578783224118ca3af660ecb0ebd2b6 (diff) | |
pkg/subsystem/linux: add the basic subsystem extraction code
Diffstat (limited to 'pkg/subsystem/linux/rules.go')
| -rw-r--r-- | pkg/subsystem/linux/rules.go | 13 |
1 files changed, 13 insertions, 0 deletions
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{} +) |
