aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls_linux.h
Commit message (Collapse)AuthorAgeFilesLines
* executor: move arm syscall fixup to syz-extractDmitry Vyukov2017-11-221-1400/+1394
|
* sys/linux: remove get_kernel_syms, add quotactl syscallDmitry Vyukov2017-11-201-10/+12
| | | | | | get_kernel_syms does not seem to be present upstream. Describe an old quotactl syscall. Also fix umount/umount2 names in kallsyms.
* sys/linux: add definition for LOOP_SET_BLOCK_SIZEEric Biggers2017-11-071-10/+15
| | | | The v4.14 kernel will support a new loop ioctl, LOOP_SET_BLOCK_SIZE.
* sys/linux: fix wrong ioctl numbers in loop device definitionsEric Biggers2017-11-071-5/+5
| | | | | | | Fix a couple apparent copy-and-paste errors: - ioctl$LOOP_CHANGE_FD should use LOOP_CHANGE_FD - ioctl$LOOP_CTL_REMOVE should use LOOP_CTL_REMOVE
* sys/linux: add definition for keyctl_restrict_keyring()Eric Biggers2017-11-031-10/+15
| | | | | Add a definition for keyctl_restrict_keyring(), which was added in the v4.12 kernel.
* sys/linux: add definition for keyctl_dh_compute()Eric Biggers2017-11-031-10/+15
| | | | | | Add a definition for keyctl_dh_compute(), which was added in the v4.7 kernel, then in the v4.12 kernel extended to take in an optional 'keyctl_kdf_params' argument. (Requires CONFIG_KEY_DH_OPERATIONS=y.)
* sys/linux: use resource subtypes for "user" and "keyring" keysEric Biggers2017-11-031-10/+20
| | | | | | | | | | | Many functions in the keys API take in an ID parameter that is expected to refer to a keyring, not to any key. Therefore, define a resource subtype 'keyring' which can be created by add_key("keyring", ...) or by using one of the special keyring IDs. Also define a resource subtype 'user_key', since we'll be adding a definition for KEYCTL_DH_COMPUTE which takes in a struct containing "user" key IDs.
* sys/linux: define all the key typesEric Biggers2017-11-031-5/+5
| | | | | | | Add to key.txt all key types that currently might be present in the kernel. It was missing a few important ones such as "asymmetric", which has a significant attack surface since the payloads are run through an ASN.1 decoder.
* sys/linux: add MSG_ZEROCOPYWillem de Bruijn2017-10-171-5/+5
|
* sys/linux: fix fcntl signatureDmitry Vyukov2017-10-161-5/+5
|
* executor: support fragmentation in syz_emit_ethernetDmitry Vyukov2017-10-021-5/+5
| | | | | | A recent linux commit "tun: enable napi_gro_frags() for TUN/TAP driver" added support for fragmentation when emitting packets via tun. Support this feature in syz_emit_ethernet.
* all: more assorted fuchsia supportDmitry Vyukov2017-09-221-525/+525
|
* all: initial support for fuchsiaDmitry Vyukov2017-09-201-0/+7530
Nothing works, but builds. Update #191