aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls.h
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: generate descriptions on-the-flyDmitry Vyukov2020-04-301-26062/+0
| | | | | | | | | | | | | | | | | | Checking in the generated descriptions files makes few things simpler, but causes pain for pull requests: (1) PRs that touch descriptions _always_ conflict, (2) PRs are large and harder to review, (3) people sometimes forget to add auto-generated files. The proposed way does not require us to hardcode lots of dependencies in the Makefile (which is nice) and seem to work. Let's see how it works. The main contributor-visible consequence is that the auto-generated files do not need to be checked-in now. Credit for figuring the Makefile magic goes to @melver. Fixes #1291
* sys: add more specific ipv6 optionsAndy Nguyen2020-04-291-0/+32
| | | | Additionally fix a type for ipv6_hopopts_ext_header
* sys/netbsd: add lchmod(2) (#1687)Ayushi Sharma2020-04-211-0/+1
|
* sys/syz-sysgen: better formatting for syscall descriptionsDmitry Vyukov2020-04-191-4725/+742
| | | | | We don't really need clang-format for auto-generated code. We can do better ourselves!
* prog: add ignore_return and breaks_returns call attribtuesDmitry Vyukov2020-04-191-486/+3374
| | | | | We had these hard-coded for fuchsia and linux accordingly. Replace with call attributes.
* sys/linux: add timeout call attributesDmitry Vyukov2020-04-191-258/+1332
| | | | | | | Move additional call/prog timeouts to descriptions. Due to this logic duplication executor used 50ms for syz_mount_image, while pkg/csource used 100ms.
* prog: introduce call attributesDmitry Vyukov2020-04-191-4560/+4560
| | | | | | Add common infrastructure for syscall attributes. Add few attributes we want, but they are not implemented for now (don't affect behavior, this will follow).
* sys/netbsd: add minherit(2)ais2397@gmail.com2020-04-161-0/+1
|
* sys/linux: add link_create and link_update commandsPaul Chaignon2020-04-121-0/+12
| | | | Signed-off-by: Paul Chaignon <paul@cilium.io>
* sys/netbsd: adding chflags(2) syscalls (#1661)Ayushi Sharma2020-04-041-0/+3
|
* sys/netbsd: adding lwp syscalls (#1654)Ayushi Sharma2020-03-311-0/+1
|
* sys/freebsd: add Capsicum system callsMark Johnston2020-03-271-0/+16
|
* sys/freebsd: add __realpathat system callMark Johnston2020-03-271-0/+2
|
* sys/freebsd: add bindat(2)Mark Johnston2020-03-271-0/+4
|
* sys/freebsd: add POSIX shared memory system callsMark Johnston2020-03-271-0/+8
|
* sys/freebsd: add connectat(2)Mark Johnston2020-03-271-0/+4
|
* sys/freebsd: add posix_fadvise(2) and posix_fallocate(2)Mark Johnston2020-03-271-0/+4
|
* sys/freebsd: add chflags(2) and related syscallsMark Johnston2020-03-271-0/+8
|
* sys/freebsd: add lchmod(2)Mark Johnston2020-03-271-0/+2
|
* sys/freebsd: add copy_file_range(2)Mark Johnston2020-03-271-0/+2
|
* sys/freebsd: add minherit(2)Mark Johnston2020-03-271-0/+2
|
* 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
|