590 Commits

Author SHA1 Message Date
Dmitry Vyukov
54ce1ed6b9 sys/linux: switch to the new .const format
This reduces number of const files/lines from 1288/96599 to 158/11603.
Const files are generated on next-20200813.

Update #1983
2020-08-13 17:22:16 +02:00
Necip Fazil Yildiran
f5442bde55 pkg, prog: add per-field direction attribute 2020-08-13 13:50:25 +02:00
Mark Johnston
bb3e5fe608 docs/freebsd: clarify that the dataset name is an example 2020-08-11 11:42:07 -04:00
Mark Johnston
4ad44804fb docs/freebsd: update the "missing things" list
Some items have already been implemented.  Add some new items to work
towards.
2020-08-11 11:42:07 -04:00
Dmitry Vyukov
d895b3be2c .github/workflows: check commit description format
Check PR commit subjects for the standard format we use "pkg/name: description of the change".
Check PR commit bodies for at most 120 characters.
2020-07-31 17:22:18 +02:00
Anton Lindqvist
19a8de55e5 docs/openbsd: update found bugs.md 2020-07-29 08:15:18 +02:00
Dmitry Vyukov
6e2b10b1a4 docs: add section on descriptions testing
The sys/OS/test/* tests are currently mostly undocumented.
Add initial documentation for these tests.

The "External Dependencies" section is just moved with no changes.
2020-07-27 07:45:19 +02:00
Dmitry Vyukov
b090c64363 docs: add a note re pseudo-syscall dependencies 2020-07-16 12:29:42 +02:00
Dmitry Vyukov
5395640c2f docs: add a note re per-field directions 2020-07-16 12:29:42 +02:00
Andrey Konovalov
561f9a1f6f docs: add instructions on updating syz-env 2020-07-15 09:26:53 +02:00
Dmitry Vyukov
9ebcc5b1a8
docs: add another research paper 2020-07-12 16:09:44 +02:00
Andrey Konovalov
3ea3b66344 Update syzbot.md 2020-07-09 18:43:28 +02:00
Tobias Klauser
e2d3226c15 docs/linux: use OpenSBI jump firmware in QEMU for linux/riscv64
Use the OpenSBI "jump" firmware with the QEMU -bios parameter to boot
linux/riscv64. This will allow to boot the kernel directly without
having to recompile OpenSBI every time the kernel is recompiled.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-07-09 11:57:12 +02:00
Tobias Klauser
a864f3d20c docs/linux: add not about default OpenSBI firmware in QEMU for linux/riscv64
Mention the possibility to use `-bios default` to use OpenSBI provided
with QEMU. However, this might not work on all distributions yet, so
make it optional.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-07-09 11:43:36 +02:00
Tobias Klauser
1bac9ec6ea docs/linux: drop dhcpcd from buildroot options in linux/riscv64 instructions
buildroot already installs udhcpc as a DHCP client.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-07-09 11:43:36 +02:00
Tobias Klauser
e3dcfa19aa docs/linux: mention QEMU version in linux/riscv64 instructions
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-07-09 11:43:36 +02:00
Dmitry Vyukov
5b6bfb32b0
docs: add explanation of flags type
* docs: add explanation of flags type
* Apply suggestions from code review
Co-authored-by: Marco Elver <marco.elver@gmail.com>
2020-07-09 11:42:24 +02:00
Dmitry Vyukov
0219d4e7da docs: explain pseudo-syscall argument type 2020-07-08 15:14:01 +02:00
Dmitry Vyukov
f1996f0507 docs: add tips on writing descriptions 2020-07-08 14:31:45 +02:00
Dmitry Vyukov
f7ae27af2f docs: add note that pseudo-syscalls are discouraged 2020-07-08 14:27:01 +02:00
Tobias Klauser
695ef2ddb2 docs/linux: use OpenSBI instead of BBL to boot linux/riscv64 QEMU VM
OpenSBI seems to be the recommended boot method nowadays, see e.g. [1],
[2]

[1] https://riscv.org/2019/01/risc-v-community-releases-opensbi-to-foster-continued-ecosystem-growth/
[2] https://wiki.freebsd.org/riscv#OpenSBI

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-07-01 21:29:39 +02:00
Tobias Klauser
33576216a5 docs/linux: mention CONFIG_KMEMLEAK in suggested kernel configs
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-07-01 10:43:09 +02:00
Dmitry Vyukov
ce9ef6f2ec docs/linux: change suggested kernel git repo
Suggest to checkout linux kernel from kernel.org rather than from github.
github is a mirror and we don't use it ourselves and I think it's
generally not used by kernel developers. The kernel.org repo is
the canonical location.
2020-06-29 15:28:14 +02:00
Andrey Konovalov
708d6e5be1
Update setup_ubuntu-host_qemu-vm_x86-64-kernel.md 2020-06-29 15:05:07 +02:00
Andrey Konovalov
54cbc73031
Update setup_ubuntu-host_qemu-vm_x86-64-kernel.md 2020-06-29 15:00:45 +02:00
Tobias Klauser
2defc703fd docs/linux: add setup guide for riscv64 kernel in QEMU
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-06-27 15:04:27 +02:00
Dmitry Vyukov
41694dbf71
docs: fix a link in research page 2020-06-24 12:06:50 +02:00
Marco Elver
9843a4a88c docs/syzbot: Add link to GCC 10 2020-06-22 15:09:21 +02:00
Andrey Konovalov
81abc33188
Update external_fuzzing_usb.md 2020-06-19 19:10:56 +02:00
Andrey Konovalov
853595a523
Update setup_ubuntu-host_qemu-vm_x86-64-kernel.md 2020-06-19 12:45:27 +02:00
Marco Elver
3ea11d3f9e docs/syzbot: Update KCSAN related information 2020-06-18 14:24:47 +02:00
Andrey Konovalov
b9f3810bc5
Update external_fuzzing_usb.md 2020-06-17 00:35:00 +02:00
Andrey Konovalov
3674152277
Update external_fuzzing_usb.md 2020-06-16 15:36:50 +02:00
Andrey Konovalov
e161d77ee2
Update external_fuzzing_usb.md 2020-06-16 15:31:24 +02:00
Andrey Konovalov
6a34f5e831
Update syzbot.md 2020-06-16 15:17:49 +02:00
Andrey Konovalov
205b2ba418 docs/syzbot.md: update notes on USB 2020-06-13 11:38:41 +02:00
Andrey Konovalov
d1c1c84952
Update syscall_descriptions.md 2020-06-12 18:16:15 +02:00
Andrey Konovalov
3036d6fd0b
Update external_fuzzing_usb.md 2020-06-12 17:41:07 +02:00
Andrey Konovalov
df5902545c
Update syscall_descriptions.md 2020-06-12 14:48:32 +02:00
Andrey Konovalov
c149e34955
Update syscall_descriptions.md 2020-06-12 14:46:16 +02:00
Dmitry Vyukov
588020678f all: use more respective language
Some terms are normalised on the technical level
but may be oppressive on a societal level.
Replace them with more technically neutral terms.
See the following doc for a longer version:
https://tools.ietf.org/id/draft-knodel-terminology-00.html
2020-06-11 23:19:34 +02:00
Andrey Konovalov
a6f7998d6b
Update syscall_descriptions_syntax.md 2020-06-10 14:21:54 +02:00
Ricardo Cañuelo
79bb873bd7 docs: new file pseudo_syscalls.md
Add a brief description about pseudo-syscalls and how to create new
ones.
2020-06-10 13:10:58 +02:00
Ricardo Cañuelo
0d60b78a51 docs: suggested changes for pull-request 1797
https://github.com/google/syzkaller/pull/1797
2020-06-08 22:21:43 +02:00
Ricardo Cañuelo
d6de733164 docs: more info about resources and the "enable_sysaclls" config option
- Give some extra clarifications and examples about resources in syscall
    descriptions.
  - More details about how to use the "enable_syscalls" option.
  - Mention pseudo-syscalls in the general syscall description doc file.
2020-06-08 22:21:43 +02:00
Andrey Konovalov
2420d1bcbc
Update setup.md 2020-06-04 21:02:02 +02:00
Andrey Konovalov
241440828e
Update setup.md 2020-06-04 21:01:10 +02:00
Michael Tuexen
6720fdefa0 docs/freebsd: install golangci-lint on FreeBSD
This is required for gmake presubmit.
2020-06-04 12:36:07 +02:00
Matt Morehouse
b0d1c0d578 docs/linux: fix example qemu command 2020-06-04 02:49:18 +02:00
Dmitry Vyukov
52fd7b7d77 tools: add syz-big-env
On top of syz-env it provides akaros/fuchsia/netbsd toolchains and gcloud sdk.
With this it's possible to run dashboard/app tests on CI and locally
and test executor build and pkg/{csource,cover} for these OSes.

Update #1765
2020-06-02 13:39:30 +02:00