From 99e3b0a7e8b3ba990fd3ff3e7d10cbd92b957b14 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 1 Apr 2018 18:29:56 +0200 Subject: sys/linux: add support for reading partition tables --- pkg/host/host_linux.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/host/host_linux.go') diff --git a/pkg/host/host_linux.go b/pkg/host/host_linux.go index c99aba874..d5ab3a495 100644 --- a/pkg/host/host_linux.go +++ b/pkg/host/host_linux.go @@ -139,6 +139,8 @@ func isSupportedSyzkall(sandbox string, c *prog.Syscall) bool { return true case "syz_mount_image": return sandbox != "setuid" + case "syz_read_part_table": + return sandbox == "none" && syscall.Getuid() == 0 } panic("unknown syzkall: " + c.Name) } -- cgit mrf-deployment