summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch29
-rw-r--r--meta-oe/recipes-test/syzkaller/syzkaller_git.bb1
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch b/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch
new file mode 100644
index 0000000000..8bb19fb72b
--- /dev/null
+++ b/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch
@@ -0,0 +1,29 @@
1From 648868595cf290e77aab1f271db2a57e1f791301 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 May 2024 20:37:07 -0700
4Subject: [PATCH] executor: Remove including <error.h> in test_linux.h
5
6it seems to be redundant and moreover it lets us compile on musl which
7does not provide this system header
8
9Upstream-Status: Submitted [https://github.com/google/syzkaller/pull/4822]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 executor/test_linux.h | 1 -
13 1 file changed, 1 deletion(-)
14
15diff --git a/executor/test_linux.h b/executor/test_linux.h
16index 7cf459569..8c9493539 100644
17--- a/executor/test_linux.h
18+++ b/executor/test_linux.h
19@@ -1,7 +1,6 @@
20 // Copyright 2017 syzkaller project authors. All rights reserved.
21 // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
22
23-#include <error.h>
24 #include <stdint.h>
25 #include <sys/utsname.h>
26
27--
282.45.1
29
diff --git a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
index b43207f2a7..639f55de2f 100644
--- a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
+++ b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
@@ -9,6 +9,7 @@ GO_IMPORT = "github.com/google/syzkaller"
9SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT};branch=master \ 9SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT};branch=master \
10 file://0001-sys-targets-targets.go-allow-users-to-override-hardc.patch;patchdir=src/${GO_IMPORT} \ 10 file://0001-sys-targets-targets.go-allow-users-to-override-hardc.patch;patchdir=src/${GO_IMPORT} \
11 file://0001-executor-Include-missing-linux-falloc.h.patch;patchdir=src/${GO_IMPORT} \ 11 file://0001-executor-Include-missing-linux-falloc.h.patch;patchdir=src/${GO_IMPORT} \
12 file://0001-executor-Remove-including-error.h-in-test_linux.h.patch;patchdir=src/${GO_IMPORT} \
12 " 13 "
13SRCREV = "25905f5d0a2a7883bd33491997556193582c6059" 14SRCREV = "25905f5d0a2a7883bd33491997556193582c6059"
14 15