diff options
Diffstat (limited to 'docs/syscall_descriptions.md')
| -rw-r--r-- | docs/syscall_descriptions.md | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/syscall_descriptions.md b/docs/syscall_descriptions.md index fa45099d5..e9bf2195b 100644 --- a/docs/syscall_descriptions.md +++ b/docs/syscall_descriptions.md @@ -145,12 +145,9 @@ with [syz-check](/tools/syz-check/check.go). For example, if there is an existing enum `v4l2_buf_type` in the kernel headers, use this name for flags in descriptions as well. The same for structs, unions, -fields, etc. For syscall variants, use the command name after the `$` sign. +fields, etc. For syscall and struct variants, append the variant name after the `$` sign. For example, `fcntl$F_GET_RW_HINT`, `ioctl$FIOCLEX`, `setsockopt$SO_TIMESTAMP`. -If you need to describe several variants of the same kernel struct, the naming -convention understood by `syz-check` is `<ORIGINAL_KERNEL_NAME>_some_suffix`. - <div id="ordering"/> ### Resources for syscall ordering |
