From 076dbcb04d07743faf5fe058f73af1678d8868c9 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 26 May 2021 13:38:38 +0200 Subject: all: minor glob fixes --- docs/syscall_descriptions_syntax.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/syscall_descriptions_syntax.md') 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) -- cgit mrf-deployment