aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: add netlink seg6 descriptionshoujingyi2019-02-2111-5/+1027
| | | | | | | | | | * Add files via upload * Add files via upload * Add files via upload * Add files via upload
* sys/linux/test: use pipe2 instead of pipeDmitry Vyukov2019-02-132-2/+2
| | | | pipe does not exist on arm64.
* sys/linux/test: disable tipc testDmitry Vyukov2019-02-131-1/+3
| | | | It still crashes kernel, disable for now.
* hafnium: add basic supportDmitry Vyukov2019-02-1211-5/+204
| | | | | | | Add [very] basic support for testing Hafnium: https://hafnium.googlesource.com/hafnium Update #996
* sys/linux: regenerate constsDmitry Vyukov2019-02-1212-648/+3436
| | | | Regenereate consts on latest linux-next.
* sys/linux: add NDISC packet formats to vnet.txtDan Robertson2019-02-1111-5/+490
| | | | Add the basic NDISC (RFC 4861) packet formats to sys/linux/vnet.txt.
* sys/linux: prohibit opening /proc/self/exeDmitry Vyukov2019-02-084-24/+82
| | | | | Fuzzer manages to open it and do bad things with it. Prevent it from doing so.
* sys/linux: prohibit EXT4_IOC_RESIZE_FSDmitry Vyukov2019-02-087-33/+16
| | | | | | | | | | | | | | | 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-0711-5/+454
|
* sys/linux: move {i,fa}notify into own filesDmitry Vyukov2019-02-0727-339/+970
|
* sys/linux: rename dev descriptions filesAndrey Konovalov2019-02-01176-0/+0
| | | | | Prefix file names of descriptions of /dev/* files with dev_. And give some of them more appropriate names.
* executor: remove ability to detect kernel bugsDmitry Vyukov2019-01-311-3/+3
| | | | | | | | This ability was never used but we maintain a bunch of code for it. syzkaller also recently learned to spoof this error code with some ptrace magic (probably intercepted control flow again and exploited executor binary). Drop all of it.
* sys/test/test: add tests for test exiting in the middle of executionDmitry Vyukov2019-01-312-0/+6
|
* sys/linux/test: fix constraints in ipc testDmitry Vyukov2019-01-311-0/+2
|
* sys/linux: fix up mptcp descriptionsDmitry Vyukov2019-01-2518-638/+163
| | | | | | | 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 Multipath TCP description8litz2019-01-258-5/+536
| | | https://tools.ietf.org/html/rfc6824
* sys/linux: add trusty hwrng serviceDmitry Vyukov2019-01-246-5/+124
| | | | Update #933
* sys/linux: add trusty hwkey serviceDmitry Vyukov2019-01-2411-5/+235
| | | | Update #933
* sys/linux: describe trusty storage service interfaceDmitry Vyukov2019-01-2411-11/+1128
| | | | Update #933
* sys/linux: fix a TODODmitry Vyukov2019-01-2411-11/+22
| | | | | We can actually express such size with: define X25_SUBSCRIP_DEVICE_SIZE 200 - sizeof(long)
* sys/linux: regenerate const filesDmitry Vyukov2019-01-2410-25/+577
| | | | (on linux-next)
* sys/linux: update TODO commentsDmitry Vyukov2019-01-2419-46/+39
| | | | | | Change TODO comments that refer to missing description language features to NEED comments as that it's easier to grep for them. Remove some outdated comments. Fix 2 easy fixable TODOs.
* kcov: some fixes for extra coverageAndrey Konovalov2019-01-171-0/+2
| | | | | | Use PC tracing mode when detecting KCOV_REMOTE_ENABLE support in the kernel. Also fix kcov_remote_handle_usb argument.
* all: detect extra coverage supportAndrey Konovalov2019-01-1612-9/+24
| | | | Based on whether the kernel supports KCOV_REMOTE_ENABLE ioctl.
* sys/linux: add trusty supportDmitry Vyukov2019-01-1411-5/+3134
| | | | | | 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-147-5/+32
| | | | | | sockaddr_alg with salg_type as "skcipher", "aead", "hash" and "rng" support for reading from these sockets. Add read descriptions to socket_alg.txt.
* tools/syz-trace2syz/proggen/proggen_test.go: test ipv6 address conversionShankara Pailoor2019-01-106-21/+21
|
* sys/linux: add rand_addr option to ipv6_addr unionShankara Pailoor2019-01-106-5/+21
| | | | | | | rand_addr option is the first option for the ipv6_addr union and is just an array of 16 bytes. This option makes it easy for trace2syz to convert ipv6 address as strace decodes the ipv6 address as a hex string.
* sys/linux: chmod -x *.txtAndrey Konovalov2019-01-097-0/+0
| | | | For some reason some syscall description txt files are +x. Do chmod -x.
* sys/linux: prohibit SNAPSHOT_FREEZEDmitry Vyukov2019-01-0612-6/+37
| | | | SNAPSHOT_FREEZE freezes all processes and leaves the machine dead.
* sys/linux: add /dev/ppp descriptionsDmitry Vyukov2019-01-0424-17/+1198
|
* sys/linux/init_alg.go: update algorithmsEric Biggers2019-01-021-6/+64
| | | | | | | | | | | | | | | - Add arm64 implementations of various algorithms (these are usually named -arm64, -neon, or -ce) - Add missing x86 SHA-NI algorithms (sha*-ni) - Add adiantum (new in v4.20) - Add streebog256 (new in v4.20) - Add streebog512 (new in v4.20) - Add vmac64 (new in v4.19) - Add xchacha12 (new in v4.20) - Add xchacha20 (new in v4.20) - Remove speck128 (was removed soon after being added to kernel) - Remove speck64 (likewise) - Move sm4 from hash list to cipher list
* sys/linux/init_alg.go: sort the algorithm namesEric Biggers2019-01-021-241/+241
| | | | | Sort the lists of crypto algorithms lexicographically to make it easier to see which algorithms are included and decide where to add new ones.
* sys/linux: detail ifla_vf_policy/ifla_port_policy/ifla_xdp_policyDmitry Vyukov2018-12-3011-29/+1185
|
* sys/linux: add can routesDmitry Vyukov2018-12-3011-5/+878
|
* sys/linux: add AF_RXRPC descriptionsDmitry Vyukov2018-12-3012-5/+693
|
* sys/linux: add /dev/mISDNtimerDmitry Vyukov2018-12-3011-5/+124
|
* sys/linux: open more of /dev/ filesDmitry Vyukov2018-12-306-5/+130
| | | | | | | /dev/vfio/vfio /dev/btrfs-control /dev/ubi_ctrl /dev/cachefiles
* sys/linux: add AF_ISDN descriptionsDmitry Vyukov2018-12-2913-11/+2165
|
* sys/linux: describe /dev/vhci interfaceDmitry Vyukov2018-12-2912-21/+278
|
* sys/linux: misc assorted improvementsDmitry Vyukov2018-12-2924-105/+282
| | | | | | Add new bpf consts/commands. Refine bluetooth descriptions. Remove removed crypto consts.
* sys/linux: refine few types in NETLINK_ROUTEDmitry Vyukov2018-12-296-92/+91
|
* pkg/csource: use 0 for missing syscall argsDmitry Vyukov2018-12-275-830/+830
| | | | | | | | | | | | | | We don't specify trailing unused args for some syscalls (e.g. ioctl that does not use its arg). Executor always filled tailing unsed args with 0's but pkg/csource didn't. Some such syscalls actually check that the unsed arg is 0 and as the result failed with C repro. We could statically check and eliminate all such cases, but it turns out the warning fires in 1500+ cases: https://gist.githubusercontent.com/dvyukov/e59ba1d9a211ee32fa0ba94fab86a943/raw/a3ace5a63f7281f0298f51ea9842ead1e4713418/gistfile1.txt So instead fill such args with 0's in pkg/csource too.
* executor: create more net devices on linuxDmitry Vyukov2018-12-267-358/+358
|
* executor: restrict ipc resource usageDmitry Vyukov2018-12-261-0/+5
| | | | | For context see: https://groups.google.com/d/msg/syzkaller-bugs/ZaBzAJbn6i8/Py9FVlAqDQAJ
* sys/linux: add network drop monitor supportDmitry Vyukov2018-12-2411-5/+404
|
* sys/linux: add udmabuf descriptionsDmitry Vyukov2018-12-2412-13/+263
|
* sys/linux: add basic AF_CAIF descriptionsDmitry Vyukov2018-12-2412-5/+652
|
* sys/linux: add basic X25 descriptionsDmitry Vyukov2018-12-2430-348/+1800
|
* sys/linux: extend AX25/ROSE/NETROM descriptionsDmitry Vyukov2018-12-2438-684/+3706
|