aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/auto.txt.json
Commit message (Collapse)AuthorAgeFilesLines
* tools/syz-declextract: store interfaces info in a text fileDmitry Vyukov2024-11-141-12622/+0
| | | | | | | | | | One line per interface allows to use all power of unix utilities to process these files. For example the following command allow to select all unpriviledged interfaces present in one kernel but not in another: comm -23 <(cat auto1.info | grep access:user | cut -f -2 | sort) \ <(cat auto2.info | cut -f -2 | sort)
* pkg/compiler: add consts to all files that mention themDmitry Vyukov2024-11-131-309/+309
| | | | | | | | | We already do this in most cases except for template structs (nlattr notably). Add consts that are used in template structs to all files that use them. This helps to avoid flakiness, and allows to replace descriptions files with other descriptions files without regenerating all const files. This also fixes check for presence of descriptions for sys/linux/auto.txt.json.
* tools/syz-declextract: improve declaration name extractionDmitry Vyukov2024-11-131-0/+14
| | | | | | | Extracting declaration name is trickier than removing casts. If the initialized type is a union, then the expression may also contain InitListExpr and other nodes. Remove all of them in a more robust way.
* tools/syz-declextract: add syscall entry functionDmitry Vyukov2024-11-121-0/+519
|
* tools/syz-declextract: add entry function and access levelDmitry Vyukov2024-11-121-0/+914
| | | | For now for netlink only.
* sys/linux: regenerate automatic descriptionsDmitry Vyukov2024-11-111-16/+16
|
* tools/syz-declextract: enumerate io_uring operationsDmitry Vyukov2024-11-111-0/+696
|
* tools/syz-declextract: annotate interfaces with descriptions presenceDmitry Vyukov2024-11-111-867/+2601
|
* tools/syz-declextract: fix non-determinism and syscall selectionDmitry Vyukov2024-11-111-8/+38
| | | | | | | | | Currently syscall selection is non-deterministic and we frequently choose wrond ones. This leads to flaky argument names/types, and wrong argument types (e.g. int16 instead of uid, old_utimbuf32 instead of utimbuf, etc). Make syscall selection robust and correct.
* tools/syz-declextract: add files/subsystems for interfacesDmitry Vyukov2024-10-251-864/+6121
|
* tools/syz-declextract: rework interface list handlingDmitry Vyukov2024-10-251-0/+3458
Produce both descriptions and interface list in one run (it's slow, we don't want/need to run the tool twice). Produce output in json format. Later we will add more properties, and will do more processing of the list.