aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/linux
Commit message (Collapse)AuthorAgeFilesLines
* pkg/subsystem: regenerate Linux subsystemsAleksandr Nogikh2026-01-201-1/+2
|
* pkg/subsystem: adjust the wildcard matching rulesAleksandr Nogikh2026-01-202-4/+6
| | | | | | | | Contrary to the description on top of MAINTAINERS, many F: records that point to folders actually don't end with / or /*. The get_maintainer.pl script already tolerates this, so let's do the same.
* pkg/subsystem: export debug infoAleksandr Nogikh2026-01-206-35/+78
| | | | | | | | 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.
* all: use any instead of interface{}Dmitry Vyukov2025-12-221-1/+1
| | | | Any is the preferred over interface{} now in Go.
* pkg/subsystem/linux: add a comedi subsystemAleksandr Nogikh2025-07-211-0/+1
| | | | | We have quite a few comedi bugs now, let's not keep them all in "kernel".
* pkg/subsystem: regenerate Linux subsystems on v6.16-rc1Aleksandr Nogikh2025-06-132-0/+2
|
* pkg/subsystem: fix dangling entries in the rules listAleksandr Nogikh2025-05-213-20/+51
| | | | | | | | | 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.
* tools/syz-query-subsystems: introduce the kvm-x86 subsystemAlexander Potapenko2025-05-151-12/+13
| | | | | | | | | Split off kvm-x86 from kvm for better coverage accounting. Both subsystems will still share the CC lists, so bugs in x86 code won't be emailed twice. While at this, also fix the tool name in the generated comment and regenerate pkg/subsystem/lists/linux.go on v6.14-rc7.
* pkg/subsystem: add the smc subsystemAleksandr Nogikh2025-03-231-0/+1
| | | | | It doesn't have its own mailing list, so needs to be defined manually. See #5838.
* pkg/subsystem: regenerate Linux subsystems on v6.14-rc1Aleksandr Nogikh2025-02-141-5/+8
|
* executor: arm64: sys/linux: implement syz_kvm_setup_syzos_vm and ↵Alexander Potapenko2024-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | syz_kvm_add_vcpu The old syz_kvm_setup_cpu() API mixed together VM and VCPU setup, making it harder to create and fuzz two VCPUs in the same VM. Introduce two new pseudo-syscalls, syz_kvm_setup_syzos_vm() and syz_kvm_add_vcpu(), that will simplify this task. syz_kvm_setup_syzos_vm() takes a VM file descriptor, performs VM setup (allocates guest memory and installs SYZOS code into it) and returns a new kvm_syz_vm resource, which is in fact a pointer to `struct kvm_syz_vm` encapsulating VM-specific data in the C code. syz_kvm_add_vcpu() takes the VM ID denoted by kvm_syz_vm and creates a new VCPU within that VM with a proper CPU number. It then stores the fuzzer-supplied SYZOS API sequence into the corresponding part (indexed by CPU number) of the VM memory slot, and sets up the CPU registers to interpret that sequence. The new pseudo-syscall let the fuzzer create independent CPUs that run different code sequences without interfering with each other.
* pkg/subsystem: add syz_kvm_vgic_v3_setup to the rulesAlexander Potapenko2024-09-031-1/+1
|
* pkg/subsystem/linux: add one more email->name exceptionAleksandr Nogikh2024-08-271-0/+1
|
* pkg/subsystem: don't Cc some parent subsystemsAleksandr Nogikh2024-05-072-0/+6
| | | | | | Our fs is more generic than it was defined in MAINTAINERS. Let's not spam its mailing lists with bugs from individual filesystem implementations.
* pkg/subsystem/linux: recognize bcachefs mountsAleksandr Nogikh2024-05-071-0/+1
| | | | This must be a strong signal to assign a bcachefs subsystem.
* pkg/subsystem/linux: update to v6.9-rc2Aleksandr Nogikh2024-04-032-0/+2
|
* pkg/subsystem: make M parsing more robustAleksandr Nogikh2024-04-031-2/+6
| | | | | There are cases of very long names that make it too hard for the golang library to properly parse the address.
* pkg/subsystem: display correct lines for parsing errorsAleksandr Nogikh2024-04-031-1/+3
| | | | We used to ignore the skipped lines.
* pkg/subsystem: regenerate subsystems listAleksandr Nogikh2024-02-011-2/+1
|
* pkg/subsystem: move wireless under netAleksandr Nogikh2023-11-224-12/+64
| | | | It will help keep more generic reports in "net".
* pkg/subsystem: regenerate Linux subsystemsAleksandr Nogikh2023-11-222-8/+9
| | | | Adjust subsystem generation code to the latest changes.
* pkg/subsystem: remove gfs2 from name exceptionsAleksandr Nogikh2023-09-111-1/+0
| | | | The new mailing list can be parsed by the generic algorithm.
* pkg/subsystem: regenerate Linux subsystemsAleksandr Nogikh2023-09-081-0/+2
| | | | Use the latest torvalds master.
* pkg/subsystems/linux: create a separate iomap subsystemAleksandr Nogikh2023-09-081-0/+2
| | | | See https://lore.kernel.org/all/20230908082846.GB9560@lst.de/
* pkg/subsystem: do not reuse customly grouped recordsAleksandr Nogikh2023-09-082-8/+29
| | | | | If a record was specified in a custom subsystem list, do not consider it while grouping records by mailing list.
* pkg/subsystem: regenerate Linux subsystemsAleksandr Nogikh2023-08-081-1/+2
| | | | | Regenerate the list using v6.5-rc5. Also, rename fat -> exfat.
* pkg/subsystem: add tls email exceptionLin Ma2023-06-071-0/+1
| | | | | | | | | The current syz-query-subsystems raise below error: failed to query subsystems: failed to set names: failed to extract a name from kernel-tls-handshake@lists.linux.dev This patch adds this email to exception list to fix that. Signed-off-by: Lin Ma <linma@zju.edu.cn>
* pkg/subsystem: optionally disable monthly reportsAleksandr Nogikh2023-04-132-0/+8
| | | | | | For some subsystems (e.g. `kernel`) such reports just don't make much sense, since there are too many incorrectly classified bugs in there. Make it possible to exclude such subsystems from periodic reminders.
* pkg/subsystem: handle syz_usb_connect$hidAleksandr Nogikh2023-04-031-0/+1
| | | | Also make the call point to the "input" subsystem.
* pkg/subsystem: add usb-specific syscallsAleksandr Nogikh2023-04-031-0/+8
| | | | | Let's consider them a strong indicator that usb subsystem is affected by a bug.
* pkg/subsystem: fix nilfs syscallsAleksandr Nogikh2023-04-031-1/+1
| | | | | Adjust the rules so that syz_mount_image$nilfs2 begins to point to nilfs.
* pkg/subsystem: recognize more maintainersAleksandr Nogikh2023-03-293-18/+62
| | | | | | | | | | | | | Earlier we only took maintainers if there was just one MAINTAINERS record, but that was a very severe limitation. Let's try a more elaborate approach. It's also not perfect, but allows us to extract many more maintainers, while keeping false positives at zero. Group raw MAINTAINER records by their T: entries. If there's just one set of T: values per group mailing list, take the intersection of M: entries from there.
* pkg/subsystem: recognize gfs2 mount calls correctlyAleksandr Nogikh2023-03-291-0/+1
| | | | Rename `cluster` to `gfs2`
* pkg/subsystem/linux: add more custom rulesAleksandr Nogikh2023-02-241-31/+36
| | | | Add isofs and fat. Match them with their pseudo syscalls.
* pkg/subsystem/linux: rename v9fs -> 9pAleksandr Nogikh2023-02-242-1/+1
| | | | 9p is a much more common name.
* pkg/subsystem/linux: add more fs subsystemsAleksandr Nogikh2023-02-231-3/+9
| | | | We've put too much under the "fs" tag.
* pkg/subsystem/linux: support custom subsystem groupingAleksandr Nogikh2023-02-235-5/+110
| | | | | | | 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/linux: add more pseudo syscallsAleksandr Nogikh2023-02-231-38/+42
|
* pkg/subsystem: improve naming rulesAleksandr Nogikh2023-02-172-4/+8
| | | | There were cases when subsystems did not get reasonable enough names.
* pkg/subsystem/linux: minor changes to the name extractionAleksandr Nogikh2023-02-162-3/+6
| | | | | | Add a few more prefixes to strip. Remove dots from the resulting names. Regenerate the list of Linux subsystems.
* pkg/subsystem: restructure the packageAleksandr Nogikh2023-02-1012-81/+286
| | | | | | Remove the entity and match subpackages. Regenerate the linux.go file.
* pkg/subsystem: detect loops on the goAleksandr Nogikh2023-02-102-60/+1
| | | | This lets us reduce the amount of code in parents.go.
* pkg/subsystem: extract names after all preprocessingAleksandr Nogikh2023-02-103-11/+15
| | | | | | | | In the previous steps we eliminate some of the extracted subsystems. It helps to have fewer contention while assigning the names. As a result, we need to only rely on emails during parents trasnformations.
* pkg/subsystem: skip small subsystemsAleksandr Nogikh2023-02-103-18/+28
| | | | And regenerate the Linux rules file.
* pkg/subsystem/linux: add more custom naming rulesAleksandr Nogikh2023-02-101-0/+2
| | | | | | linux-security-module is too long, we could use just lsm. Also, overlayfs had a different name, therefore we cannot infer it from the mailing list as is.
* pkg/subsystem/linux: refactor groupByList and getSubsystemsAleksandr Nogikh2023-02-101-40/+15
| | | | Simplify the code by removing the unnecessary itermediate structures.
* pkg/subsystem/linux: add a list of non-subsystem emailsAleksandr Nogikh2023-02-102-0/+15
| | | | | | Despite the automatic logic we already have, there are still a few emails that slip the check. For now let's keep them in a separate array, maybe later we'll figure out a pattern.
* pkg/subsystem: push the base subsystem listAleksandr Nogikh2023-02-101-8/+13
| | | | | This list was generated using an older version of the code. It'll serve as a baseline for further changes.
* pkg/subsystem/linux: more subsystem postprocessingAleksandr Nogikh2023-02-102-5/+131
| | | | | Instead of just assigning parents, also remove small and highly overlapping subsystems.
* pkg/subsystem: remove unneeded paths from matching rulesAleksandr Nogikh2023-02-102-0/+24
| | | | | We don't really care about Documentation/ and similar folders. Exclude such path matching rules after parsing MAINTAINERS.