aboutsummaryrefslogtreecommitdiffstats
path: root/docs/pseudo_syscalls.md
Commit message (Collapse)AuthorAgeFilesLines
* pkg/vminfo: move feature checking to hostDmitry Vyukov2024-05-151-10/+3
| | | | | | | | | | | | | | | | | Feature checking procedure is split into 2 phases: 1. syz-fuzzer invokes "syz-executor setup feature" for each feature one-by-one, and checks if executor does not fail. Executor can also return a special "this feature does not need custom setup", this allows to not call setup of these features in each new VM. 2. pkg/vminfo runs a simple program with ipc.ExecOpts specific for a concrete feature, e.g. for wifi injection it will try to run a program with wifi feature enabled, if setup of the feature fails, executor should also exit with an error. For coverage features we also additionally check that we actually got coverage. Then pkg/vminfo combines results of these 2 checks into final result. syz-execprog now also uses vminfo package and mimics the same checking procedure. Update #1541
* pkg/csource: replace go:generate with go:embedDmitry Vyukov2024-05-081-19/+3
| | | | | | | go:embed is a more modern way to do this and it does not require a special Makefile step. Since go:embed cannot use paths that contains "..", the actual embeding is moved to executor package.
* all: remove akaros supportDmitry Vyukov2024-04-151-1/+0
| | | | | | | 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.
* executor: prepare code generator to allow other achitecturesAlexey Kardashevskiy2021-07-191-1/+1
| | | | | | | At the moment only AMD64 is supported, change file names to emphasise this. Signed-off-by: Alexey Kardashevskiy <aik@linux.ibm.com>
* 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.
* docs: add section on descriptions testingDmitry Vyukov2020-07-271-14/+33
| | | | | | | 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 pseudo-syscall dependenciesDmitry Vyukov2020-07-161-0/+14
|
* docs: explain pseudo-syscall argument typeDmitry Vyukov2020-07-081-2/+12
|
* docs: add note that pseudo-syscalls are discouragedDmitry Vyukov2020-07-081-3/+12
|
* docs: new file pseudo_syscalls.mdRicardo Cañuelo2020-06-101-0/+72
Add a brief description about pseudo-syscalls and how to create new ones.