aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: improve recvmsg descriptionsMichael Tuexen2018-12-088-35/+137
|
* sys: remove socketpair for AF_INET and AF_INET6Michael Tüxen2018-12-0471-1061/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OpebBSD: remove socketpair() for AF_INET and AF_INET6. socketpair() is only supported on AF_UNIX. * NetBSD: remove socketpair() for AF_INET and AF_INET6. socketpair() is only supported for AF_UNIX. * FreeBSD: remove socketpair() for AF_INET and AF_INET6. socketpair() only supports AF_UNIX. * Linux: remove socketpair for AF_INET and AF_INET6. socketpair only supports AF_UNIX. * Autogenerated files. These are manually generated for all platforms you are not running on. FreeBSD in this case. * executor: rebase. * sys/freebsd: rebase. * sys/linux: use AF_UNIX based socketpair for nbd. This was suggested by Dmitry. Fixes #845
* removing trace2syz constants and moving rand_addr as the first ipv4_addr optionShankara Pailoor2018-11-3012-450/+22
|
* reordering unions for trace2syzShankara Pailoor2018-11-257-17/+17
|
* removing trace2syz constantsShankara Pailoor2018-11-2417-1132/+5
|
* sys/linux: update test for changed arch_prctl descriptionsDmitry Vyukov2018-11-191-4/+4
|
* sys/linux: refine tcp_zerocopy_receiveDmitry Vyukov2018-11-176-14/+13
| | | | Use the new vma64 now that we have it.
* sys/linux: refine description for PR_SET_MMDmitry Vyukov2018-11-1711-33/+326
|
* sys/linux: modernize arch_prctl descriptionsDmitry Vyukov2018-11-178-10/+105
|
* sys/linux: modernize prctl descriptionsDmitry Vyukov2018-11-1711-138/+1362
| | | | Use one syscall per command, refine arguments, etc.
* sys/linux: move prctl to a separate fileDmitry Vyukov2018-11-1712-366/+378
|
* sys/linux: refine tcp repair descriptionsDmitry Vyukov2018-11-1711-65/+464
|
* 1) making bpf_insn varlen, 2) changing bpf_generic to match the struct ↵Shankara Pailoor2018-11-126-17/+23
| | | | definition in linux to make trace2syz generation simpler
* sys/linux: add vimc/vivid/vim2m/vicodec/swradio/radio/vbi/cec devicesDmitry Vyukov2018-11-106-5/+325
| | | | | | Create planar and non-planar vivid devices. Create each for each test process. Add swradio/radio/vbi/cec media devices.
* sys/linux: add /dev/dlm* devicesDmitry Vyukov2018-11-106-5/+98
|
* sys/linux: regenerate on latest kernelDmitry Vyukov2018-11-1011-21/+20
|
* sys/linux: limit init_module size argumentDmitry Vyukov2018-10-301-0/+7
| | | | | | | Kernel tries to vmalloc whatever we pass as size and it's not accounted against memcg. As the result it can lead to massive OOM kills of everything running on the machine. Strictly saying, the same applies to finit_module with a sparse file too, but there is no simple way to handle that.
* sys/linux: adding constants for trace2syz to socketsshankarapailoor2018-10-3023-11/+148
|
* sys/linux: add perf, kvm, btrfs consts for trace2syzshankarapailoor2018-10-3029-5/+572
|
* sys/linux: add additional constants for trace2syz to bpfShankara Pailoor2018-10-3011-41/+541
| | | | Fixes #783
* sys/linux: fix up descriptionsDmitry Vyukov2018-10-3012-59/+60
| | | | | | | 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-3016-112/+1771
|
* sys/linux: fix SIOCGIFCONF constDmitry Vyukov2018-10-2911-11/+21
|
* sys/linux: fix IP6T_SO_GET_INFO constDmitry Vyukov2018-10-2911-11/+16
| | | | Fix copy-paste error.
* sys/linux: open /dev/media* filesDmitry Vyukov2018-10-287-37/+37
| | | | Also remove the second syscall for opening of /dev/fd*.
* sys/linux: add "ofb" crypto-somethingDmitry Vyukov2018-10-281-0/+1
|
* sys/linux: slightly refine perf descriptionsDmitry Vyukov2018-10-2811-22/+75
| | | | | CPU argument can be -1. It makes sense to mmap perf fd.
* sys/syz-extract: support missing arch headersDmitry Vyukov2018-10-2817-49/+795
| | | | | | | | 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-289-5/+1368
| | | | | | | | | | 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-20/+30
| | | | | | | | | | | | | | 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-159-23/+196
| | | | | | | 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
* sys/linux: add encrypted key instantiation payloadsDmitry Vyukov2018-09-267-67/+274
|
* sys/linux: add IMA mount optionsDmitry Vyukov2018-09-266-5/+759
|
* sys/linux: add ima/evm/capability xattrsDmitry Vyukov2018-09-2511-11/+813
|
* sys/linux: add security mount optionsDmitry Vyukov2018-09-256-7/+424
|
* sys/linux: add erofs descriptionsDmitry Vyukov2018-09-256-11/+166
|
* sys/linux: add lsm attrs and xattrsDmitry Vyukov2018-09-2324-47/+939
| | | | Add descriptions for /proc/self/attr/* and known lsm file xattrs.
* sys/linux: fix RTA_EXPIRES in rtm_ipv6_policyTobias Klauser2018-09-2011-11/+46
|
* sys/linux: add MFD_HUGETLBTobias Klauser2018-09-1911-11/+21
|
* sys/linux: add MCL_ONFAULTTobias Klauser2018-09-1911-11/+21
|
* sys/linux: prohibit EXT4_IOC_SHUTDOWNDmitry Vyukov2018-09-1313-69/+25
| | | | EXT4_IOC_SHUTDOWN EXT4_IOC_SHUTDOWN on root fs effectively brings the machine down in weird ways.
* sys/linux: add btf descriptionsDmitry Vyukov2018-09-1112-18/+520
| | | | | Add some new bpf descriptions, most notably btf. Not perfect, but something.
* sys/linux: extend xattr descriptionsDmitry Vyukov2018-09-0211-12/+1144
| | | | Update #533
* sys/linux: add syz_execute_funcDmitry Vyukov2018-08-306-53/+69
| | | | | | The function executes random code. Update #310
* sys/linux: add nbd descriptionsDmitry Vyukov2018-08-3011-17/+1745
| | | | Update #533
* sys/linux: generate better block device names for mountDmitry Vyukov2018-08-306-22/+139
|
* prog: add concept of "special pointers"Dmitry Vyukov2018-08-302-19/+31
| | | | | | | | | | | | | | | | | Currently we only generate either valid user-space pointers or NULL. Extend NULL to a set of special pointers that we will use in programs. All targets now contain 3 special values: - NULL - 0xfffffffffffffff (invalid kernel pointer) - 0x999999999999999 (non-canonical address) Each target can add additional special pointers on top of this. Also generate NULL/special pointers for non-opt ptr's. This restriction was always too restrictive. We may want to generate them with very low probability, but we do want to generate them. Also change pointers to NULL/special during mutation (but still not in the opposite direction).
* sys/linux: add ext4 ioctls and overlayfsDmitry Vyukov2018-08-2925-167/+1967
| | | | Update #533
* sys/linux: fix kvm_ioeventfd layoutDmitry Vyukov2018-08-266-19/+22
|
* sys/linux: add few assorted new flags/ioctlsDmitry Vyukov2018-08-2617-11/+187
|