aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/fuse_deadlock
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: updated fuse fs specificationsSablin Viacheslav2024-11-291-1/+1
|
* pkg/compiler: optimize array[const] representationDmitry Vyukov2021-04-211-1/+1
| | | | | | | | | | | | | | Represent array[const[X, int8], N] as string["XX...X"]. This replaces potentially huge number of: NONFAILING(*(uint8_t*)0x2000126c = 0); NONFAILING(*(uint8_t*)0x2000126d = 0); NONFAILING(*(uint8_t*)0x2000126e = 0); with a single memcpy. In one reproducer we had 3991 such lines. Also replace memcpy's with memset's when possible. Update #1070
* sys/linux/fs_fuse.txt: define FUSE request id as a resourceStefano Duo2020-08-141-2/+2
| | | | | | | | | | Currently fuse_in.unique and fuse_out.unique are not linked by any dependency chain. This causes the majority of the replies to the kernel to be dropped because not referring to a previously sent request. By defining them as a resource, we push the fuzzer in the right direction (i.e., try to respond using a previously issued unique value). The read syscall has been updated accordingly, it now expects and parses a fuse_in header and some additional data.
* sys/linux: fix 240 warnings in descriptionsDmitry Vyukov2019-12-201-1/+1
| | | | | | Sweeping fix of everything up to socket_netlink_route.txt. Update #590
* prog: support AUTO args in programsDmitry Vyukov2018-12-101-8/+8
| | | | | | | | | | | | | | | AUTO arguments can be used for: - consts - lens - pointers For const's and len's AUTO is replaced with the natural value, addresses for AUTO pointers are allocated linearly. This greatly simplifies writing test programs by hand as most of the time we want these natural values. Update tests to use AUTO.
* pkg/runtest: assorted improvementsDmitry Vyukov2018-08-081-3/+4
| | | | | | | | Support checking "blocked"/"unfinished" flags for calls. Support test constanints, e.g. "requires: threaded" or "requires: -sandbox=setuid". Some improvements in tools/syz-runtest. Update #603
* executor: abort fuse connectionDmitry Vyukov2018-08-041-7/+6
| | | | | | | If the test process is not dying after 100ms, abort all fuse connections in the system. This gets rid at least of simple fuse deadlocks, let's see how well this works in all cases.
* tools/syz-runtest: add tool for program unit testingDmitry Vyukov2018-08-031-0/+11
The tool is run as: $ syz-runtest -config manager.config This runs all programs from sys/*/test/* in different modes on actual VMs and checks results. Fixes #603