aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/host/syscalls_linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-10-15 09:26:40 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-10-15 09:50:12 +0200
commitd02a9221eacd9cb347a7aa33322189ad84a588c9 (patch)
tree1cea65607838e425ce168bb17e3ca1d14ba7863b /pkg/host/syscalls_linux.go
parentfc7735a27949755327024847e12dcc1b868bcb99 (diff)
pkg/host: don't log every syscall name twice
Logging every syscall name we are checking twice is not too useful and consumes tons of log space.
Diffstat (limited to 'pkg/host/syscalls_linux.go')
-rw-r--r--pkg/host/syscalls_linux.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/host/syscalls_linux.go b/pkg/host/syscalls_linux.go
index 998f6f96c..ff41da68b 100644
--- a/pkg/host/syscalls_linux.go
+++ b/pkg/host/syscalls_linux.go
@@ -16,13 +16,11 @@ import (
"syscall"
"time"
- "github.com/google/syzkaller/pkg/log"
"github.com/google/syzkaller/pkg/osutil"
"github.com/google/syzkaller/prog"
)
func isSupported(c *prog.Syscall, target *prog.Target, sandbox string) (bool, string) {
- log.Logf(2, "checking support for %v", c.Name)
if strings.HasPrefix(c.CallName, "syz_") {
return isSupportedSyzkall(c, target, sandbox)
}
@@ -94,7 +92,6 @@ func parseKallsyms(kallsyms []byte, arch string) map[string]bool {
matches := re.FindAllSubmatch(kallsyms, -1)
for _, m := range matches {
name := string(m[2])
- log.Logf(2, "found in kallsyms: %v", name)
set[name] = true
}
return set