aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-01-18 16:43:24 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-02-10 14:34:44 +0100
commit7ee3f3729011edc355cf089f7823ec8c8f366457 (patch)
treece903158d6f82ba59d85e3046cd5d522bcb193df /pkg/subsystem
parent3144c3b4fe14f66195824064df72a4a3f7b80bd6 (diff)
pkg/subsystem: move the exiting code to /legacy
It will help gradually switch to the new code, once it's fully ready.
Diffstat (limited to 'pkg/subsystem')
-rw-r--r--pkg/subsystem/legacy/extract.go (renamed from pkg/subsystem/extract.go)2
-rw-r--r--pkg/subsystem/legacy/extract_test.go (renamed from pkg/subsystem/extract_test.go)2
-rw-r--r--pkg/subsystem/legacy/maintainers.go (renamed from pkg/subsystem/maintainers.go)2
3 files changed, 3 insertions, 3 deletions
diff --git a/pkg/subsystem/extract.go b/pkg/subsystem/legacy/extract.go
index 1908f5e54..5c321dc97 100644
--- a/pkg/subsystem/extract.go
+++ b/pkg/subsystem/legacy/extract.go
@@ -1,7 +1,7 @@
// 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.
-package subsystem
+package legacy
import (
"regexp"
diff --git a/pkg/subsystem/extract_test.go b/pkg/subsystem/legacy/extract_test.go
index eb04ff6ce..d23ec11e2 100644
--- a/pkg/subsystem/extract_test.go
+++ b/pkg/subsystem/legacy/extract_test.go
@@ -1,7 +1,7 @@
// 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.
-package subsystem
+package legacy
import (
"sort"
diff --git a/pkg/subsystem/maintainers.go b/pkg/subsystem/legacy/maintainers.go
index f44e6550b..948c2d851 100644
--- a/pkg/subsystem/maintainers.go
+++ b/pkg/subsystem/legacy/maintainers.go
@@ -1,7 +1,7 @@
// 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.
-package subsystem
+package legacy
func LinuxGetMaintainers(subsystemName string) []string {
return linuxSubsystems[subsystemName].cc