aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/generated.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-01-31 10:57:46 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-01-31 11:35:53 +0100
commit25e10a043498087f9427f0698b341d051c310fc4 (patch)
tree7e7b9416711039e1d1f22ba216959cd94134a199 /pkg/csource/generated.go
parent724adc544590747ce47c3be1b4a63951b7171188 (diff)
executor: remove ability to detect kernel bugs
This ability was never used but we maintain a bunch of code for it. syzkaller also recently learned to spoof this error code with some ptrace magic (probably intercepted control flow again and exploited executor binary). Drop all of it.
Diffstat (limited to 'pkg/csource/generated.go')
-rw-r--r--pkg/csource/generated.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go
index b8ba20bc2..5a402b66f 100644
--- a/pkg/csource/generated.go
+++ b/pkg/csource/generated.go
@@ -4666,8 +4666,6 @@ static void loop(void)
status = WEXITSTATUS(status);
if (status == kFailStatus)
fail("child failed");
- if (status == kErrorStatus)
- error("child errored");
reply_execute(0);
#endif
#if SYZ_EXECUTOR || SYZ_USE_TMP_DIR