aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/linux/rules.go
Commit message (Collapse)AuthorAgeFilesLines
* 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: don't Cc some parent subsystemsAleksandr Nogikh2024-05-071-0/+5
| | | | | | 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-031-0/+1
|
* pkg/subsystem: regenerate subsystems listAleksandr Nogikh2024-02-011-2/+1
|
* pkg/subsystem: move wireless under netAleksandr Nogikh2023-11-221-0/+6
| | | | It will help keep more generic reports in "net".
* pkg/subsystem: regenerate Linux subsystemsAleksandr Nogikh2023-11-221-1/+1
| | | | Adjust subsystem generation code to the latest changes.
* 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: regenerate Linux subsystemsAleksandr Nogikh2023-08-081-1/+2
| | | | | Regenerate the list using v6.5-rc5. Also, rename fat -> exfat.
* pkg/subsystem: optionally disable monthly reportsAleksandr Nogikh2023-04-131-0/+7
| | | | | | 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/linux: add more custom rulesAleksandr Nogikh2023-02-241-31/+36
| | | | Add isofs and fat. Match them with their pseudo syscalls.
* 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-231-0/+4
| | | | | | | 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-171-3/+5
| | | | There were cases when subsystems did not get reasonable enough names.
* pkg/subsystem/linux: add a list of non-subsystem emailsAleksandr Nogikh2023-02-101-0/+8
| | | | | | 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/linux: add custom call listsAleksandr Nogikh2023-02-101-1/+42
| | | | This information will let us extract subsystems from reproducers.
* pkg/subsystem/linux: add the basic subsystem extraction codeAleksandr Nogikh2023-02-101-0/+13