diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-02-16 10:40:01 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-02-16 10:48:34 +0100 |
| commit | 7338e3c48713281869426c4e29a02a63ab16331a (patch) | |
| tree | bec36ea4e2904208d99da44a6d95d128e8911d7c /pkg/subsystem | |
| parent | 38b317a74b84fb45acb8891e518dee0a87435505 (diff) | |
pkg/subsystem/linux: minor changes to the name extraction
Add a few more prefixes to strip. Remove dots from the resulting names.
Regenerate the list of Linux subsystems.
Diffstat (limited to 'pkg/subsystem')
| -rw-r--r-- | pkg/subsystem/linux/names.go | 7 | ||||
| -rw-r--r-- | pkg/subsystem/linux/names_test.go | 2 | ||||
| -rw-r--r-- | pkg/subsystem/lists/linux.go | 40 |
3 files changed, 26 insertions, 23 deletions
diff --git a/pkg/subsystem/linux/names.go b/pkg/subsystem/linux/names.go index 3dcc2deed..7d0b64c47 100644 --- a/pkg/subsystem/linux/names.go +++ b/pkg/subsystem/linux/names.go @@ -6,6 +6,7 @@ package linux import ( "fmt" "regexp" + "strings" "github.com/google/syzkaller/pkg/subsystem" ) @@ -49,7 +50,7 @@ func emailToName(email string) string { if ret == nil { return "" } - return ret[1] + return strings.ReplaceAll(ret[1], ".", "") } func buildEmailStripRe() *regexp.Regexp { @@ -98,8 +99,8 @@ var ( stripSuffixes = []string{ "-devel", "-dev", "-devs", "-developer", "devel", "-user", "-users", - "-discussion", "-discuss", "-list", "-en", - "-kernel", "-linux", "-general", + "-discussion", "-discuss", "-list", "-en", "-bugreport", + "-kernel", "-linux", "-general", "-platform", } emailStripRe = buildEmailStripRe() ) diff --git a/pkg/subsystem/linux/names_test.go b/pkg/subsystem/linux/names_test.go index 03f9a86d3..bcb816592 100644 --- a/pkg/subsystem/linux/names_test.go +++ b/pkg/subsystem/linux/names_test.go @@ -17,6 +17,8 @@ func TestEmailToName(t *testing.T) { "tipc-discussion@lists.sourceforge.net": "tipc", "v9fs-developer@lists.sourceforge.net": "v9fs", "zd1211-devs@lists.sourceforge.net": "zd1211", + "chrome-platform@lists.linux.dev": "chrome", + "b.a.t.m.a.n@lists.open-mesh.org": "batman", // Test that we can handle exceptions. "virtualization@lists.linux-foundation.org": "virt", } diff --git a/pkg/subsystem/lists/linux.go b/pkg/subsystem/lists/linux.go index 708fbe67b..50214fd1f 100644 --- a/pkg/subsystem/lists/linux.go +++ b/pkg/subsystem/lists/linux.go @@ -1,5 +1,5 @@ // Code generated by the syz-query-subsystem tool. DO NOT EDIT. -// Commit 4ec5183ec48656cec489c49f989c508b68b518e3, "Linux 6.2-rc7" +// Commit ceaa837f96adb69c0df0397937cd74991d5d821a, "Linux 6.2-rc8" package lists @@ -50,7 +50,7 @@ func init() { // - bpf // - ceph // - cgroups -// - chrome-platform +// - chrome // - clk // - imx // - crypto @@ -121,7 +121,7 @@ func init() { // - kasan // - kexec // - keyrings -// - kgdb-bugreport +// - kgdb // - kunit // - kvm // - kvm-riscv @@ -151,7 +151,7 @@ func init() { // - mtd // - net // - atm -// - b.a.t.m.a.n +// - batman // - bluetooth // - bridge // - can @@ -240,7 +240,7 @@ func init() { // - xtensa var subsystems = []*Subsystem{ - shacyfmac, ac100, accelerators, acpi, acpi4asus, acpica, acrn, actions, afs, alpha, alsa, amdgfx, amlogic, apparmor, arch, arm, armmsm, asahi, aspeed, ath10k, ath11k, atm, audit, autofs, axis, batman, b43, bcache, block, bluetooth, bpf, bridge, btrfs, cachefs, can, ceph, cgroups, chromeplatform, cifs, cirrus, clk, cluster, codalist, coresight, coreteam, crypto, csky, cxl, damon, dccp, dell, devicetree, dm, dmaengine, drbd, dri, ecryptfs, edac, efi, erofs, etnaviv, ext4, f2fs, fbdev, fpga, freedreno, fs, fscrypt, fsi, fsverity, geode, gpio, greybus, hams, hardening, hexagon, hippi, hwmon, hyperv, i2c, i3c, ia64, ide, iio, imx, industrypack, input, integrity, intelgfx, intelgvt, intelwiredlan, iouring, iommu, isdn4linux, jfs, karma, kasan, kernel, kexec, keyrings, kgdbbugreport, kunit, kvm, kvmriscv, kvmarm, leds, libertas, lima, linux1394, linuxppc, linuxpps, livepatching, llvm, loongarch, lsm, lvs, m68k, malidp, media, mediatek, megaraid, mhi, mips, mjpeg, mm, mmc, modules, mpi3, mptfusion, mptcp, mtd, nbd, net, nfc, nfs, nilfs, nitro, nouveau, ntb, ntfs, ntfs3, nvdimm, nvme, ocfs2, omap, optee, openiscsi, openbmc, openipmi, openrisc, openvswitch, openwrt, orangefs, ossdrivers, overlayfs, oxnas, parisc, parport, pci, perf, phy, pm, ppp, pvrusb2, pwm, qat, raid, rcu, rdma, rds, reiserfs, remoteproc, renesassoc, riscv, rockchip, rpi, rttools, rtc, rustfor, s390, samsungsoc, scsi, sctp, selinux, serial, sgx, sh, snpsarc, sof, sparclinux, speakup, spi, spice, squashfs, staging, stm32, sunxi, target, tegra, tipc, tomoyo, trace, uclinux, um, unisoc, usb, usbstorage, v9fs, video, virt, watchdog, wcn36xx, wireguard, wireless, wpan, x25, x86, x86drivers, xen, xfs, xtensa, zd1211, + shacyfmac, ac100, accelerators, acpi, acpi4asus, acpica, acrn, actions, afs, alpha, alsa, amdgfx, amlogic, apparmor, arch, arm, armmsm, asahi, aspeed, ath10k, ath11k, atm, audit, autofs, axis, b43, batman, bcache, block, bluetooth, bpf, bridge, btrfs, cachefs, can, ceph, cgroups, chrome, cifs, cirrus, clk, cluster, codalist, coresight, coreteam, crypto, csky, cxl, damon, dccp, dell, devicetree, dm, dmaengine, drbd, dri, ecryptfs, edac, efi, erofs, etnaviv, ext4, f2fs, fbdev, fpga, freedreno, fs, fscrypt, fsi, fsverity, geode, gpio, greybus, hams, hardening, hexagon, hippi, hwmon, hyperv, i2c, i3c, ia64, ide, iio, imx, industrypack, input, integrity, intelgfx, intelgvt, intelwiredlan, iouring, iommu, isdn4linux, jfs, karma, kasan, kernel, kexec, keyrings, kgdb, kunit, kvm, kvmriscv, kvmarm, leds, libertas, lima, linux1394, linuxppc, linuxpps, livepatching, llvm, loongarch, lsm, lvs, m68k, malidp, media, mediatek, megaraid, mhi, mips, mjpeg, mm, mmc, modules, mpi3, mptfusion, mptcp, mtd, nbd, net, nfc, nfs, nilfs, nitro, nouveau, ntb, ntfs, ntfs3, nvdimm, nvme, ocfs2, omap, optee, openiscsi, openbmc, openipmi, openrisc, openvswitch, openwrt, orangefs, ossdrivers, overlayfs, oxnas, parisc, parport, pci, perf, phy, pm, ppp, pvrusb2, pwm, qat, raid, rcu, rdma, rds, reiserfs, remoteproc, renesassoc, riscv, rockchip, rpi, rttools, rtc, rustfor, s390, samsungsoc, scsi, sctp, selinux, serial, sgx, sh, snpsarc, sof, sparclinux, speakup, spi, spice, squashfs, staging, stm32, sunxi, target, tegra, tipc, tomoyo, trace, uclinux, um, unisoc, usb, usbstorage, v9fs, video, virt, watchdog, wcn36xx, wireguard, wireless, wpan, x25, x86, x86drivers, xen, xfs, xtensa, zd1211, } // Subsystem info. @@ -724,16 +724,6 @@ var axis = &Subsystem{ }, } -var batman = &Subsystem{ - Name: "b.a.t.m.a.n", - Lists: []string{"b.a.t.m.a.n@lists.open-mesh.org"}, - Maintainers: []string{"a@unstable.cc", "mareklindner@neomailbox.ch", "sven@narfation.org", "sw@simonwunderlich.de"}, - Parents: []*Subsystem{net}, - PathRules: []PathRule{ - {IncludeRegexp: "^include/uapi/linux/batadv_packet\\.h$|^include/uapi/linux/batman_adv\\.h$|^net/batman-adv/"}, - }, -} - var b43 = &Subsystem{ Name: "b43", Lists: []string{"b43-dev@lists.infradead.org"}, @@ -744,6 +734,16 @@ var b43 = &Subsystem{ }, } +var batman = &Subsystem{ + Name: "batman", + Lists: []string{"b.a.t.m.a.n@lists.open-mesh.org"}, + Maintainers: []string{"a@unstable.cc", "mareklindner@neomailbox.ch", "sven@narfation.org", "sw@simonwunderlich.de"}, + Parents: []*Subsystem{net}, + PathRules: []PathRule{ + {IncludeRegexp: "^include/uapi/linux/batadv_packet\\.h$|^include/uapi/linux/batman_adv\\.h$|^net/batman-adv/"}, + }, +} + var bcache = &Subsystem{ Name: "bcache", Lists: []string{"linux-bcache@vger.kernel.org"}, @@ -889,8 +889,8 @@ var cgroups = &Subsystem{ }, } -var chromeplatform = &Subsystem{ - Name: "chrome-platform", +var chrome = &Subsystem{ + Name: "chrome", Lists: []string{"chrome-platform@lists.linux.dev"}, Parents: []*Subsystem{kernel}, PathRules: []PathRule{ @@ -2083,8 +2083,8 @@ var keyrings = &Subsystem{ }, } -var kgdbbugreport = &Subsystem{ - Name: "kgdb-bugreport", +var kgdb = &Subsystem{ + Name: "kgdb", Lists: []string{"kgdb-bugreport@lists.sourceforge.net"}, Maintainers: []string{"daniel.thompson@linaro.org", "jason.wessel@windriver.com"}, Parents: []*Subsystem{kernel}, @@ -3898,7 +3898,7 @@ var sgx = &Subsystem{ var sh = &Subsystem{ Name: "sh", Lists: []string{"linux-sh@vger.kernel.org"}, - Maintainers: []string{"dalias@libc.org", "ysato@users.sourceforge.jp"}, + Maintainers: []string{"dalias@libc.org", "glaubitz@physik.fu-berlin.de", "ysato@users.sourceforge.jp"}, Parents: []*Subsystem{kernel}, PathRules: []PathRule{ {IncludeRegexp: "^arch/sh/|^drivers/sh/"}, |
