aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/linux/subsystems_test.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/subsystem: export debug infoAleksandr Nogikh2026-01-201-5/+5
| | | | | | | | Make it possible to print more debugging information when (re)generating a subsystem list. Include parent inference details to the source code itself and add a -debug flag to list the source files assigned to each subsystem.
* pkg/subsystem: fix dangling entries in the rules listAleksandr Nogikh2025-05-211-1/+0
| | | | | | | | | There was a mistake in the Linux subsystem generation rules that led to the exclusion of exfat-related syz_mount_image calls from the resulting subsystem descriptions. Verify the rules before applying them. Fix other problems found by the check.
* pkg/subsystem: move wireless under netAleksandr Nogikh2023-11-221-2/+23
| | | | It will help keep more generic reports in "net".
* pkg/subsystem: do not reuse customly grouped recordsAleksandr Nogikh2023-09-081-3/+13
| | | | | If a record was specified in a custom subsystem list, do not consider it while grouping records by mailing list.
* pkg/subsystem/linux: support custom subsystem groupingAleksandr Nogikh2023-02-231-0/+23
| | | | | | | There are cases when a subsystem doesn't have a mailing list and yet we'd prefer not to merge it with others. Let's add the ability to add custom rules that join several specified MAINTAINERS records into one Subsystem.
* pkg/subsystem: restructure the packageAleksandr Nogikh2023-02-101-4/+3
| | | | | | Remove the entity and match subpackages. Regenerate the linux.go file.
* pkg/subsystem: skip small subsystemsAleksandr Nogikh2023-02-101-12/+18
| | | | And regenerate the Linux rules file.
* pkg/subsystem/linux: determine parent-child relationsAleksandr Nogikh2023-02-101-10/+44
| | | | | | | | | For that, extract a coincidence count matrix from a path coverage, then apply the following rule. Subsystem A is a child of B if both hold true: 1) More than 2/3 of paths that relate to A also relate to B. 2) B covers more directory tree entities than A.
* pkg/subsystem/linux: keep one list for list-merged groupsAleksandr Nogikh2023-02-101-1/+2
| | | | Otherwise we can get too many mailing lists at the same time.
* pkg/subsystem/linux: test path rules of subsystemsAleksandr Nogikh2023-02-101-0/+62
| | | | | Now that we have subsystem names, it's easy to test whether syzkaller extract and groups the path matching rules correctly.
* pkg/subsystem/linux: add custom call listsAleksandr Nogikh2023-02-101-0/+30
| | | | This information will let us extract subsystems from reproducers.
* pkg/subsystem/linux: extract names for subsystemsAleksandr Nogikh2023-02-101-0/+4
| | | | | | | | | Extract the short subsystem name from the mailing list email. Stip the common prefixes and suffixes and make sure there are no duplicates. As a fallback, assign the whole list email address as a subsystem name.
* pkg/subsystem/linux: add the basic subsystem extraction codeAleksandr Nogikh2023-02-101-0/+132