diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-05-26 13:38:38 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-05-26 15:07:25 +0200 |
| commit | 076dbcb04d07743faf5fe058f73af1678d8868c9 (patch) | |
| tree | e3d64037bf25753395bbebef4a84d41ce00403fc /docs/syscall_descriptions_syntax.md | |
| parent | 3da9017c17c7d2432c4b76345c4d2efbeedd2935 (diff) | |
all: minor glob fixes
Diffstat (limited to 'docs/syscall_descriptions_syntax.md')
| -rw-r--r-- | docs/syscall_descriptions_syntax.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/syscall_descriptions_syntax.md b/docs/syscall_descriptions_syntax.md index 4517963eb..0d750c8e3 100644 --- a/docs/syscall_descriptions_syntax.md +++ b/docs/syscall_descriptions_syntax.md @@ -42,8 +42,9 @@ rest of the type-options are type-specific: "stringnoz": a non-zero-terminated memory buffer (no pointer indirection implied), type-options: either a string value in quotes for constant strings (e.g. "foo" or `deadbeef` for hex literal), or a reference to string flags, -"glob": glob pattern to match on target files, type-options: - a zero-terminated glob pattern string in quotes (e.g. "/sys/" or `/sys/**/*` for glob match), +"glob": glob pattern to match on the target files, type-options: + a pattern string in quotes (syntax: https://golang.org/pkg/path/filepath/#Match) + (e.g. "/sys/" or "/sys/**/*") "fmt": a string representation of an integer (not zero-terminated), type-options: format (one of "dec", "hex", "oct") and the value (a resource, int, flags, const or proc) the resulting data is always fixed-size (formatted as "%020llu", "0x%016llx" or "%023llo", respectively) |
