aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls.h
Commit message (Collapse)AuthorAgeFilesLines
* sys/freebsd: Add support for fuzzing FreeBSD/i386Andrew Turner2019-05-291-0/+503
| | | | Add support to fuzz 32 bit FreeBSD system calls.
* sys/fuchsia: Updating Fuchsia definitionsPascal Perez2019-05-211-0/+14
| | | | | | Simply make extract TARGETOS=fuchsia SOURCEDIR=<FUCHSIA_DIR>/fuchsia
* pkg/compiler: add offsetof typeDmitry Vyukov2019-05-161-0/+1
| | | | | | Similar to C offsetof gives offset of a field from the beginning of the parent struct. We have several TODOs in descriptions asking for this.
* pkg/compiler: work around 0-array-size errors due to missing constsDmitry Vyukov2019-05-151-0/+1
| | | | | | | A const can be used as array size. Then if the const is not present on all arches, compiler will produce an error about 0-sized-array. There is no easy way to work around this for a user. Use value of 1 for missing consts. It's just a bit safer.
* sys/linux: improve binder descriptionsDmitry Vyukov2019-05-141-0/+10
| | | | Add few new ioctl's. Add some typedefs for clarity.
* pkg/compiler: generate complex len targetsDmitry Vyukov2019-05-141-0/+1
| | | | Change the generated format for len type to support multiple path elements.
* sys/openbsd: add missing padding argumentsAnton Lindqvist2019-05-121-0/+2
| | | | | | | | | Due to missing padding arguments, stack garbage could end up being used as actual arguments. More reading for the curious[1]. While here, add missing descriptions for pread and pwrite. [1] https://flak.tedunangst.com/post/syzkaller-found-a-bug
* sys/linux: add few new bpf constsDmitry Vyukov2019-05-101-0/+5
|
* sys/linux: add definitions of fsopen, fspick, fsconfig, fsmount, move_mount ↵Dmitry Vyukov2019-05-101-0/+24
| | | | syscalls
* sys/linux: add new consts/flags/fields here and thereDmitry Vyukov2019-05-101-0/+20
| | | | Add a bunch of new small interfaces in 5.2: new consts, flags, fields, etc.
* sys/linux: add description of open_tree syscallDmitry Vyukov2019-05-101-0/+2
|
* sys/linux: update descriptions of sendmsg/sendmmsgKaipeng Zeng2019-05-101-0/+24
| | | | Fix the descriptions of cmsghdr. Add sendmsg$sock and sendmmsg$sock for __sock_cmsg_send.
* sys/openbsd: add vmm descriptions (#1152)Anton Lindqvist2019-05-011-0/+9
| | | | | | | Most probably limited to input validation for now. In the future, it could be extended to provide a bootable kernel during vm create (/bsd) and turn vmid into a proper resource. The OpenBSD VMs on GCE does support vmm(4).
* sys/freebsd: Add pf ioctl()sKristof Provost2019-04-231-0/+59
| | | | | Tweak the building of the FreeBSD vm image to ensure pf is loaded at startup, so that we can test it.
* Update syscalls (#1116)Marco Vanotti2019-04-221-2/+26
| | | | | | | | | * sys/fuchsia: update all syscalls. This commit modifies all the existing syscalls definitions to match more closely the documentation in the Fuchsia repo. * run make extract && make generate
* sys/linux: add pidfd_send_signalDmitry Vyukov2019-04-121-0/+8
|
* sys/linux: more tty descriptionsDmitry Vyukov2019-04-121-0/+109
|
* sys/linux: add simple io_uring descriptionsDmitry Vyukov2019-04-121-0/+33
| | | | | We don't actually communicate with the uring yet, but this already finds a bunch of bugs.
* all: run make generateAndrey Konovalov2019-04-111-0/+20
|
* sys/openbsd: add pci descriptionsAnton Lindqvist2019-04-051-0/+4
|
* sys/fuchsia: Remove object_*_cookie syscalls. (#1099)Marco Vanotti2019-04-031-4/+0
| | | | | | | | Those syscalls were removed from Zircon in a recent CL[0]. This commit runs make extract && make generate to update syscalls and fidl interfaces. [0]: https://fuchsia-review.googlesource.com/c/fuchsia/+/249349
* sys/openbsd: add common ioctl() commandsAnton Lindqvist2019-04-011-0/+5
|
* sys/openbsd: add bpf descriptionsAnton Lindqvist2019-03-291-0/+25
|
* Sys/linux: Add rdma.txtNoa Osherovich2019-03-271-0/+260
| | | | | | | | | | Initial description of the kernel's RDMA subsystem. This patch covers most of the older write() interface as well as the some ioctl functions. Also disable rdma_cm's ib_qp_type flags as it conflicts with rdma's definition, and rdma builds first. Signed-off-by: Noa Osherovich <noaos@mellanox.com>
* sys/openbsd: add chflags descriptionsAnton Lindqvist2019-03-181-0/+3
|
* sys/linux: Add rfkill description for LinuxAlexander Popov2019-03-181-0/+15
|
* sys/linux: regenerate and fix const filesDmitry Vyukov2019-03-141-0/+76
| | | | | | | | 1. Move fsverity descriptions to a separate file which is not regenerated automatically. It was dropped from linux-next. 2. Fix tlk_device.txt name in syz-extract. 3. Update some socket consts e.g. s/SO_TIMESTAMPING/SO_TIMESTAMPING_OLD/. 4. Regenerate const files on current upstream head.
* sys/freebsd: avoid mangling syscall namesMark Johnston2019-03-071-20/+21
| | | | | | | | | | | | | | | | | syz-extract was removing certain prefixes from syscall names, but this caused some problems: - freebsd* prefixes are for compatibility syscalls when the syscall ABI has changed. For instance, we have both fstat() and freebsd11_fstat(), and it is desirable to fuzz them both. - Stripping prefixes may leave us with undefined SYS_ constants. This resulted in some test failures in pkg/csource, which emitted code referencing SYS_semctl when it should have been SYS___semctl. Fix the problem by updating syscall descriptions to match the names given by the FreeBSD kernel. Add some new descriptions for compatibility syscalls, fix the mknodat() description (dev_t is now 64 bits wide on FreeBSD), and remove mknod$loop, which appears to be Linux-specific.
* sys/linux: add netlink seg6 descriptionshoujingyi2019-02-211-0/+25
| | | | | | | | | | * Add files via upload * Add files via upload * Add files via upload * Add files via upload
* hafnium: add basic supportDmitry Vyukov2019-02-121-0/+20
| | | | | | | Add [very] basic support for testing Hafnium: https://hafnium.googlesource.com/hafnium Update #996
* sys/linux: regenerate constsDmitry Vyukov2019-02-121-76/+100
| | | | Regenereate consts on latest linux-next.
* sys/linux: prohibit EXT4_IOC_RESIZE_FSDmitry Vyukov2019-02-081-5/+0
| | | | | | | | | | | | | | | When we run with sandbox=none, test program can do EXT4_IOC_RESIZE_FS which shrinks rootfs basically to 0. This breaks the machine as all tests then fail with: failed to create temp dir: mkdir syzkaller-testdir077269498: no space left on device This is the most common source of "lost connection" crashes overall and they are not actually kernel bugs. Prohibit EXT4_IOC_RESIZE_FS for now. Alternatively we can mount tmpfs with sandbox=none. Update #971
* sys/linux: extend key descriptionsDmitry Vyukov2019-02-071-0/+30
|
* sys/linux: move {i,fa}notify into own filesDmitry Vyukov2019-02-071-2/+76
|
* sys/fuchsia: fix fidlgen issuesMarco Vanotti2019-02-061-92/+80
| | | | | | | | | | | | | | | | | | | | | | | | | * sys/fuchsia: fix fidlgen issues. This change modifies fidlgen removing fuchsia.mediacodec and renaming zircon-ethernet to fuchsia-hardware-ethernet. fuchsia.mediacodec has most of its functionality merged into fuchsia.media and it's not included in the default amd64 builds. zircon-ethernet has been renamed to fuchsia-hardware-ethernet recently: https://fuchsia-review.googlesource.com/c/zircon/+/237178 * docs/fuchsia: Add troubleshooting sections This commit adds a troubleshooting section in the fuchsia syzkaller docs that mentions how to solve fidlgen issues when fidl interfaces are removed or renamed. * sys/fuchsia: remove stale autogenerated files. * sys/fucsia run make extract && make generate.
* sys/openbsd: add missing wscons descriptions (#976)Anton Lindqvist2019-02-011-0/+6
|
* sys/test/test: add tests for test exiting in the middle of executionDmitry Vyukov2019-01-311-0/+4
|
* sys/openbsd: add wscons descriptions, limited to wsdisplay for nowAnton Lindqvist2019-01-261-0/+39
|
* sys/openbsd: add openat$ttyAnton Lindqvist2019-01-261-0/+1
|
* sys/openbsd: add openat${null,zero}Anton Lindqvist2019-01-261-0/+2
|
* sys/linux: fix up mptcp descriptionsDmitry Vyukov2019-01-251-76/+0
| | | | | | | 1. Generate .const files for all arches. 2. Don't extract mptcp consts on android. 3. Remove mptcp includes from vnet.txt. 4. Enable CONFIG_MPTCP in syz-extract (mptcp is not like all other kernel headers).
* sys/linux: add trusty hwrng serviceDmitry Vyukov2019-01-241-0/+20
| | | | Update #933
* sys/linux: add trusty hwkey serviceDmitry Vyukov2019-01-241-0/+15
| | | | Update #933
* sys/linux: describe trusty storage service interfaceDmitry Vyukov2019-01-241-0/+15
| | | | Update #933
* sys/linux: regenerate const filesDmitry Vyukov2019-01-241-0/+76
| | | | (on linux-next)
* sys/openbsd: remove mincore(2) descriptionAnton Lindqvist2019-01-221-1/+0
| | | | | | It was recently removed from OpenBSD[1]. [1] https://marc.info/?l=openbsd-cvs&m=154723400730318&w=2
* sys/freebsd: add SCTP syscallsmsvoelker2019-01-161-0/+176
| | | | | | | | * sys/freebsd: Add SCTP syscalls * sys/freebsd: SCTP syscalls updated * sys/freebsd: SCTP syscalls fixed
* sys/linux: add trusty supportDmitry Vyukov2019-01-141-0/+75
| | | | | | Add support for trusty tipc devices and several trusty app ports. Update #933
* sys/linux: Add syscalls to read from sockets for crypto operationsZubin Mithra2019-01-141-0/+5
| | | | | | sockaddr_alg with salg_type as "skcipher", "aead", "hash" and "rng" support for reading from these sockets. Add read descriptions to socket_alg.txt.
* sys/linux: add /dev/ppp descriptionsDmitry Vyukov2019-01-041-0/+100
|