From c149e34955491af9b97536f142dc6f547769130b Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Fri, 12 Jun 2020 14:46:16 +0200 Subject: Update syscall_descriptions.md --- docs/syscall_descriptions.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/syscall_descriptions.md') diff --git a/docs/syscall_descriptions.md b/docs/syscall_descriptions.md index 3d7877aac..78e46e832 100644 --- a/docs/syscall_descriptions.md +++ b/docs/syscall_descriptions.md @@ -55,7 +55,13 @@ some parts of descriptions from header files. To enable fuzzing of a new kernel interface: -1. Study the interface, find out which syscalls are required to use it. +1. Study the interface, find out which syscalls are required to use it. Sometimes there is nothing besides the source code, but here are some things that may help: + + - Searching the Internet for the subsystem name and/or some unique constants. + - Grepping Documentation/ dir in the kernel. + - Searching tools/testing/ dir in the kernel. + - Looking for large comment blocks in the source code. + - Finding commit that added the interface via `git blame` or `git log` and reading the commit description. 2. Using [syntax documentation](syscall_descriptions_syntax.md) and [existing descriptions](/sys/linux/) as an example, add a declarative -- cgit mrf-deployment