aboutsummaryrefslogtreecommitdiffstats
path: root/docs/syscall_descriptions.md
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2020-06-12 14:46:16 +0200
committerGitHub <noreply@github.com>2020-06-12 14:46:16 +0200
commitc149e34955491af9b97536f142dc6f547769130b (patch)
treeb7b16095d4374f9bb670d178f07ec688d8768d97 /docs/syscall_descriptions.md
parent6fe5725de825de9fe21e7697443eadd5fd6bafbf (diff)
Update syscall_descriptions.md
Diffstat (limited to 'docs/syscall_descriptions.md')
-rw-r--r--docs/syscall_descriptions.md8
1 files changed, 7 insertions, 1 deletions
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