aboutsummaryrefslogtreecommitdiffstats
path: root/executor
Commit message (Collapse)AuthorAgeFilesLines
* executor: update the list of raw usb eventsAndrey Konovalov2019-11-051-2/+0
| | | | The number of reported event types changed.
* executor, pkg/host, dashboard/config: rename usb-fuzzer to usb raw-gadgetAndrey Konovalov2019-11-041-88/+87
| | | | The interface is being upstreamed and the name has changed.
* sys/linux: improve CAN descriptionsDmitry Vyukov2019-11-041-5/+5
|
* executor: fix setup of vxcanDmitry Vyukov2019-11-033-11/+7
| | | | Adding vxcan1 also adds vxcan0. Setup and use both.
* executor: move fixed pci devlink handle into network namespaceJiri Pirko2019-11-032-4/+104
| | | | | | | | In case there is a fixed pci devlink handle "pci/pci/0000:00:10.0" on the system (initial network namespace), it is moved to a working network namespace. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* sys/linux: extend devlink for fixed pci handleJiri Pirko2019-11-031-5/+5
| | | | | | Extend devlink to also work with fixed pci handle "pci/0000:00:10.0". Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* sys/linux: add forgotten SECCOMP_FILTER_FLAG_NEW_LISTENER bitsJiri Pirko2019-11-032-2/+12
| | | | Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* sys/linux: add missing arm/386 CAN constsDmitry Vyukov2019-11-022-2/+40
|
* sys/linux: extend CAN descriptionsDmitry Vyukov2019-11-022-5/+97
|
* sys/linux: use template base to simplify pppox descriptionPaul Chaignon2019-11-021-5/+5
| | | | | Co-authored-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* pkg/compiler: define fileoff templatePaul Chaignon2019-11-011-14/+14
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* executor: update kcov remote coverage interfaceAndrey Konovalov2019-10-281-6/+12
| | | | The kcov extension is being upstreamed and the interfaces has been changed.
* sys/linux: add SECCOMP_FILTER_FLAG_NEW_LISTENER supportDmitry Vyukov2019-10-282-10/+35
|
* sys/linux: fix range in InfiniBand descriptionPaul Chaignon2019-10-251-5/+5
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: use alignment in integer rangesPaul Chaignon2019-10-251-5/+5
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/freebsd: fix int should be constPaul Chaignon2019-10-251-2/+2
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: fix int should be const in InfiniBand descriptionPaul Chaignon2019-10-251-5/+5
|
* sys/linux: add ioctl_nsDmitry Vyukov2019-10-252-5/+25
|
* sys/linux: add support for basic devlink syscallsJiri Pirko2019-10-253-6/+31
| | | | | | Add support for basic set of devlink interface syscalls Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* executor: create netdevsim deviceJiri Pirko2019-10-251-0/+10
| | | | | | Create testing netdevsim instance with 4 ports. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* sys/linux/socket_netlink_route_sched: update tca_policesHangbin Liu2019-10-241-5/+5
| | | | | | | | | Update #533 This patch update tca_polices by adding new polices TCA_POLICE_RATE64 and TCA_POLICE_PEAKRATE64 Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: add new tc actionsHangbin Liu2019-10-241-5/+5
| | | | | | | | Update #533 This patch add new tc actions: ct, ctinfo, xt, mpls Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: add tc flower filterHangbin Liu2019-10-241-5/+5
| | | | | | Update #533 Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: add some new classesHangbin Liu2019-10-241-5/+5
| | | | | | | | | | | | | Update #533 In this patch I added new classes: cake, cbs, fq_codel, mq, mqprio, multiq, netem, prio, red, sfb, sfq, skbprio, taprio, tbf, ingress, clsact. These classes has Qdisc_class_ops in kernel, but no netlink parameters. So we can testing them by just calling them directly. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: add some new qdiscsHangbin Liu2019-10-241-5/+5
| | | | | | | | | | Update #533 In this patch I added new qdiscs cake, etf, pfifo_fast, plug, qfq, rr, skbprio, taprio, atm, drr, blackhole, clsact, ingress, mq. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: fix tcm_info structureHangbin Liu2019-10-241-5/+5
| | | | | | | | | Update #533 Don't know why I didn't add tcm__pad in tcm_info structure at the begining. But let's fix it now. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/socket_netlink_route_sched: add chain actionsHangbin Liu2019-10-242-5/+7
| | | | | | | | Update #533 Chain actions also use filter policies, so we can add them easily. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* syz-fuzzer, executor: Add support for blacklisting data race framesMarco Elver2019-10-222-1/+33
| | | | | This adds support to add frames that have already been in data races, to the KCSAN report blacklist.
* executor/usb: enable endpoints on SET_INTERFACEAndrey Konovalov2019-10-212-50/+187
| | | | | This commit changes syz_usb_control_io to enable the relevant endpoints for the interface being set via a SET_INTERFACE request.
* sys/linux: add some new flagsDmitry Vyukov2019-10-152-5/+13
| | | | Add a few new assorted things, some flags, etc.
* sys/linux: add exfat descriptionsDmitry Vyukov2019-10-152-5/+10
|
* sys/linux: add watch_queue descriptionsDmitry Vyukov2019-10-152-5/+25
|
* sys/linux/vusb.txt: describe UAC1 device classAndrey Konovalov2019-10-152-5/+15
|
* prog: mutate length of output buffersVeronica Radu2019-10-102-1/+3
| | | | Update #480
* sys/linux: improve i2c descriptions a bitDmitry Vyukov2019-10-081-5/+5
|
* Change KCSAN info file to debugfsMarco Elver2019-10-081-1/+1
|
* executor, host, csource: Add support to enable KCSANMarco Elver2019-10-043-0/+12
| | | | | | | | | By default, the current KCSAN .config does not enable KCSAN during boot, since we encounter races during boot which would prevent syzkaller from ever executing. This adds support to detect if KCSAN is available, and enables it on the fuzzer host.
* sys/linux: add new syscall descriptions for devio and usbmonVeronica Radu2019-10-012-15/+158
| | | | Update #533
* sys/linux/dev_binder.txt: also support real-world binder device namesEric Biggers2019-09-302-5/+20
| | | | | | It was reported that binder isn't covered when using syzkaller on a real Android device, since the binder device names are different. Update the descriptions to know about the real-world device names too.
* sys/linux: add new pidfd syscallsDmitry Vyukov2019-09-272-3/+12
|
* executor, csource: adjust syz_open_dev$hiddev timeoutAndrey Konovalov2019-09-241-0/+2
| | | | Looks like opening hiddev can take up to ~100 ms.
* executor: handle USB IN requests with wLength == 0Andrey Konovalov2019-09-191-3/+7
|
* executor: always provide DEVICE_QUALIFIER USB descriptorAndrey Konovalov2019-09-191-0/+16
|
* sys/linux: update BPF constantsPaul Chaignon2019-09-192-3/+6
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: re-generate Linux descriptions from next-20190918Eric Biggers2019-09-192-5/+30
|
* sys/linux: update BPF's anonymous structuresPaul Chaignon2019-09-181-5/+5
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: basic support for bpf-to-bpf function callsPaul Chaignon2019-09-171-5/+5
| | | | | | | | | The BPF template currently only defines helper calls. BPF function calls (bpf-to-bpf calls) are however supported in Linux since v4.16. This patch defines bpf-to-bpf calls in the template. Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* executor: fix out-of-bounds access to syscalls arrayAndrey Konovalov2019-09-171-20/+20
| | | | | Move accessing syscalls array to check for USB syscalls after we validate the call_num value (it can be e.g. instr_copyin/out).
* sys/linux: support for loopkup-free map value accessesPaul Chaignon2019-09-171-5/+5
| | | | | | | | | | | | A new BPF instruction that allows lookup-free map value accesses was added in Linux v5.2, with commit d8eca5b ("bpf: implement lookup-free direct value access for maps"). It enables direct access to map values without having to call a BPF helper. It is currently used to implement global variable support. This commit adds support for that new instruction. Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/freebsd/sys.txt: update sendfile descriptionMichael Tuexen2019-09-161-2/+2
| | | | | The signature of sendfile() on FreeBSD is different from the one used on Linux.