diff options
| author | fellair <tesladead43@gmail.com> | 2025-06-19 19:51:06 +0300 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-06-23 20:21:25 +0000 |
| commit | e2f27c3515f1d25672dedf92071bf6d40f623969 (patch) | |
| tree | 70d28b89a718e2c43ada900c323638b6153f31f8 /prog | |
| parent | 1a7fb460b15fc14174513a2a2217c3a5b454ac49 (diff) | |
sys/linux: add descriptions for BSG devices
BSG is a block layer version of SG driver with its own devices,
which can be found in /dev/bsg/*. Currently, syzkaller barely touches
related code in block/ and drivers/scsi/ source directories,
so update the descriptions to nudge the fuzzer in the right direction.
Specifically,
- create a separate description file dev_bsg.txt;
- move openat$bsg from sys.txt and fix the way devices
in question are accessed;
- describe necessary syscalls and structs, most importantly, sg_io_v4.
- add a few TODOs to address later.
A few words about flaws in sq_io_v4 description:
Some fields were left more ambigious than desired. Once more research
into the way bsg operates is done, as well as related coverage is
gathered, those flaws will be corrected.
Diffstat (limited to 'prog')
0 files changed, 0 insertions, 0 deletions
