aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls.h
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: don't use syz_open_dev when openat is enoughDmitry Vyukov2020-03-241-24/+24
|
* pkg/compiler: ensure consistency of syscall argument typesDmitry Vyukov2020-03-171-58/+52
| | | | | | | | | | | | | | | | | | Ensure that we don't have conflicting sizes for the same argument of the same syscall, e.g.: foo$1(a int16) foo$2(a int32) This is useful for several reasons: - we will be able avoid morphing syscalls into other syscalls - we will be able to figure out more precise sizes for args (lots of them are implicitly intptr, which is the largest type on most important arches) - found few bugs in linux descriptions Update #477 Update #502
* pkg/compiler: don't specify syscall consts for test OSDmitry Vyukov2020-03-171-0/+387
| | | | This is just tedious. Fabricate them on the fly.
* executor, sys/linux: add ath9k usb descriptionsAndrey Konovalov2020-03-131-0/+18
| | | | | | | Among other things this changes timeout for USB programs from 2 to 3 seconds. ath9k fuzzing also requires ath9k firmware to be present, so system images need to be regenerated with the updated script.
* sys/openbsd: prevent killing the ssh VM connectionAnton Lindqvist2020-03-051-0/+1
| | | | | | | | | | This is one of the root causes of the 'no output from test machine' panic. Issuing a DIOCKILLSTATES ioctl on a /dev/pf file descriptor will cause state associated with ongoing connections to be purged; effectively killing the ssh connection to the VM. Including net/pfvar.h is necessary in order to make use of the DIOCKILLSTATES define.
* sys/linux: add NETLINK_SOCK_DIAG descriptionsDmitry Vyukov2020-02-211-0/+30
| | | | Incomplete, but something.
* sys/linux: add NETLINK_RDMA descriptionsDmitry Vyukov2020-02-211-6/+120
|
* sys/linux: add NETLINK_AUDIT descriptionsDmitry Vyukov2020-02-211-0/+96
|
* sys/linux: add smc_pnetid genetlink descriptionsDmitry Vyukov2020-02-201-0/+30
|
* sys/linux: don't extract from futex.txt and watch_queue.txtDmitry Vyukov2020-02-181-0/+4
| | | | These are not present in linux-next.
* sys/linux: add new FUTEX_WAIT_MULTIPLE operationAndré Almeida2020-02-171-0/+6
| | | | | | Create individual file for futex syscall and add description for the new operation FUTEX_WAIT_MULTIPLE. Signed-off-by: André Almeida <andrealmeid@collabora.com>
* sys/linux: add map batch operationsPaul Chaignon2020-02-161-0/+20
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
* sys/linux: add SO_BINDTODEVICE specialization for wireguardDmitry Vyukov2020-02-121-0/+6
| | | | | | | SO_BINDTODEVICE for wg devices allows to reach very important part of functionality (wg_xmit). Update #806
* sys/linux: add new pidfd_getfd syscallChristian Brauner2020-02-061-0/+6
| | | | Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
* sys/linux: add IPPROTO_MPTCP supportChristoph Paasch2020-02-011-0/+12
| | | | | Adding support for IPPROTO_MPTCP. Like SMC, it is on top of TCP and can thus be treated like a regular TCP socket.
* sys/linux: add some wireguard descriptionsDmitry Vyukov2020-01-311-0/+24
| | | | Update #806
* sys/linux: add ethtool netlink descriptionsDmitry Vyukov2020-01-281-0/+42
|
* sys/linux: extend DRM ioctl descriptionsDmitry Vyukov2020-01-251-18/+218
| | | | | | + disable binderfs (see comments) + add few more missing tty ioctls + improve few minor things in hci descriptions
* sys/linux: add more device descriptions (geneve, lowpan, ipoib, cfhsi)Dmitry Vyukov2020-01-191-0/+24
|
* sys/linux: add some batadv descriptionsDmitry Vyukov2020-01-181-0/+126
|
* prog: don't add fallback coverage after prctlDmitry Vyukov2020-01-151-0/+1
| | | | The same reason as with seccomp.
* sys/linux: extend and improve NFNL_SUBSYS_NFTABLES descriptionsDmitry Vyukov2020-01-151-6/+0
|
* sys/linux: add NFNL_SUBSYS_NFTABLES descriptionsDmitry Vyukov2020-01-141-0/+66
|
* sys/linux: add NFNL_SUBSYS_CTNETLINK_TIMEOUT descriptionsDmitry Vyukov2020-01-131-0/+30
|
* sys/linux: add NFNL_SUBSYS_ACCT descriptionsDmitry Vyukov2020-01-131-0/+24
|
* sys/linux: add NFNL_SUBSYS_OSF descriptionsDmitry Vyukov2020-01-131-0/+12
|
* sys/linux: open more files from procfsDmitry Vyukov2020-01-121-0/+12
|
* sys/linux: add NFNL_SUBSYS_ULOG descriptionsDmitry Vyukov2020-01-091-0/+6
|
* sys/linux: add NFNL_SUBSYS_QUEUE descriptionsDmitry Vyukov2020-01-091-0/+18
|
* sys/linux: add ipset descriptionsDmitry Vyukov2020-01-071-0/+114
|
* sys/linux: add NFNL_SUBSYS_CTHELPER/NFNL_SUBSYS_CTNETLINK_EXP descriptionsDmitry Vyukov2020-01-051-0/+42
|
* prog: fix tests for string enforcementDmitry Vyukov2020-01-051-0/+6
| | | | | | | | String value enforcement broke a number of tests where we use different values. Be more string as to what string values we use in tests. Required to add tmpfs descriptions to test syz_mount_image. Also special-casing AF_ALG algorithms as these are auto-generated.
* sys/linux: add AF_NETLINK/NETLINK_NETFILTER/NFNL_SUBSYS_CTNETLINK descriptionsDmitry Vyukov2020-01-051-0/+48
|
* prog: don't mutate strings with enumerated valuesDmitry Vyukov2020-01-051-0/+2
| | | | | | | | | | Strings with enumerated values are frequently file names or have complete enumeration of relevant values. Mutating complete enumeration if not very profitable. Mutating file names leads to escaping paths and fuzzer messing with things it is not supposed to mess with as in: r0 = openat$apparmor_task_exec(0xffffffffffffff9c, &(0x7f0000000440)='/proc/self//exe\x00', 0x3, 0x0)
* sys/linux: add basic AF_PHONET descriptionsDmitry Vyukov2020-01-031-0/+113
|
* sys/linux: add minimal AFS descriptionsDmitry Vyukov2020-01-031-0/+6
|
* sys/linux: add 80211 descriptionsDmitry Vyukov2020-01-031-0/+216
|
* sys/linux: add netlabel descriptionsDmitry Vyukov2020-01-031-0/+168
|
* sys/linux: add IPPROTO_L2TP descriptionsDmitry Vyukov2019-12-311-30/+174
|
* sys/linux: add virt_wifi and xfrm devicesDmitry Vyukov2019-12-301-0/+24
| | | | + some netlink descriptions
* sys/linux: add {MSG,SEM,SHM}_STAT_ANYDmitry Vyukov2019-12-301-0/+18
|
* sys/linux: another batch of warning fixesDmitry Vyukov2019-12-221-6/+24
| | | | | | The only remaining part now is dev_video4linux.txt Update #590
* prog: don't fail decoding on non-default out argsDmitry Vyukov2019-12-211-0/+1
| | | | | | | We get them in cross-compilation test where an out const arg has different values in different archs. No reason to fail deserialization in that case, replace with default arg instead.
* sys/linux: support new split sound ioctlsDmitry Vyukov2019-12-181-24/+48
| | | | | | Some sounds ioctls are now explicitly doubled for 32/64 bits. Support that. Fix mips SOL_SOCKET issues by rearranging includes. Improve few other fields.
* Autogenerated files for linux/mips64leJouni Hogander2019-12-171-0/+2891
| | | | | | | | | This patch adds all autogenerated files for linux/mips64le. Files are generated by following commands: make extract bin/syz-extract -build -os=linux -arch=mips64le -sourcedir=linux make generate
* sys/linux: refine few framebuffer/kbd ioctlsDmitry Vyukov2019-12-071-30/+55
|
* sys/netbsd: add the newer vfork syscallR3x2019-12-051-0/+1
|
* sys/netbsd: Added posix_spawn and fork syscallsR3x2019-12-051-0/+3
|
* sys/linux: more tuning of tty devicesDmitry Vyukov2019-12-031-5/+20
| | | | | | | | | Enable /dev/tty{1-6}. These seem to be special. Few first connected to framebuffers. But the rest seem to be different from e.g. tty20 anyway. Also /dev/tty is different from the rest. /dev/ttyS3 and /dev/ttyprintk are different. Properly pair BSD pty terminals.
* sys/linux: add /dev/fb1Dmitry Vyukov2019-12-031-0/+5
| | | | qemu -vga cirrus results in /dev/fb0 and /dev/fb1.