aboutsummaryrefslogtreecommitdiffstats
path: root/executor
Commit message (Collapse)AuthorAgeFilesLines
* executor: refactor sandbox flagsDmitry Vyukov2019-11-162-34/+22
| | | | In preparation for future changes.
* executor: rename some macrosDmitry Vyukov2019-11-163-82/+82
| | | | | Rename some macros in preparation for subsequent changes which will align names across the code base.
* pkg/csoruce: test that executor does not mis-spell any of the SYZ_* macrosDmitry Vyukov2019-11-162-18/+14
|
* executor: rename some flagsDmitry Vyukov2019-11-163-52/+52
| | | | | Rename some flags in preparation for subsequent changes which will align names across the code base.
* executor: remove pointless macro checksDmitry Vyukov2019-11-161-5/+2
| | | | | common_bsd.h is used for 3 OSes, so checking if it's any of these 3 OSes is pointless. Remove these checks.
* executor: consider NLMSG_DONE type in netlink_send_ext()Jiri Pirko2019-11-151-0/+4
| | | | | | | | | In case the dump is empty, NLMSG_DONE type message is received from kernel right away. Count with this and return 0. Set the reply_len to 0. Reported-by: Dmitry Vyukov <dvyukov@google.com> Fixes: f350e2dc1f59 ("executor: rename devlink port netdevices to defined names") Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* executor, pkg/host: update usb raw-gadget interfaceAndrey Konovalov2019-11-151-18/+18
| | | | The patches are being upstreamed and the interface has changed.
* sys/fuchsia: remove deprecated exception APIsDavid Pursell2019-11-143-43/+56
| | | | | | The port-based exception APIs have been deprecated on Fuchsia and will be removed shortly. Delete them from the syscall definitions and modify the Fuchsia executor to use the new channel-based APIs instead.
* sys/fuchsia: fix Fuchsia extract/generateDavid Pursell2019-11-142-24/+28
| | | | | Updates some paths and add zx_eventpair type definition to fix `make extract` and `make generate`.
* sys/linux/socket.txt: add devlink pci related netdevJiri Pirko2019-11-141-5/+5
| | | | | | Add netdev name related to pci netdev and fix comment for netdevsim0. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* executor: rename devlink port netdevices to defined namesJiri Pirko2019-11-141-2/+85
| | | | | | | Devlink port netdevices stay in the form of eth%d. Rename then to defined names so they could be used for system calls. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* executor: pass struct nlmsg to netlink_* helpersJiri Pirko2019-11-141-107/+119
| | | | | | | | Don't rely on global "nlmsg" struct and rather pass the structure to netlink_* helpers. That allows to possibly work with multiple netlink messages (sending while receiving for example) at the same time. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* executor: extend netlink_device_change() to allow name changesJiri Pirko2019-11-141-10/+13
| | | | | | | Extend existing helper netlink_device_change() in order to allow to change netdevice names. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* executor: identify netdev by ifindex in netlink_device_change()Jiri Pirko2019-11-141-1/+1
| | | | | | | IFLA_NAME is going to be used to set the name of the netdevice, so change the handle to be ifindex. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* executor: push out devlink generic netlink id getter into a separate functionJiri Pirko2019-11-141-7/+22
| | | | Signed-off-by: Jiri Pirko <jiri@mellanox.com>
* sys/linux: fix up some int64 syscall argsDmitry Vyukov2019-11-071-5/+5
| | | | | See the discussion on #1493. These args are actually intptr's.
* 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