aboutsummaryrefslogtreecommitdiffstats
path: root/executor/defs.h
Commit message (Collapse)AuthorAgeFilesLines
...
* sys: initial trusty supportDmitry Vyukov2018-11-071-0/+15
| | | | | | | | | Trusty is a set of software components supporting a Trusted Execution Environment (TEE) on mobile devices. https://source.android.com/security/trusty Add syscall descriptions and some boilerplate.
* sys/linux: adding constants for trace2syz to socketsshankarapailoor2018-10-301-5/+5
|
* sys/linux: add perf, kvm, btrfs consts for trace2syzshankarapailoor2018-10-301-5/+5
|
* sys/linux: add additional constants for trace2syz to bpfShankara Pailoor2018-10-301-5/+5
| | | | Fixes #783
* sys/linux: fix up descriptionsDmitry Vyukov2018-10-301-5/+5
| | | | | | | 1. Extract consts on the latest linux tree. 2. Don't manually define O_TMPFILE/O_ACCMODE/_LINUX_CAPABILITY_VERSION_N, they are defined in kernel headers. 3. Don't use CLOCK_SGI_CYCLE as clock id, it's not implemented.
* sys/linux: add additional constants for trace2syzshankarapailoor2018-10-301-5/+5
|
* sys/openbsd: added minherit, extended/simplified mmapGreg Steuck2018-10-291-1/+1
| | | | | | | | | | | | * sys/openbsd: added minherit, extended/simplified mmap. Added a script from anton_at_openbsd.org for regenerating syscalls. Generated by ksh ./sys/openbsd/extract-openbsd.sh * Undo whitespace change not passing on CI * No need for magic script.
* sys/linux: fix SIOCGIFCONF constDmitry Vyukov2018-10-291-5/+5
|
* sys/linux: fix IP6T_SO_GET_INFO constDmitry Vyukov2018-10-291-5/+5
| | | | Fix copy-paste error.
* sys/linux: open /dev/media* filesDmitry Vyukov2018-10-281-5/+5
| | | | Also remove the second syscall for opening of /dev/fd*.
* sys/linux: slightly refine perf descriptionsDmitry Vyukov2018-10-281-5/+5
| | | | | CPU argument can be -1. It makes sense to mmap perf fd.
* sys/syz-extract: support missing arch headersDmitry Vyukov2018-10-281-5/+5
| | | | | | | | The latest Linux kernel misses some arch-specific headers on some archs: asm/a.out.h asm/prctl.h asm/mce.h Support that.
* sys/linux: floppy interface descriptionDenis Efremov2018-10-281-5/+5
| | | | | | | | | | For floppy fuzzing you need to enable: 1) CONFIG_BLK_DEV_FD in your kernel configuration 2) "cmdline": " -fda FLOPPY.img " in syzkaller configuration Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: Alexander Popov <alex.popov@linux.com>
* sys: check that target consts are definedDmitry Vyukov2018-10-191-2/+2
| | | | | | | | | | | | | | Currently when we get target consts with target.ConstMap["name"] during target initialization, we just get 0 for missing consts. This is error-prone as we can mis-type a const, or a const may be undefined only on some archs (as we have common unix code shared between several OSes). Check that all the consts are actually defined. The check detects several violations, to fix them: 1. move mremap to linux as it's only defined on linux 2. move S_IFMT to openbsd, as it's only defined and used on openbsd 3. define missing MAP_ANONYMOUS for freebsd and netbsd 4. fix extract for netbsd
* sys/linux: prohibit FAN_OPEN_PERM and FAN_ACCESS_PERMDmitry Vyukov2018-10-151-5/+5
| | | | | | | FAN_OPEN_PERM and FAN_ACCESS_PERM require the program to reply to open requests. If that does not happen, the program will hang in an unkillable state forever. See the following bug for details: https://groups.google.com/d/msg/syzkaller-bugs/pD-vbqJu6U0/kGH30p3lBgAJ
* Update fidlgen to keep current with upstream.Julia Hansbrough2018-10-101-2/+2
| | | | | The Syzkaller IR upstream has been updated, so we can properly update consts/fidl descriptions now.
* sys/linux: add encrypted key instantiation payloadsDmitry Vyukov2018-09-261-5/+5
|
* sys/linux: add IMA mount optionsDmitry Vyukov2018-09-261-5/+5
|
* sys/linux: add ima/evm/capability xattrsDmitry Vyukov2018-09-251-5/+5
|
* sys/linux: add security mount optionsDmitry Vyukov2018-09-251-5/+5
|
* sys/linux: add erofs descriptionsDmitry Vyukov2018-09-251-5/+5
|
* sys/linux: add lsm attrs and xattrsDmitry Vyukov2018-09-231-5/+5
| | | | Add descriptions for /proc/self/attr/* and known lsm file xattrs.
* sys/linux: fix RTA_EXPIRES in rtm_ipv6_policyTobias Klauser2018-09-201-5/+5
|
* sys/linux: add MFD_HUGETLBTobias Klauser2018-09-191-5/+5
|
* sys/linux: add MCL_ONFAULTTobias Klauser2018-09-191-5/+5
|
* sys/fuchsia: add description for fuchsia.net, .net-stack, .ldsvc servicesDokyung Song2018-09-141-2/+2
|
* sys/linux: prohibit EXT4_IOC_SHUTDOWNDmitry Vyukov2018-09-131-5/+5
| | | | EXT4_IOC_SHUTDOWN EXT4_IOC_SHUTDOWN on root fs effectively brings the machine down in weird ways.
* sys/fuchsia: generate descriptions for garnet servicesDokyung Song2018-09-121-2/+2
|
* sys/linux: add btf descriptionsDmitry Vyukov2018-09-111-5/+5
| | | | | Add some new bpf descriptions, most notably btf. Not perfect, but something.
* sys/fuchsia: regerenate filesDmitry Vyukov2018-09-111-2/+2
| | | | Regerenate files after the previous commit.
* sys/fuchsia: prune unused structs in syscall description generated by fidlgenDokyung Song2018-09-111-2/+2
| | | | | | | | After generating syscall description for fidl files using fidlgen, prune all unused structs using the exact same mechanism used by the compiler's check for unused structs. This allows the FIDL compiler to support modular compilation; it does not need to have global knowledge of whether each struct is used or not.
* sys/linux: extend xattr descriptionsDmitry Vyukov2018-09-021-5/+5
| | | | Update #533
* sys/linux: add syz_execute_funcDmitry Vyukov2018-08-301-16/+16
| | | | | | The function executes random code. Update #310
* sys/linux: add nbd descriptionsDmitry Vyukov2018-08-301-5/+5
| | | | Update #533
* sys/linux: generate better block device names for mountDmitry Vyukov2018-08-301-5/+5
|
* sys/fuchsia: describe method response types & handles; add support for unionDokyung Song2018-08-291-2/+2
| | | | | | | | * create a response handle structure for each FIDL method * generate zx_channel_write for requests having no response * generate zx_channel_read for events (no request but just response) * translate FIDL union types to syzkaller union types (see fuchsia_io_ObjectInfoHandles)
* sys/linux: add ext4 ioctls and overlayfsDmitry Vyukov2018-08-291-5/+5
| | | | Update #533
* Add mandatory OpenBSD bits (#689)Anton Lindqvist2018-08-281-0/+15
| | | | | | | | | | | | | | | | | | all: add openbsd support squash of the following commits: * openbsd: add mandatory bits * report: add OpenBSD support * executor: skip building kvm on OpenBSD * executor: add OpenBSD support Linking against libutil is necessary due to usage of openpty(3). * executor: fix typo in fail() message * fixup! report: add OpenBSD support * fixup! openbsd: add mandatory bits * fixup! openbsd: add mandatory bits * fixup! openbsd: add mandatory bits * fixup! report: add OpenBSD support * gometalinter: skip sys/openbsd
* sys/fuchsia: description for fuchsia.io FIDL interfacesDokyung Song2018-08-271-2/+2
|
* sys/linux: fix kvm_ioeventfd layoutDmitry Vyukov2018-08-261-5/+5
|
* sys/linux: add few assorted new flags/ioctlsDmitry Vyukov2018-08-261-5/+5
|
* sys/linux: treat cuse as fuseDmitry Vyukov2018-08-261-5/+5
| | | | | | It's mostly fuse. Also regenerate consts on latest kernel.
* sys/linux: add IOCB_CMD_POLLDmitry Vyukov2018-08-261-5/+5
|
* sys/linux: add userio descriptionsDmitry Vyukov2018-08-261-5/+5
| | | | Update #533
* sys/fuchsia: Remove read_status from zx_channel_call args, and reflect ↵Dokyung Song2018-08-241-2/+2
| | | | zx_time_t type change (unsigned -> signed)
* prog: don't add fallback signal after seccompDmitry Vyukov2018-08-191-1/+1
| | | | | seccomp filter can produce arbitrary errno values for subsequent syscalls. Don't trust anything afterwards.
* sys/fuchsia: semi-automatically generated FIDL launcher descriptionDokyung Song2018-08-171-2/+2
|
* sys/linux: add uinput supportDmitry Vyukov2018-08-151-5/+5
|
* sys/linux: add uhid supportDmitry Vyukov2018-08-151-5/+5
|
* sys/linux: fix invalid cdrom descriptionDmitry Vyukov2018-08-101-5/+5
|