diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-07-22 09:27:11 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-07-22 09:27:11 +0200 |
| commit | d8b4c311beb922f45e67ca405cff2b84157b3380 (patch) | |
| tree | 896fa8703a5e451a27e02d0287cca1656e915c4b /pkg | |
| parent | d6e6e5e69cba9b5a23021971fea1c9592d2a74ae (diff) | |
pkg/mgrconfig: add example for "enable_syscalls"
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/mgrconfig/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/mgrconfig/config.go b/pkg/mgrconfig/config.go index a023803ef..ea03c429e 100644 --- a/pkg/mgrconfig/config.go +++ b/pkg/mgrconfig/config.go @@ -71,7 +71,8 @@ type Config struct { // Reproduce, localize and minimize crashers (default: true). Reproduce bool `json:"reproduce"` - // List of syscalls to test (optional). + // List of syscalls to test (optional). For example: + // "enable_syscalls": [ "mmap", "openat$ashmem", "ioctl$ASHMEM*" ] EnabledSyscalls []string `json:"enable_syscalls,omitempty"` // List of system calls that should be treated as disabled (optional). DisabledSyscalls []string `json:"disable_syscalls,omitempty"` |
