aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/host
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-08-28 15:59:22 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-09-02 13:06:53 +0200
commita7206b24cac96c08aecf2f3b4cc3c2e555eec708 (patch)
tree80c678141148ce2eafaab5617f168bd840b8c8a6 /pkg/host
parentaa51461a34f998908d10f551615ad242bdff8fe9 (diff)
pkg/compiler: check and generate types
Move most of the logic from sysgen to pkg/compiler. Update #217
Diffstat (limited to 'pkg/host')
-rw-r--r--pkg/host/host.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/host/host.go b/pkg/host/host.go
index 4e634f1aa..720bb60f1 100644
--- a/pkg/host/host.go
+++ b/pkg/host/host.go
@@ -38,9 +38,6 @@ func DetectSupportedSyscalls() (map[*sys.Call]bool, error) {
}
func isSupported(kallsyms []byte, c *sys.Call) bool {
- if c.NR == -1 {
- return false // don't even have a syscall number
- }
if strings.HasPrefix(c.CallName, "syz_") {
return isSupportedSyzkall(c)
}