diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-04-29 18:45:45 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-04-29 18:45:45 +0200 |
| commit | 6e2ce6613b6875605a6f50a00d33a9f207762be5 (patch) | |
| tree | b7be7d669d02eb7ca73469e97d1674184f6bf5dc /pkg/host/host_linux.go | |
| parent | 67bec9bb441a668f88e1f1421a7a1e63e659280f (diff) | |
pkg/host: fix syz_mount_image detection
Only init admin can mount filesystems with images.
Diffstat (limited to 'pkg/host/host_linux.go')
| -rw-r--r-- | pkg/host/host_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/host/host_linux.go b/pkg/host/host_linux.go index 44a872c22..3cd096ba1 100644 --- a/pkg/host/host_linux.go +++ b/pkg/host/host_linux.go @@ -145,7 +145,7 @@ func isSupportedSyzkall(sandbox string, c *prog.Syscall) (bool, string) { syscall.Close(fd) return true, "" case "syz_mount_image": - return onlySandboxNoneOrNamespace(sandbox) + return onlySandboxNone(sandbox) case "syz_read_part_table": return onlySandboxNone(sandbox) } |
