aboutsummaryrefslogtreecommitdiffstats
path: root/docs/syscall_descriptions.md
Commit message (Collapse)AuthorAgeFilesLines
* doc: fix sourcedir variable nameMoritz Buhl2025-07-181-1/+1
| | | | Commit d34313c changed the sourcedir variable in the syz-extract command but did not adjust the text beneath it.
* docs: update information about syz-runtestAleksandr Nogikh2024-08-071-4/+4
| | | | | | This is no longer a standalone tool, but rather a syz-manager mode. Closes #4970.
* all: remove akaros supportDmitry Vyukov2024-04-151-1/+1
| | | | | | | Akaros support is unused, it was shutdown on syzbot for a while, the akaros development seems to be frozen for years as well. We have a bunch of hacks for Akaros since it supported only super old gcc and haven't supported Go. Remove it.
* docs: typo fixesDavidlohr Bueso2023-06-071-1/+1
| | | | Fix various typos within the documentation directory.
* doc: added info about vscode extension for syz-langAndrey Artemiev2022-10-281-1/+1
|
* docs: update syscalls documentationFahima Mokhtari2022-03-221-1/+1
| | | | Fixing typo "does not contain" instead of "does not contains"
* tools/syz-check: use $ as struct variant suffix delimiterDmitry Vyukov2022-01-131-4/+1
| | | | | | | | | | We already use this $ convention for syscall variant names. Use the same convention for struct. Currently syz-check supports '_' for structs, but it's inconsistent with syscalls and leads to ambiguity. If we enable the same matching for all structs (not just netlink), then '_' creates lots of false matches. E.g. bpf_link_get_next_id_args is matches with internal bpf_link struct.
* docs: add a brief program syntax descriptionAleksandr Nogikh2021-09-221-2/+2
| | | | | | | | Currently the documentation is lacking any description of the textual program representation used by syzkaller. Also, the newly implemented call properties are not described anywhere yet. Fix this by introducing the program_syntax.md file.
* docs: update test for syntaxMickaël Salaün2021-02-101-1/+1
| | | | | | | Synchronize with commit 2bd9619f7621 ("pkg/runtest: check arch requirement early"), which removes TestSysTests. Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
* docs: add note on declaration ordering in syzlangDmitry Vyukov2021-01-091-0/+10
|
* tools/check-whitespace.sh: check for trailing whitespacesDmitry Vyukov2020-09-141-1/+1
| | | | | | File types that we don't format automatically can end up with such basic untidiness as trailing whitespaces. Check for these. Remove all existing precedents.
* sys/linux: switch to the new .const formatDmitry Vyukov2020-08-131-1/+1
| | | | | | | This reduces number of const files/lines from 1288/96599 to 158/11603. Const files are generated on next-20200813. Update #1983
* pkg, prog: add per-field direction attributeNecip Fazil Yildiran2020-08-131-4/+3
|
* docs: add section on descriptions testingDmitry Vyukov2020-07-271-0/+41
| | | | | | | The sys/OS/test/* tests are currently mostly undocumented. Add initial documentation for these tests. The "External Dependencies" section is just moved with no changes.
* docs: add a note re per-field directionsDmitry Vyukov2020-07-161-1/+4
|
* docs: add explanation of flags typeDmitry Vyukov2020-07-091-0/+19
| | | | | * docs: add explanation of flags type * Apply suggestions from code review Co-authored-by: Marco Elver <marco.elver@gmail.com>
* docs: add tips on writing descriptionsDmitry Vyukov2020-07-081-0/+60
|
* Update syscall_descriptions.mdAndrey Konovalov2020-06-121-2/+1
|
* Update syscall_descriptions.mdAndrey Konovalov2020-06-121-1/+2
|
* Update syscall_descriptions.mdAndrey Konovalov2020-06-121-1/+7
|
* docs: more info about resources and the "enable_sysaclls" config optionRicardo Cañuelo2020-06-081-1/+9
| | | | | | | - Give some extra clarifications and examples about resources in syscall descriptions. - More details about how to use the "enable_syscalls" option. - Mention pseudo-syscalls in the general syscall description doc file.
* tools/check_links.py: detect absolute linksDmitry Vyukov2020-05-191-1/+1
| | | | | Detect absolute links to our repo. These are not checked and long and inconsistent with majority of links.
* docs: various updates all overAndrey Konovalov2020-05-081-22/+34
|
* Makefile: generate descriptions on-the-flyDmitry Vyukov2020-04-301-7/+4
| | | | | | | | | | | | | | | | | | Checking in the generated descriptions files makes few things simpler, but causes pain for pull requests: (1) PRs that touch descriptions _always_ conflict, (2) PRs are large and harder to review, (3) people sometimes forget to add auto-generated files. The proposed way does not require us to hardcode lots of dependencies in the Makefile (which is nice) and seem to work. Let's see how it works. The main contributor-visible consequence is that the auto-generated files do not need to be checked-in now. Credit for figuring the Makefile magic goes to @melver. Fixes #1291
* Implement basic support for MIPS64LEJouni Hogander2019-12-171-1/+1
| | | | | | | | | Add basic stuff to enable MIPS64ELR2 target: - build - make extract - make generate - qemu execution - system call parsing from /proc/kallsyms
* docs:update syscall_descriptions.mdShiyu Sun2019-11-221-3/+5
| | | | Add detailed instructions to run syz-extract
* docs: update syscall_descriptions.md and contributing.mdShiyu Sun2019-11-201-1/+4
| | | | Add suggestions for running make install_prerequisites.
* docs: clarify what tree should be used for make extractDmitry Vyukov2019-11-201-2/+8
| | | Clarify what tree should be used for make extract for Linux.
* docs: update syscall_descriptions.mdShiyu Sun2019-11-181-0/+5
| | | | | Clarify that 'make generate' should update syscall description revision.
* docs: update syscall_descriptions.mdDmitry Vyukov2019-08-181-2/+1
| | | | | We now don't return len from read/write syscalls (not needed for anything) and don't need an mmap for data space. Reflect this in the docs.
* Update syscall_descriptions.mdAndrey Konovalov2019-07-261-22/+27
|
* docs: mention install_prerequisites in syscall_descriptions.mdDmitry Vyukov2019-03-141-0/+4
|
* docs: extend descriptions/programs docsDmitry Vyukov2019-03-141-29/+89
| | | | | | Extend doc on descriptions, const generation process, add more links to internals, explain programs, etc. Clarify that all generated files are checked in.
* sys/linux: rename dev descriptions filesAndrey Konovalov2019-02-011-1/+1
| | | | | Prefix file names of descriptions of /dev/* files with dev_. And give some of them more appropriate names.
* Update syscall_descriptions.mdDmitry Vyukov2018-10-281-3/+1
| | | Clarify that running `make clean` each time is not necessary.
* doc: Not -> NoteGreg Steuck2018-10-011-1/+1
|
* executor: overhaulDmitry Vyukov2018-07-241-1/+1
| | | | | | | | | | | | | | | | | Make as much code as possible shared between all OSes. In particular main is now common across all OSes. Make more code shared between executor and csource (in particular, loop function and threaded execution logic). Also make loop and threaded logic shared across all OSes. Make more posix/unix code shared across OSes (e.g. signal handling, pthread creation, etc). Plus other changes along similar lines. Also support test OS in executor (based on portable posix) and add 4 arches that cover all execution modes (fork server/no fork server, shmem/no shmem). This change paves way for testing of executor code and allows to preserve consistency across OSes and executor/csource.
* fixed link to generated file in the docsAlex Gaynor2018-05-061-1/+1
|
* sys/syz-extract: support fuchsiaDmitry Vyukov2017-09-251-12/+11
|
* tools: add headerparser as a tool to assist in writing system call descriptionsZubin Mithra2017-08-251-0/+2
| | | | | The tool can be found inside tools/syz-headerparser. Details on how to use headerparser can be found inside docs/headerparser_usage.md.
* sys/syz-extract: move from syz-extractDmitry Vyukov2017-06-171-1/+1
|
* docs: various improvementsAndrey Konovalov2017-06-141-187/+24
|
* docs: move sys/README.md to docsAndrey Konovalov2017-06-141-0/+229