aboutsummaryrefslogtreecommitdiffstats
path: root/executor
Commit message (Collapse)AuthorAgeFilesLines
...
* pkg/csource: don't use pthread_cond_timedwait for fuchsiaDmitry Vyukov2018-06-301-25/+8
| | | | We removed it in executor, do the same in csource.
* executor: fix zx_log_read return valueDmitry Vyukov2018-06-301-1/+4
| | | | It does not return status and breaks fallback signal.
* prog: detect when flags are a bitmaskDmitry Vyukov2018-06-307-13/+13
|
* sys/fuchsia: add few new syscallsDmitry Vyukov2018-06-291-4/+14
|
* executor: improve fuchsia fallback coverageDmitry Vyukov2018-06-291-2/+2
|
* executor, pkg/ipc: support output over pipesDmitry Vyukov2018-06-293-36/+65
|
* executor: fix pid check after forkDmitry Vyukov2018-06-291-2/+2
|
* pkg/csource: support fuchsiaDmitry Vyukov2018-06-296-43/+382
| | | | Lots of assorted heavylifting to support csource on fuchsia.
* sys/fuchsia: add pipe syscallDmitry Vyukov2018-06-291-4/+6
|
* sys/fuchsia: remove zx_job_set_relative_importanceDmitry Vyukov2018-06-261-6/+4
| | | | It seems to be removed from zircon.
* executor: don't crash during tun setup if ipv6 is not enabledDmitry Vyukov2018-06-261-4/+7
| | | | | Some options that tun initialization sets up are optional. Don't fail if they are missing in kernel.
* sys/linux: add 2 custom uidsDmitry Vyukov2018-06-231-5/+5
| | | | | Give fuzzer 2 custom uids to mess with. Ideally these should be proc, we can't do this for resources.
* sys/linux: fix /dev/urandom descriptionsDmitry Vyukov2018-06-231-20/+15
| | | | | Don't use pseudo syscall without a reason. Remove duplicate syscall.
* executor: extend error on output overflowDmitry Vyukov2018-06-221-1/+2
|
* executor: rework fallback coverageDmitry Vyukov2018-06-2214-60/+74
| | | | | | | | | | We have fallback coverage implmentation for freebsd. 1. It's broken after some recent changes. 2. We need it for fuchsia, windows, akaros, linux too. 3. It's painful to work with C code. Move fallback coverage to ipc package, fix it and provide for all OSes.
* executor: handle case when AF_INET is not enabledDmitry Vyukov2018-06-221-4/+28
| | | | No AF_INET is somewhat crazy, but why not.
* sys/linux: regenerate constsDmitry Vyukov2018-06-191-5/+5
| | | | @evdenis
* sys/linux: additional scsi_ioctls of sg deviceDenis Efremov2018-06-191-10/+65
| | | | | | | Add previously skipped SCSI_IOCTL_* ioctls in the sg rule. Signed-off-by: Denis Efremov <efremov@linux.com>
* sys/linux: refine xdp descriptionDmitry Vyukov2018-06-181-5/+5
| | | | | | | | | Split sockaddr_xdp for bind. Bind accepts another sock_xdp in addr. Without the split getsockaddr "can" create sock_xdp's because it returns generic sockaddr which contains all addresses, including sockaddr_xdp, which in turn contains sock_xdp.
* sys: mark output resources as optDmitry Vyukov2018-06-186-24/+128
| | | | | Mark output resources as opt in preparation for more precise constructor calculation.
* sys/linux: add rseq syscallDmitry Vyukov2018-06-121-9/+13
|
* executor: always use errors=continue when mounting ext2/3/4Dmitry Vyukov2018-06-112-10/+26
| | | | | | | For ext2/3/4 we have to have errors=continue because the image can contain errors=panic flag and can legally crash kernel. Fixes #599
* sys/linux: add udplite socketsDmitry Vyukov2018-06-081-10/+30
|
* sys/linux: add TCP_ZEROCOPY_RECEIVE and TCP_INQDmitry Vyukov2018-06-081-10/+20
|
* sys/linux: add ip6t_srh1 descriptionDmitry Vyukov2018-06-081-5/+5
|
* sys/linux: add more fs ioctlsDmitry Vyukov2018-06-081-10/+55
|
* sys/linux: minor fixes for aioDmitry Vyukov2018-06-081-8/+11
|
* sys/linux: add remaining qdisc/tclass/tfilter/actions for netlink route schedHangbin Liu2018-06-081-5/+5
| | | | | | Update #533 Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* executor: make syscall table and number constantDmitry Vyukov2018-06-0714-47/+44
| | | | | | | | | We see some crashes that suggest corruption of the syscall number: invalid command number 1296 (errno 11) invalid command number 107 (errno 110) Make the table and the number constant to prevent corruption.
* sys/linux: regenerate consts on tipDmitry Vyukov2018-06-071-5/+5
|
* sys/linux: add AF_XDP supportDmitry Vyukov2018-06-071-10/+65
|
* sys/linux: fix up midi descriptionsDmitry Vyukov2018-06-071-10/+40
|
* sys/fuchsia: disable zx_task_killDmitry Vyukov2018-06-061-6/+4
| | | | | | Disable zx_task_kill until we figure out how to prevent executor from killing fuzzer. Update #594
* executor: use linux result convention for fuchsiaDmitry Vyukov2018-06-061-1/+3
| | | | | In several places we assume that -1 is failure and 0 is OK. Use this convention for fuchsia as well.
* executor: fix zx_port_wait useDmitry Vyukov2018-06-061-1/+1
| | | | The call signature has changed in zircon.
* sys/fuchsia: remove ZX_VMO_OP_LOOKUPDmitry Vyukov2018-06-061-6/+4
| | | | It's removed from latest zircon sources.
* sys/linux: id field fix in v4l2_event_subscriptionDenis Efremov2018-06-051-4/+4
| | | | | | | | | | | | | | | | | | The id field in the v4l2_event_subscription structure currently described as: id len[type, int32]. But all the documentation states is: "id - ID of the event source. If there is no ID associated with the event source, then set this to 0. Whether or not an event needs an ID depends on the event type." So, the documentation clearly states that: 1. id - is the source of an event 2. type - is the type of an event 3. for some types of events there is no source and id can be 0 According to this 'id int32' is more accurate description of the field.
* sys/linux: add new mount options for xfs && btrfs in kernel v4.17Denis Efremov2018-06-051-5/+5
| | | | | 1. lazytime && nolazytime for xfs 2. nossd_spread for btrfs
* sys/linux: fix cdrom rules description && clarification on how to runDenis Efremov2018-06-041-5/+5
| | | | | | | 1. Comment with clarification on how to run qemu added. 2. Fixed description of int type. Signed-off-by: Denis Efremov <efremov@linux.com>
* sys/linux: improve /dev/snd/controlC descriptionsDmitry Vyukov2018-06-041-5/+5
|
* sys/linux: video4linux v4l2_jpegcompression APP_len fixDenis Efremov2018-05-291-4/+4
| | | | Signed-off-by: Denis Efremov <efremov@linux.com>
* sys/linux: cdrom generic descriptionDenis Efremov2018-05-291-10/+235
| | | | Signed-off-by: Denis Efremov <efremov@linux.com>
* sys/linux: few minor tweaks for bpfDmitry Vyukov2018-05-181-5/+5
|
* sys/linux: add MAP_FIXED_NOREPLACE constDmitry Vyukov2018-05-181-5/+5
|
* pkg/csource: minimize netdevices and net resetDmitry Vyukov2018-05-171-19/+22
| | | | | | Add separate options to minimize netdevices setup and net namespace reset. Fixes #581
* sys/linux: use optional in tun descriptionsDmitry Vyukov2018-05-171-5/+5
|
* sys/linux: fix duplicate field in structDmitry Vyukov2018-05-171-5/+5
|
* executor: revert protection of kcov regionDmitry Vyukov2018-05-151-7/+3
| | | | | Turns out it's protection of kcov region that causes coverage drop. Revert it and re-enable coverage filtering.
* executor: revert coverage filteringDmitry Vyukov2018-05-141-1/+3
| | | | | This causes very significant drop in corpus size. Needs additional debugging. Revert for now.
* executor: protect most of kcov regionDmitry Vyukov2018-05-141-2/+4
| | | | | We only write to the first page of kcov region. Protect the rest from the fuzzer.