diff mbox series

[meta-oe,v2,1/2] syzkaller: Upgrade to latest tip of trunk

Message ID 20250812153441.417795-2-me@sephalon.net
State Accepted
Headers show
Series [meta-oe,v2,1/2] syzkaller: Upgrade to latest tip of trunk | expand

Commit Message

Stefan Wiehler Aug. 12, 2025, 3:34 p.m. UTC
- All patches have been upstreamed
- Add Go module dependencies to allow offline builds since upstream does
  not vendor them into the repo anymore
- In accordance to upstream, disable cgo as we are unable to compile
  with it on all supported architectures; in addition, remove
  -linkshared and -buildmode=pie as it requires external (cgo) linking
  (the latter only on ARM and x86). Binary size hardly matters here as
  syzkaller is unlikely to be shipped in a production environment.
- Add missing metadata and comply with style guide

Signed-off-by: Stefan Wiehler <me@sephalon.net>
---
changes in v2:
- update to latest tip of trunk, which includes an upstreamed fix for
  the Go module cache being partially non-writeable/deletable
  (https://github.com/google/syzkaller/pull/6269)
---
 .../syzkaller/syzkaller-go-mods.inc           | 76 ++++++++++++++++++
 .../syzkaller/syzkaller-licenses.inc          | 80 +++++++++++++++++++
 ...cutor-Include-missing-linux-falloc.h.patch | 37 ---------
 ...ve-including-error.h-in-test_linux.h.patch | 29 -------
 ...ets.go-allow-users-to-override-hardc.patch | 62 --------------
 .../recipes-test/syzkaller/syzkaller_git.bb   | 41 +++++-----
 6 files changed, 179 insertions(+), 146 deletions(-)
 create mode 100644 meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
 create mode 100644 meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
 delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
 delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch
 delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch

Comments

Khem Raj Aug. 13, 2025, 5:04 p.m. UTC | #1
its failing on musl targets

 In file included from executor/executor.cc:511:
   executor/executor_linux.h:84:12: error: use of undeclared
identifier 'pkey_alloc'
      84 |                 int pk = pkey_alloc(0, 0);
         |                          ^
   executor/executor_linux.h:94:3: error: use of undeclared identifier
'pkey_free'
      94 |                 pkey_free(pkeys[npkey]);
         |                 ^
   executor/executor_linux.h:137:47: error: use of undeclared
identifier 'PKEY_DISABLE_WRITE'
     137 |         if (pkeys_enabled && pkey_set(RESERVED_PKEY,
PKEY_DISABLE_WRITE))
         |                                                      ^
   executor/executor_linux.h:143:23: error: use of undeclared
identifier 'pkey_set'
     143 |         if (pkeys_enabled && pkey_set(RESERVED_PKEY, 0))
         |                              ^
   executor/executor_linux.h:165:23: error: use of undeclared
identifier 'pkey_mprotect'
     165 |         if (pkeys_enabled && pkey_mprotect(data_buf,
cov->data_size, prot, RESERVED_PKEY))
         |                              ^
   In file included from executor/executor.cc:565:
   executor/files.h:20:6: error: no member named 'gl_opendir' in 'glob_t'
      20 |         buf.gl_opendir = reinterpret_cast<void* (*)(const
char* name)>(opendir);
         |         ~~~ ^
   executor/files.h:21:6: error: no member named 'gl_closedir' in 'glob_t'
      21 |         buf.gl_closedir = reinterpret_cast<void (*)(void*
dirp)>(closedir);
         |         ~~~ ^
   executor/files.h:33:6: error: no member named 'gl_readdir' in 'glob_t'
      33 |         buf.gl_readdir = [](void* dir) -> dirent* {
         |         ~~~ ^
   executor/files.h:46:6: error: no member named 'gl_stat' in 'glob_t'
      46 |         buf.gl_stat = stat;
         |         ~~~ ^
   executor/files.h:47:6: error: no member named 'gl_lstat' in 'glob_t'
      47 |         buf.gl_lstat = lstat;
         |         ~~~ ^
   executor/files.h:48:60: error: use of undeclared identifier 'GLOB_ALTDIRFUNC'
      48 |         int res = glob(pattern.c_str(), GLOB_MARK |
GLOB_NOSORT | GLOB_ALTDIRFUNC, nullptr, &buf);
         |                                                                   ^
   In file included from executor/executor.cc:568:
   executor/snapshot.h:91:25: error: use of undeclared identifier
'pkey_mprotect'
      91 |                         if (pkeys_enabled &&
pkey_mprotect(output, static_cast<uint64>(rpc::Const::MaxOutputSize),
         |                                              ^

On Tue, Aug 12, 2025 at 8:39 AM Stefan Wiehler <me@sephalon.net> wrote:
>
> - All patches have been upstreamed
> - Add Go module dependencies to allow offline builds since upstream does
>   not vendor them into the repo anymore
> - In accordance to upstream, disable cgo as we are unable to compile
>   with it on all supported architectures; in addition, remove
>   -linkshared and -buildmode=pie as it requires external (cgo) linking
>   (the latter only on ARM and x86). Binary size hardly matters here as
>   syzkaller is unlikely to be shipped in a production environment.
> - Add missing metadata and comply with style guide
>
> Signed-off-by: Stefan Wiehler <me@sephalon.net>
> ---
> changes in v2:
> - update to latest tip of trunk, which includes an upstreamed fix for
>   the Go module cache being partially non-writeable/deletable
>   (https://github.com/google/syzkaller/pull/6269)
> ---
>  .../syzkaller/syzkaller-go-mods.inc           | 76 ++++++++++++++++++
>  .../syzkaller/syzkaller-licenses.inc          | 80 +++++++++++++++++++
>  ...cutor-Include-missing-linux-falloc.h.patch | 37 ---------
>  ...ve-including-error.h-in-test_linux.h.patch | 29 -------
>  ...ets.go-allow-users-to-override-hardc.patch | 62 --------------
>  .../recipes-test/syzkaller/syzkaller_git.bb   | 41 +++++-----
>  6 files changed, 179 insertions(+), 146 deletions(-)
>  create mode 100644 meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
>  create mode 100644 meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
>  delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
>  delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch
>  delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
>
> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc b/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
> new file mode 100644
> index 0000000000..807f2367a2
> --- /dev/null
> +++ b/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
> @@ -0,0 +1,76 @@
> +SRC_URI += "\
> +    gomod://cel.dev/expr;version=v0.24.0;sha256sum=4456189315133136b72bfb40312d731c8957cce38a2807ac21d09f5158259bb7 \
> +    gomod://cloud.google.com/go;version=v0.121.3;sha256sum=ebd16ecd4637745c842ecc337241a4d77cd9cdb1a2f422c7f9cabc477ae5da25 \
> +    gomod://cloud.google.com/go/auth;version=v0.16.2;sha256sum=38f4f9fb94b864bff2e7852c826ae6605a9fda6510cc6b6b3e02a047dd4243cd \
> +    gomod://cloud.google.com/go/auth/oauth2adapt;version=v0.2.8;sha256sum=4cd64264bafc4dd05f645452d6e1485adf92309130bd82b4c595db10cd534963 \
> +    gomod://cloud.google.com/go/bigquery;version=v1.69.0;sha256sum=fea7514e6dde4d4c9bd1d334034d89c980759afa303f020c3a273f7d9f3c095d \
> +    gomod://cloud.google.com/go/compute/metadata;version=v0.7.0;sha256sum=89c19841bf87fe53034aed53505c527fe6674d3bf0f21c0e972374f94fb08eb4 \
> +    gomod://cloud.google.com/go/iam;version=v1.5.2;sha256sum=5ef0d3a00d72b44c498688551616bce430386bbfc99b5a7f76c0788a92733984 \
> +    gomod://cloud.google.com/go/monitoring;version=v1.24.2;sha256sum=d93cb9138747418f2e2731c2312c4dc1a75daf3c2a35be7a337901c5c7251381 \
> +    gomod://cloud.google.com/go/spanner;version=v1.82.0;sha256sum=6c997bbf50a2d9dee4094bf13cc0440d6ee7ec707c681ecbc58097bf99e3fb86 \
> +    gomod://cloud.google.com/go/storage;version=v1.55.0;sha256sum=b14ef810eb8117e7c8a7e3478b7d48434929264d89d62640e08b05c48b3cfcc6 \
> +    gomod://github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp;version=v1.5.2;sha256sum=d5c597a20d3a7057a9c3b3ada021930351247baf5e65f08996cecc84027446b1 \
> +    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp;version=v1.28.0;sha256sum=9fa827784e2495cd18f204e06abbd109a9dbe1a3b330bf82294b8aac7285ad3b \
> +    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric;version=v0.52.0;sha256sum=999dd61d8aa7b61f89b547ad271c4597bddd3de3c4e9801a672fe2d759ff5c3a \
> +    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping;version=v0.52.0;sha256sum=2d0f67011ae88b29113717680c240c02ef3c3c84ab74868b11fcc831c59fcc17 \
> +    gomod://github.com/VividCortex/gohistogram;version=v1.0.0;sha256sum=16ebeceeb7e4066f90edbfb90282cd90d4dad0f71339199551de3fbdc7e8c545 \
> +    gomod://github.com/apache/arrow/go/v15;version=v15.0.2;sha256sum=87b75aac27b395f651f232b4b89c184a6ab23a65596acc46b4efacb116f98adf \
> +    gomod://github.com/beorn7/perks;version=v1.0.1;sha256sum=25bd9e2d94aca770e6dbc1f53725f84f6af4432f631d35dd2c46f96ef0512f1a \
> +    gomod://github.com/cespare/xxhash/v2;version=v2.3.0;sha256sum=145a26cdc7c49db566017b807c4989ee7f7ddeb569423e9cb99f995fac3621d3 \
> +    gomod://github.com/cncf/xds/go;version=v0.0.0-20250501225837-2ac532fd4443;sha256sum=c7b36d6c805ab8718fa8700f69bee29c225f10258fd29315683b102398c013a8 \
> +    gomod://github.com/envoyproxy/go-control-plane/envoy;version=v1.32.4;sha256sum=6baebcc1f441672ade0dacb4ca553a3d857f915590ca07bbe79314ddf62e6fae \
> +    gomod://github.com/envoyproxy/protoc-gen-validate;version=v1.2.1;sha256sum=ad9d2639aff17db6be291069c5463c46ed8ac37a0c6c1b57fae5465c5effb567 \
> +    gomod://github.com/felixge/httpsnoop;version=v1.0.4;sha256sum=75aa471311265e9860df0e523400b4650ed0c1a33262786a421f07226792e494 \
> +    gomod://github.com/go-jose/go-jose/v4;version=v4.1.0;sha256sum=27274e6a0878655e62a8c042934dfbb33c6db5992bc31b21df5df6c1cb944e58 \
> +    gomod://github.com/go-logr/logr;version=v1.4.3;sha256sum=523d7a3587fe73f61ef41c8bc627f7d7f38de8104d46278154b307e60770ad70 \
> +    gomod://github.com/go-logr/stdr;version=v1.2.2;sha256sum=9dd6893bf700198485ae699640b49bc1efbc6c73b37cb5792a0476e1fd8f7fef \
> +    gomod://github.com/goccy/go-json;version=v0.10.5;sha256sum=96e417d4493705f470f7f29858a09cdbe68330f2d7e74cd024fbace4745c0615 \
> +    gomod://github.com/golang/groupcache;version=v0.0.0-20241129210726-2c02b8208cf8;sha256sum=163367355442a630b12b0b452892cd98e99fcfdf7e40b68d358be73479cc1c23 \
> +    gomod://github.com/golang/protobuf;version=v1.5.4;sha256sum=9a2f43d3eac8ceda506ebbeb4f229254b87235ce90346692a0e233614182190b \
> +    gomod://github.com/google/flatbuffers;version=v25.1.24+incompatible;sha256sum=925600f16ce3b62c77aff5a662435984ed37af7cc05577169564e902e0c31c29 \
> +    gomod://github.com/google/s2a-go;version=v0.1.9;sha256sum=bf8f4b159d3fc201477822ed2514e4f05f58c764b78ffed73ec0accce5fb7f07 \
> +    gomod://github.com/google/uuid;version=v1.6.0;sha256sum=d0f02f377217f42702e259684e06441edbf5140dddcc34ba9bea56038b38a6ed \
> +    gomod://github.com/googleapis/enterprise-certificate-proxy;version=v0.3.6;sha256sum=6c44108f588c97a6a08b5ed907c3cc47dce31913f219a6d02b13e463d355603c \
> +    gomod://github.com/googleapis/gax-go/v2;version=v2.14.2;sha256sum=1cd109cf4d1a81363f956885d1f7e7086bf9805122dbcf9382ca0c54a21979d5 \
> +    gomod://github.com/gorilla/handlers;version=v1.5.2;sha256sum=7a69a0605890d69e91404e46b2d2063ef3c5c4e05c844ea154ef95d3479d7b7b \
> +    gomod://github.com/ianlancetaylor/demangle;version=v0.0.0-20250625212726-86fd2c0a1a74;sha256sum=7ad8b2ba609745ed4b8923c0c2e8ab44acf7386eb0d6fd7ad7bf6da962bd0743 \
> +    gomod://github.com/klauspost/compress;version=v1.18.0;sha256sum=c4679e4cbc820a21758199d985be754abf5eb2a38e6f1de95cd70b2e7ef06905 \
> +    gomod://github.com/klauspost/cpuid/v2;version=v2.2.10;sha256sum=db89665fa22cef477dc551b72d49707c516b749c17ed154bf67eb8081ee08dff \
> +    gomod://github.com/munnerz/goautoneg;version=v0.0.0-20191010083416-a7dc8b61c822;sha256sum=3d7ce17916779890be02ea6b3dd6345c3c30c1df502ad9d8b5b9b310e636afd9 \
> +    gomod://github.com/pierrec/lz4/v4;version=v4.1.18;sha256sum=b397db34ff05610125e7c9de6de067a174a70ba3ba7dac81ba8ce4f22b1c0933 \
> +    gomod://github.com/prometheus/client_golang;version=v1.23.0;sha256sum=f104d43e35b9217845792ec8eabbde59e31a11aaba64c47408cff8bafde2aa9e \
> +    gomod://github.com/prometheus/client_model;version=v0.6.2;sha256sum=67017b19f220c6ab91ecfdd10a93824e2a8b09fcb6390054dbdc49df3354a9ca \
> +    gomod://github.com/prometheus/common;version=v0.65.0;sha256sum=c97b1ab4d2c723923b367dbe48c283eafc0b94eb14faf8c98d81746b015242a9 \
> +    gomod://github.com/prometheus/procfs;version=v0.16.1;sha256sum=e4b74815566cbf5aa372d23e1de32f16ac5c3c4c80bc94a31fdee60a1de6074a \
> +    gomod://github.com/sergi/go-diff;version=v1.4.0;sha256sum=63aef1860b251af1421ba0a014a6bb08a60833f13f948f3d88d66754bb484f53 \
> +    gomod://github.com/spiffe/go-spiffe/v2;version=v2.5.0;sha256sum=3b96ee2cef9a550ec779125216a03225fff44d3d702d51b6ef21e2202d2517d6 \
> +    gomod://github.com/ulikunitz/xz;version=v0.5.12;sha256sum=0cba3268140e7c112c329b19ce3d4c8d4768a784fe0c80112bfa7bf43ace1a4a \
> +    gomod://github.com/zeebo/errs;version=v1.4.0;sha256sum=5b7fb5cbe6bbd36933e8c98572f85121994e9842aefc90986f8d3a192cb69257 \
> +    gomod://github.com/zeebo/xxh3;version=v1.0.2;sha256sum=190e5ef1f672e9321a1580bdd31c6440fde6044ca8168d2b489cf50cdc4f58a6 \
> +    gomod://go.opencensus.io;version=v0.24.0;sha256sum=203a767d7f8e7c1ebe5588220ad168d1e15b14ae70a636de7ca9a4a88a7e0d0c \
> +    gomod://go.opentelemetry.io/auto/sdk;version=v1.1.0;sha256sum=006d3a5a7292d11f093ce65fcd5a15d15fb7bd11d0e066503f91bd64c4bffe2c \
> +    gomod://go.opentelemetry.io/contrib/detectors/gcp;version=v1.36.0;sha256sum=67e381df5c7e78edda7b773ebdef6e5dad42486e87eec838329ade6919985119 \
> +    gomod://go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc;version=v0.61.0;sha256sum=9812bf570350cd1377bf458b71ea5d9fffe44733fc2dccbcfd1f5c564a6b27b7 \
> +    gomod://go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp;version=v0.61.0;sha256sum=0009120ed94c4279573eea0f01841f7c9ff51cafd1c9559fc09820c9f870f399 \
> +    gomod://go.opentelemetry.io/otel;version=v1.36.0;sha256sum=f3cdc5d41b3056ab4fa95ee1145708d12e5a5fd0106f79c3f0133a7f5f1ef799 \
> +    gomod://go.opentelemetry.io/otel/metric;version=v1.36.0;sha256sum=a4ff3b88cca25a317752193a65547250822cdd6acfa08d9cbb57071d1e1c4951 \
> +    gomod://go.opentelemetry.io/otel/sdk;version=v1.36.0;sha256sum=d16c77fb714cca3036530fddba0baf5f1ad21a6de8dffd73130668807c61b01a \
> +    gomod://go.opentelemetry.io/otel/sdk/metric;version=v1.36.0;sha256sum=946a0d0d2b5ab3636a848a3041f8b7bd91e505cd563dc9907a3836076c9e214f \
> +    gomod://go.opentelemetry.io/otel/trace;version=v1.36.0;sha256sum=f8877234c555f5f793fed92b17e2bf6744f6c504871eb713fa1e916ba0b6c6b6 \
> +    gomod://golang.org/x/crypto;version=v0.40.0;sha256sum=6a55423d327359615db923c5f17e5f10c4c7d91c39ef8d0b7f6e0876f89ff9da \
> +    gomod://golang.org/x/exp;version=v0.0.0-20250711185948-6ae5c78190dc;sha256sum=01d8fecd44e904b86e66c78cf6b403b27312513c0534455ee7b9c86600d9b7aa \
> +    gomod://golang.org/x/net;version=v0.42.0;sha256sum=cc9f79d1c8a796c756b636cee007b4ac5eba7b1f3276cd42658f4ac4a28cfbc1 \
> +    gomod://golang.org/x/oauth2;version=v0.30.0;sha256sum=1e1028d0b190948f0cd44229bfa298440cb2481f601f992e12424bc6fa1f183c \
> +    gomod://golang.org/x/sync;version=v0.16.0;sha256sum=ca43984183eb14f7f50d33da350312fed1c42e106dceac2437bfd5084b497dcd \
> +    gomod://golang.org/x/sys;version=v0.34.0;sha256sum=27d5489227865ffffc3fbbbaf6100952ca2925eba19cfdff01e6e76b986b4bb4 \
> +    gomod://golang.org/x/text;version=v0.27.0;sha256sum=1230ce66d74ed4510f1578f25b4e53beee00926dc24c86fab7242637f8415ea8 \
> +    gomod://golang.org/x/time;version=v0.12.0;sha256sum=cdcb04c43b112919c5e0d0fa1d90769124ad56918a44e6cb0747876ed7e5015c \
> +    gomod://golang.org/x/xerrors;version=v0.0.0-20240903120638-7835f813f4da;sha256sum=07ee9f680118861ee732ce0df4553b834383b87e0519fb9a0990c51d7abd6885 \
> +    gomod://google.golang.org/api;version=v0.237.0;sha256sum=944b38303416810562a220f444ec7c0c13834793a9e7e46ce0f644c3c5b478e0 \
> +    gomod://google.golang.org/appengine/v2;version=v2.0.6;sha256sum=9eab40689a66240d1132f31d2418a03776221ed07c3f72e22e9527ad063c9dde \
> +    gomod://google.golang.org/genproto;version=v0.0.0-20250603155806-513f23925822;sha256sum=631efdcf106cc5af4bb1e3298a40eedebe8a023a408b0465a5cb3ee486a57879 \
> +    gomod://google.golang.org/genproto/googleapis/api;version=v0.0.0-20250603155806-513f23925822;sha256sum=ec9d0cf0e96082fc6eef3a8beeb4cb74951294a57dac0d501b25a37e64df2594 \
> +    gomod://google.golang.org/genproto/googleapis/rpc;version=v0.0.0-20250603155806-513f23925822;sha256sum=3b43fafd95300765d08eb0d0137b699c5ee9c105b6af93c4916e7081c97b3a75 \
> +    gomod://google.golang.org/grpc;version=v1.73.0;sha256sum=7d628abd6c4c133205db6b72e374bbd2f438b12a2a5f838f34fd8d95d91f8c0b \
> +    gomod://google.golang.org/protobuf;version=v1.36.6;sha256sum=3294ac8ea5089b3c231351afaea4f012e8027a9beeb523bbf31dcb383cc0ab99 \
> +"
> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc b/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
> new file mode 100644
> index 0000000000..2be12f2853
> --- /dev/null
> +++ b/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
> @@ -0,0 +1,80 @@
> +LICENSE += "& BSD-3-Clause & MIT"
> +
> +LIC_FILES_CHKSUM += "\
> +    file://pkg/mod/cel.dev/expr@v0.24.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/cloud.google.com/go/auth/oauth2adapt@v0.2.8/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/cloud.google.com/go/auth@v0.16.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/cloud.google.com/go/bigquery@v1.69.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/cloud.google.com/go/compute/metadata@v0.7.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/cloud.google.com/go/iam@v1.5.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/cloud.google.com/go/monitoring@v1.24.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/cloud.google.com/go/spanner@v1.82.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/cloud.google.com/go/storage@v1.55.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/cloud.google.com/go@v0.121.3/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/!google!cloud!platform/grpc-gcp-go/grpcgcp@v1.5.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/detectors/gcp@v1.28.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/exporter/metric@v0.52.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/internal/resourcemapping@v0.52.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/!vivid!cortex/gohistogram@v1.0.0/LICENSE;md5=13880cf5821e7668762c89bb8a6045d3;spdx=MIT \
> +    file://pkg/mod/github.com/apache/arrow/go/v15@v15.0.2/LICENSE.txt;md5=9046099156f93a7f0ac340571476a58b;spdx=Unknown \
> +    file://pkg/mod/github.com/beorn7/perks@v1.0.1/LICENSE;md5=0d0738f37ee8dc0b5f88a32e83c60198;spdx=MIT \
> +    file://pkg/mod/github.com/cespare/xxhash/v2@v2.3.0/LICENSE.txt;md5=802da049c92a99b4387d3f3d91b00fa9;spdx=MIT \
> +    file://pkg/mod/github.com/cncf/xds/go@v0.0.0-20250501225837-2ac532fd4443/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/envoyproxy/go-control-plane/envoy@v1.32.4/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/envoyproxy/protoc-gen-validate@v1.2.1/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/felixge/httpsnoop@v1.0.4/LICENSE.txt;md5=684da2bf3eed8fc8860e75ad84638225;spdx=MIT \
> +    file://pkg/mod/github.com/go-jose/go-jose/v4@v4.1.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/go-logr/logr@v1.4.3/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/go-logr/stdr@v1.2.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/goccy/go-json@v0.10.5/LICENSE;md5=33a07164132d795872805bfc53f6097d;spdx=MIT \
> +    file://pkg/mod/github.com/golang/groupcache@v0.0.0-20241129210726-2c02b8208cf8/LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/google/flatbuffers@v25.1.24+incompatible/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/google/s2a-go@v0.1.9/LICENSE.md;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/google/uuid@v1.6.0/LICENSE;md5=88073b6dd8ec00fe09da59e0b6dfded1;spdx=BSD-3-Clause \
> +    file://pkg/mod/github.com/googleapis/enterprise-certificate-proxy@v0.3.6/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/googleapis/gax-go/v2@v2.14.2/LICENSE;md5=0dd48ae8103725bd7b401261520cdfbb;spdx=BSD-3-Clause \
> +    file://pkg/mod/github.com/ianlancetaylor/demangle@v0.0.0-20250625212726-86fd2c0a1a74/LICENSE;md5=81729dc66d48cba483290ca39318923d;spdx=Unknown \
> +    file://pkg/mod/github.com/klauspost/compress@v1.18.0/LICENSE;md5=d0fd9ebda39468b51ff4539c9fbb13a8;spdx=BSD-3-Clause \
> +    file://pkg/mod/github.com/munnerz/goautoneg@v0.0.0-20191010083416-a7dc8b61c822/LICENSE;md5=0c241922fc69330e2e5590de114f3bf5;spdx=BSD-3-Clause \
> +    file://pkg/mod/github.com/pierrec/lz4/v4@v4.1.18/LICENSE;md5=09ece85f3c312a63b522bfc6ebd44943;spdx=Unknown \
> +    file://pkg/mod/github.com/prometheus/client_golang@v1.23.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/prometheus/client_model@v0.6.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/prometheus/common@v0.65.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/prometheus/procfs@v0.16.1/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/sergi/go-diff@v1.4.0/APACHE-LICENSE-2.0;md5=2ee41112a44fe7014dce33e26468ba93;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/spiffe/go-spiffe/v2@v2.5.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/github.com/ulikunitz/xz@v0.5.12/LICENSE;md5=3c82255323cf3d48815acdbf9068b715;spdx=Unknown \
> +    file://pkg/mod/github.com/zeebo/errs@v1.4.0/LICENSE;md5=84914ab36fc0eb48edbaa53e66e8d326;spdx=MIT \
> +    file://pkg/mod/github.com/zeebo/xxh3@v1.0.2/LICENSE;md5=acf3e468cbf92b877ec5cdff11749253;spdx=Unknown \
> +    file://pkg/mod/go.opencensus.io@v0.24.0/LICENSE;md5=175792518e4ac015ab6696d16c4f607e;spdx=Apache-2.0 \
> +    file://pkg/mod/go.opentelemetry.io/auto/sdk@v1.1.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/go.opentelemetry.io/contrib/detectors/gcp@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.61.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.61.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/go.opentelemetry.io/otel/metric@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/go.opentelemetry.io/otel/sdk/metric@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/go.opentelemetry.io/otel/sdk@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/go.opentelemetry.io/otel/trace@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/go.opentelemetry.io/otel@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> +    file://pkg/mod/golang.org/x/crypto@v0.40.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> +    file://pkg/mod/golang.org/x/exp@v0.0.0-20250711185948-6ae5c78190dc/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> +    file://pkg/mod/golang.org/x/net@v0.42.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> +    file://pkg/mod/golang.org/x/oauth2@v0.30.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> +    file://pkg/mod/golang.org/x/sync@v0.16.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> +    file://pkg/mod/golang.org/x/sys@v0.34.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> +    file://pkg/mod/golang.org/x/text@v0.27.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> +    file://pkg/mod/golang.org/x/time@v0.12.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> +    file://pkg/mod/golang.org/x/xerrors@v0.0.0-20240903120638-7835f813f4da/LICENSE;md5=e828fb91fe88d9e5d620842cf8bd81b0;spdx=Unknown \
> +    file://pkg/mod/google.golang.org/api@v0.237.0/LICENSE;md5=a651bb3d8b1c412632e28823bb432b40;spdx=BSD-3-Clause \
> +    file://pkg/mod/google.golang.org/genproto/googleapis/api@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/google.golang.org/genproto/googleapis/rpc@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/google.golang.org/genproto@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/google.golang.org/grpc@v1.73.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +    file://pkg/mod/google.golang.org/protobuf@v1.36.6/LICENSE;md5=02d4002e9171d41a8fad93aa7faf3956;spdx=BSD-3-Clause \
> +"
> +
> +LIC_FILES_CHKSUM:class-native += "\
> +    file://pkg/mod/github.com/golang/protobuf@v1.5.4/LICENSE;md5=939cce1ec101726fa754e698ac871622;spdx=BSD-3-Clause \
> +    file://pkg/mod/github.com/gorilla/handlers@v1.5.2/LICENSE;md5=c30eee78985cf2584cded5f89ba3d787;spdx=Unknown \
> +    file://pkg/mod/google.golang.org/appengine/v2@v2.0.6/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> +"
> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch b/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
> deleted file mode 100644
> index 23bfb9a5e2..0000000000
> --- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
> +++ /dev/null
> @@ -1,37 +0,0 @@
> -From 9db789b4498d4130450e988757914c03e42b40f5 Mon Sep 17 00:00:00 2001
> -From: Khem Raj <raj.khem@gmail.com>
> -Date: Mon, 19 Jun 2023 18:33:36 -0700
> -Subject: [PATCH] executor: Include missing linux/falloc.h
> -
> -Its needed for FALLOC_FL_ZERO_RANGE which needs this header, it works
> -with glibc because fcntl.h includes this header indirectly, however the
> -failure comes to fore with musl C library where this header is not
> -included indirectly by other system headers, therefore include it as
> -required.
> -
> -Fixes
> -In file included from executor/common.h:505:
> -executor/common_linux.h:5604:16: error: use of undeclared identifier 'FALLOC_FL_ZERO_RANGE'
> -        fallocate(fd, FALLOC_FL_ZERO_RANGE, 0, SWAP_FILE_SIZE);
> -                      ^
> -Upstream-Status: Submitted [https://github.com/google/syzkaller/pull/3974]
> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ----
> - executor/common_linux.h | 1 +
> - 1 file changed, 1 insertion(+)
> -
> -diff --git a/executor/common_linux.h b/executor/common_linux.h
> -index d5152e058..9ae3fb159 100644
> ---- a/executor/common_linux.h
> -+++ b/executor/common_linux.h
> -@@ -5585,6 +5585,7 @@ static long syz_pkey_set(volatile long pkey, volatile long val)
> - #include <sys/stat.h>
> - #include <sys/swap.h>
> - #include <sys/types.h>
> -+#include <linux/falloc.h>
> -
> - #define SWAP_FILE "./swap-file"
> - #define SWAP_FILE_SIZE (128 * 1000 * 1000) // 128 MB.
> ---
> -2.41.0
> -
> 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
> deleted file mode 100644
> index 8bb19fb72b..0000000000
> --- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch
> +++ /dev/null
> @@ -1,29 +0,0 @@
> -From 648868595cf290e77aab1f271db2a57e1f791301 Mon Sep 17 00:00:00 2001
> -From: Khem Raj <raj.khem@gmail.com>
> -Date: Mon, 20 May 2024 20:37:07 -0700
> -Subject: [PATCH] executor: Remove including <error.h> in test_linux.h
> -
> -it seems to be redundant and moreover it lets us compile on musl which
> -does not provide this system header
> -
> -Upstream-Status: Submitted [https://github.com/google/syzkaller/pull/4822]
> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ----
> - executor/test_linux.h | 1 -
> - 1 file changed, 1 deletion(-)
> -
> -diff --git a/executor/test_linux.h b/executor/test_linux.h
> -index 7cf459569..8c9493539 100644
> ---- a/executor/test_linux.h
> -+++ b/executor/test_linux.h
> -@@ -1,7 +1,6 @@
> - // Copyright 2017 syzkaller project authors. All rights reserved.
> - // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
> -
> --#include <error.h>
> - #include <stdint.h>
> - #include <sys/utsname.h>
> -
> ---
> -2.45.1
> -
> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch b/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
> deleted file mode 100644
> index 61f4351651..0000000000
> --- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
> +++ /dev/null
> @@ -1,62 +0,0 @@
> -From aca1030d29f627314d13884ebc7b2c313d718df7 Mon Sep 17 00:00:00 2001
> -From: Ovidiu Panait <ovidiu.panait@windriver.com>
> -Date: Wed, 13 Apr 2022 17:17:54 +0300
> -Subject: [PATCH] sys/targets/targets.go: allow users to override hardcoded
> - cross-compilers
> -
> -Currently, cross compiler names are hardcoded for each os/arch combo. However,
> -toolchain tuples differ, especially when using vendor provided toolchains.
> -Allow users to specify the cross compiler for an os/arch combo using
> -SYZ_CC_<os>_<arch> environment variables.
> -
> -Also, remove hardcoded "-march=armv6" flag to fix compilation on arm.
> -
> -Upstream-Status: Inappropriate [embedded specific]
> -
> -Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
> ----
> - sys/targets/targets.go | 19 +++++++++++--------
> - 1 file changed, 11 insertions(+), 8 deletions(-)
> -
> ---- a/sys/targets/targets.go
> -+++ b/sys/targets/targets.go
> -@@ -262,7 +262,6 @@ var List = map[string]map[string]*Target
> -                       PtrSize:          4,
> -                       PageSize:         4 << 10,
> -                       LittleEndian:     true,
> --                      CFlags:           []string{"-D__LINUX_ARM_ARCH__=6", "-march=armv6"},
> -                       Triple:           "arm-linux-gnueabi",
> -                       KernelArch:       "arm",
> -                       KernelHeaderArch: "arm",
> -@@ -700,12 +699,16 @@ func initTarget(target *Target, OS, arch
> -       for i := range target.CFlags {
> -               target.replaceSourceDir(&target.CFlags[i], sourceDir)
> -       }
> --      if OS == Linux && arch == runtime.GOARCH {
> --              // Don't use cross-compiler for native compilation, there are cases when this does not work:
> --              // https://github.com/google/syzkaller/pull/619
> --              // https://github.com/google/syzkaller/issues/387
> --              // https://github.com/google/syzkaller/commit/06db3cec94c54e1cf720cdd5db72761514569d56
> --              target.Triple = ""
> -+      if OS == Linux {
> -+              if cc := os.Getenv("SYZ_CC_" + OS + "_" + arch); cc != "" {
> -+                      target.CCompiler = cc
> -+              } else if arch == runtime.GOARCH {
> -+                      // Don't use cross-compiler for native compilation, there are cases when this does not work:
> -+                      // https://github.com/google/syzkaller/pull/619
> -+                      // https://github.com/google/syzkaller/issues/387
> -+                      // https://github.com/google/syzkaller/commit/06db3cec94c54e1cf720cdd5db72761514569d56
> -+                      target.Triple = ""
> -+              }
> -       }
> -       if target.CCompiler == "" {
> -               target.setCompiler(useClang)
> -@@ -839,7 +842,7 @@ func (target *Target) lazyInit() {
> -       // On CI we want to fail loudly if cross-compilation breaks.
> -       // Also fail if SOURCEDIR_GOOS is set b/c in that case user probably assumes it will work.
> -       if (target.OS != runtime.GOOS || !runningOnCI) && getSourceDir(target) == "" {
> --              if _, err := exec.LookPath(target.CCompiler); err != nil {
> -+              if _, err := exec.LookPath(strings.Fields(target.CCompiler)[0]); err != nil {
> -                       target.BrokenCompiler = fmt.Sprintf("%v is missing (%v)", target.CCompiler, err)
> -                       return
> -               }
> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
> index b2b0f7ae9e..6aef105dd9 100644
> --- a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
> +++ b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
> @@ -1,22 +1,23 @@
> -DESCRIPTION = "syzkaller is an unsupervised coverage-guided kernel fuzzer"
> +SUMMARY = "Unsupervised coverage-guided kernel fuzzer"
> +HOMEPAGE = "https://github.com/google/syzkaller"
> +BUGTRACKER = "https://github.com/google/syzkaller/issues"
> +SECTION = "devel"
>  LICENSE = "Apache-2.0"
>  LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=5335066555b14d832335aa4660d6c376"
> +require ${BPN}-licenses.inc
>
> -inherit go-mod
> -
> -GO_IMPORT = "github.com/google/syzkaller"
> +DEPENDS:class-native += "qemu-system-native"
>
> -SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT};branch=master \
> -           file://0001-sys-targets-targets.go-allow-users-to-override-hardc.patch;patchdir=src/${GO_IMPORT} \
> -           file://0001-executor-Include-missing-linux-falloc.h.patch;patchdir=src/${GO_IMPORT} \
> -           file://0001-executor-Remove-including-error.h-in-test_linux.h.patch;patchdir=src/${GO_IMPORT} \
> -           "
> -SRCREV = "25905f5d0a2a7883bd33491997556193582c6059"
> +SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX};branch=master"
> +SRCREV = "22ec1469fe8c0ba256de07e8f97fa7b375b522bd"
> +require ${BPN}-go-mods.inc
>
>  # Upstream repo does not tag
>  UPSTREAM_CHECK_COMMITS = "1"
>
> -export GOPROXY = "https://proxy.golang.org,direct"
> +inherit go-mod
> +
> +GO_IMPORT = "github.com/google/syzkaller"
>
>  COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux"
>
> @@ -24,13 +25,16 @@ B = "${S}/src/${GO_IMPORT}/bin"
>
>  GO_EXTRA_LDFLAGS += ' -X ${GO_IMPORT}/prog.GitRevision=${SRCREV}'
>
> -export GOHOSTFLAGS = "${GO_LINKSHARED} ${GOBUILDFLAGS}"
> -export GOTARGETFLAGS = "${GO_LINKSHARED} ${GOBUILDFLAGS}"
> +export GOHOSTFLAGS = "${GOBUILDFLAGS}"
> +export GOTARGETFLAGS = "${GOBUILDFLAGS}"
>  export TARGETOS = '${GOOS}'
>  export TARGETARCH = '${GOARCH}'
>  export TARGETVMARCH = '${GOARCH}'
>
> -CGO_ENABLED = "1"
> +CGO_ENABLED = "0"
> +
> +# -buildmode=pie requires external (cgo) linking on ARM and x86
> +GOBUILDFLAGS:remove = "-buildmode=pie"
>
>  LDFLAGS:append:class-target = "${@bb.utils.contains_any("TC_CXX_RUNTIME", "llvm android", " -lc++", " -lstdc++", d)}"
>
> @@ -47,6 +51,7 @@ do_compile:class-target() {
>      export HOSTOS="${GOOS}"
>      export HOSTARCH="${GOARCH}"
>      export SYZ_CC_${TARGETOS}_${TARGETARCH}="${CC}"
> +    export SYZ_CXX_${TARGETOS}_${TARGETARCH}="${CXX}"
>
>      # Unset GOOS and GOARCH so that the correct syz-sysgen binary can be
>      # generated. Fixes:
> @@ -54,12 +59,12 @@ do_compile:class-target() {
>      unset GOOS
>      unset GOARCH
>
> -    oe_runmake GO="${GO}" CFLAGS="${CXXFLAGS} ${LDFLAGS}" REV=${SRCREV} target
> +    oe_runmake GO="${GO}" REV=${SRCREV} target
>  }
>
>  do_install:class-native() {
> -    SYZ_BINS_NATIVE="syz-manager syz-runtest syz-repro syz-mutate syz-prog2c \
> -                     syz-db syz-upgrade"
> +    SYZ_BINS_NATIVE="syz-manager syz-repro syz-mutate syz-prog2c syz-db \
> +                     syz-upgrade"
>
>      install -d ${D}${bindir}
>
> @@ -70,7 +75,7 @@ do_install:class-native() {
>
>  do_install:class-target() {
>      SYZ_TARGET_DIR="${TARGETOS}_${TARGETARCH}"
> -    SYZ_BINS_TARGET="syz-fuzzer syz-execprog syz-stress syz-executor"
> +    SYZ_BINS_TARGET="syz-execprog syz-executor"
>
>      install -d ${D}${bindir}/${SYZ_TARGET_DIR}
>
> --
> 2.49.0
>
Stefan Wiehler Aug. 14, 2025, 7:33 a.m. UTC | #2
> its failing on musl targets
> 
>   In file included from executor/executor.cc:511:
>     executor/executor_linux.h:84:12: error: use of undeclared
> identifier 'pkey_alloc'
>        84 |                 int pk = pkey_alloc(0, 0);
>           |                          ^
>     executor/executor_linux.h:94:3: error: use of undeclared identifier
> 'pkey_free'
>        94 |                 pkey_free(pkeys[npkey]);
>           |                 ^
>     executor/executor_linux.h:137:47: error: use of undeclared
> identifier 'PKEY_DISABLE_WRITE'
>       137 |         if (pkeys_enabled && pkey_set(RESERVED_PKEY,
> PKEY_DISABLE_WRITE))
>           |                                                      ^
>     executor/executor_linux.h:143:23: error: use of undeclared
> identifier 'pkey_set'
>       143 |         if (pkeys_enabled && pkey_set(RESERVED_PKEY, 0))
>           |                              ^
>     executor/executor_linux.h:165:23: error: use of undeclared
> identifier 'pkey_mprotect'
>       165 |         if (pkeys_enabled && pkey_mprotect(data_buf,
> cov->data_size, prot, RESERVED_PKEY))
>           |                              ^
>     In file included from executor/executor.cc:565:
>     executor/files.h:20:6: error: no member named 'gl_opendir' in 'glob_t'
>        20 |         buf.gl_opendir = reinterpret_cast<void* (*)(const
> char* name)>(opendir);
>           |         ~~~ ^
>     executor/files.h:21:6: error: no member named 'gl_closedir' in 'glob_t'
>        21 |         buf.gl_closedir = reinterpret_cast<void (*)(void*
> dirp)>(closedir);
>           |         ~~~ ^
>     executor/files.h:33:6: error: no member named 'gl_readdir' in 'glob_t'
>        33 |         buf.gl_readdir = [](void* dir) -> dirent* {
>           |         ~~~ ^
>     executor/files.h:46:6: error: no member named 'gl_stat' in 'glob_t'
>        46 |         buf.gl_stat = stat;
>           |         ~~~ ^
>     executor/files.h:47:6: error: no member named 'gl_lstat' in 'glob_t'
>        47 |         buf.gl_lstat = lstat;
>           |         ~~~ ^
>     executor/files.h:48:60: error: use of undeclared identifier 'GLOB_ALTDIRFUNC'
>        48 |         int res = glob(pattern.c_str(), GLOB_MARK |
> GLOB_NOSORT | GLOB_ALTDIRFUNC, nullptr, &buf);
>           |                                                                   ^
>     In file included from executor/executor.cc:568:
>     executor/snapshot.h:91:25: error: use of undeclared identifier
> 'pkey_mprotect'
>        91 |                         if (pkeys_enabled &&
> pkey_mprotect(output, static_cast<uint64>(rpc::Const::MaxOutputSize),
>           |                                              ^

musl does not implement the Memory Protection Keys API, so it would be a
non-trivial task to provide a shim. Besides, upstream does not seem to
have any intention to support musl as the only musl-related patches were
provided by the initial recipe author. Therefore, I will mark musl as
incompatible and send a v3.


> On Tue, Aug 12, 2025 at 8:39 AM Stefan Wiehler <me@sephalon.net> wrote:
>>
>> - All patches have been upstreamed
>> - Add Go module dependencies to allow offline builds since upstream does
>>    not vendor them into the repo anymore
>> - In accordance to upstream, disable cgo as we are unable to compile
>>    with it on all supported architectures; in addition, remove
>>    -linkshared and -buildmode=pie as it requires external (cgo) linking
>>    (the latter only on ARM and x86). Binary size hardly matters here as
>>    syzkaller is unlikely to be shipped in a production environment.
>> - Add missing metadata and comply with style guide
>>
>> Signed-off-by: Stefan Wiehler <me@sephalon.net>
>> ---
>> changes in v2:
>> - update to latest tip of trunk, which includes an upstreamed fix for
>>    the Go module cache being partially non-writeable/deletable
>>    (https://github.com/google/syzkaller/pull/6269)
>> ---
>>   .../syzkaller/syzkaller-go-mods.inc           | 76 ++++++++++++++++++
>>   .../syzkaller/syzkaller-licenses.inc          | 80 +++++++++++++++++++
>>   ...cutor-Include-missing-linux-falloc.h.patch | 37 ---------
>>   ...ve-including-error.h-in-test_linux.h.patch | 29 -------
>>   ...ets.go-allow-users-to-override-hardc.patch | 62 --------------
>>   .../recipes-test/syzkaller/syzkaller_git.bb   | 41 +++++-----
>>   6 files changed, 179 insertions(+), 146 deletions(-)
>>   create mode 100644 meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
>>   create mode 100644 meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
>>   delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
>>   delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch
>>   delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
>>
>> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc b/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
>> new file mode 100644
>> index 0000000000..807f2367a2
>> --- /dev/null
>> +++ b/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
>> @@ -0,0 +1,76 @@
>> +SRC_URI += "\
>> +    gomod://cel.dev/expr;version=v0.24.0;sha256sum=4456189315133136b72bfb40312d731c8957cce38a2807ac21d09f5158259bb7 \
>> +    gomod://cloud.google.com/go;version=v0.121.3;sha256sum=ebd16ecd4637745c842ecc337241a4d77cd9cdb1a2f422c7f9cabc477ae5da25 \
>> +    gomod://cloud.google.com/go/auth;version=v0.16.2;sha256sum=38f4f9fb94b864bff2e7852c826ae6605a9fda6510cc6b6b3e02a047dd4243cd \
>> +    gomod://cloud.google.com/go/auth/oauth2adapt;version=v0.2.8;sha256sum=4cd64264bafc4dd05f645452d6e1485adf92309130bd82b4c595db10cd534963 \
>> +    gomod://cloud.google.com/go/bigquery;version=v1.69.0;sha256sum=fea7514e6dde4d4c9bd1d334034d89c980759afa303f020c3a273f7d9f3c095d \
>> +    gomod://cloud.google.com/go/compute/metadata;version=v0.7.0;sha256sum=89c19841bf87fe53034aed53505c527fe6674d3bf0f21c0e972374f94fb08eb4 \
>> +    gomod://cloud.google.com/go/iam;version=v1.5.2;sha256sum=5ef0d3a00d72b44c498688551616bce430386bbfc99b5a7f76c0788a92733984 \
>> +    gomod://cloud.google.com/go/monitoring;version=v1.24.2;sha256sum=d93cb9138747418f2e2731c2312c4dc1a75daf3c2a35be7a337901c5c7251381 \
>> +    gomod://cloud.google.com/go/spanner;version=v1.82.0;sha256sum=6c997bbf50a2d9dee4094bf13cc0440d6ee7ec707c681ecbc58097bf99e3fb86 \
>> +    gomod://cloud.google.com/go/storage;version=v1.55.0;sha256sum=b14ef810eb8117e7c8a7e3478b7d48434929264d89d62640e08b05c48b3cfcc6 \
>> +    gomod://github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp;version=v1.5.2;sha256sum=d5c597a20d3a7057a9c3b3ada021930351247baf5e65f08996cecc84027446b1 \
>> +    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp;version=v1.28.0;sha256sum=9fa827784e2495cd18f204e06abbd109a9dbe1a3b330bf82294b8aac7285ad3b \
>> +    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric;version=v0.52.0;sha256sum=999dd61d8aa7b61f89b547ad271c4597bddd3de3c4e9801a672fe2d759ff5c3a \
>> +    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping;version=v0.52.0;sha256sum=2d0f67011ae88b29113717680c240c02ef3c3c84ab74868b11fcc831c59fcc17 \
>> +    gomod://github.com/VividCortex/gohistogram;version=v1.0.0;sha256sum=16ebeceeb7e4066f90edbfb90282cd90d4dad0f71339199551de3fbdc7e8c545 \
>> +    gomod://github.com/apache/arrow/go/v15;version=v15.0.2;sha256sum=87b75aac27b395f651f232b4b89c184a6ab23a65596acc46b4efacb116f98adf \
>> +    gomod://github.com/beorn7/perks;version=v1.0.1;sha256sum=25bd9e2d94aca770e6dbc1f53725f84f6af4432f631d35dd2c46f96ef0512f1a \
>> +    gomod://github.com/cespare/xxhash/v2;version=v2.3.0;sha256sum=145a26cdc7c49db566017b807c4989ee7f7ddeb569423e9cb99f995fac3621d3 \
>> +    gomod://github.com/cncf/xds/go;version=v0.0.0-20250501225837-2ac532fd4443;sha256sum=c7b36d6c805ab8718fa8700f69bee29c225f10258fd29315683b102398c013a8 \
>> +    gomod://github.com/envoyproxy/go-control-plane/envoy;version=v1.32.4;sha256sum=6baebcc1f441672ade0dacb4ca553a3d857f915590ca07bbe79314ddf62e6fae \
>> +    gomod://github.com/envoyproxy/protoc-gen-validate;version=v1.2.1;sha256sum=ad9d2639aff17db6be291069c5463c46ed8ac37a0c6c1b57fae5465c5effb567 \
>> +    gomod://github.com/felixge/httpsnoop;version=v1.0.4;sha256sum=75aa471311265e9860df0e523400b4650ed0c1a33262786a421f07226792e494 \
>> +    gomod://github.com/go-jose/go-jose/v4;version=v4.1.0;sha256sum=27274e6a0878655e62a8c042934dfbb33c6db5992bc31b21df5df6c1cb944e58 \
>> +    gomod://github.com/go-logr/logr;version=v1.4.3;sha256sum=523d7a3587fe73f61ef41c8bc627f7d7f38de8104d46278154b307e60770ad70 \
>> +    gomod://github.com/go-logr/stdr;version=v1.2.2;sha256sum=9dd6893bf700198485ae699640b49bc1efbc6c73b37cb5792a0476e1fd8f7fef \
>> +    gomod://github.com/goccy/go-json;version=v0.10.5;sha256sum=96e417d4493705f470f7f29858a09cdbe68330f2d7e74cd024fbace4745c0615 \
>> +    gomod://github.com/golang/groupcache;version=v0.0.0-20241129210726-2c02b8208cf8;sha256sum=163367355442a630b12b0b452892cd98e99fcfdf7e40b68d358be73479cc1c23 \
>> +    gomod://github.com/golang/protobuf;version=v1.5.4;sha256sum=9a2f43d3eac8ceda506ebbeb4f229254b87235ce90346692a0e233614182190b \
>> +    gomod://github.com/google/flatbuffers;version=v25.1.24+incompatible;sha256sum=925600f16ce3b62c77aff5a662435984ed37af7cc05577169564e902e0c31c29 \
>> +    gomod://github.com/google/s2a-go;version=v0.1.9;sha256sum=bf8f4b159d3fc201477822ed2514e4f05f58c764b78ffed73ec0accce5fb7f07 \
>> +    gomod://github.com/google/uuid;version=v1.6.0;sha256sum=d0f02f377217f42702e259684e06441edbf5140dddcc34ba9bea56038b38a6ed \
>> +    gomod://github.com/googleapis/enterprise-certificate-proxy;version=v0.3.6;sha256sum=6c44108f588c97a6a08b5ed907c3cc47dce31913f219a6d02b13e463d355603c \
>> +    gomod://github.com/googleapis/gax-go/v2;version=v2.14.2;sha256sum=1cd109cf4d1a81363f956885d1f7e7086bf9805122dbcf9382ca0c54a21979d5 \
>> +    gomod://github.com/gorilla/handlers;version=v1.5.2;sha256sum=7a69a0605890d69e91404e46b2d2063ef3c5c4e05c844ea154ef95d3479d7b7b \
>> +    gomod://github.com/ianlancetaylor/demangle;version=v0.0.0-20250625212726-86fd2c0a1a74;sha256sum=7ad8b2ba609745ed4b8923c0c2e8ab44acf7386eb0d6fd7ad7bf6da962bd0743 \
>> +    gomod://github.com/klauspost/compress;version=v1.18.0;sha256sum=c4679e4cbc820a21758199d985be754abf5eb2a38e6f1de95cd70b2e7ef06905 \
>> +    gomod://github.com/klauspost/cpuid/v2;version=v2.2.10;sha256sum=db89665fa22cef477dc551b72d49707c516b749c17ed154bf67eb8081ee08dff \
>> +    gomod://github.com/munnerz/goautoneg;version=v0.0.0-20191010083416-a7dc8b61c822;sha256sum=3d7ce17916779890be02ea6b3dd6345c3c30c1df502ad9d8b5b9b310e636afd9 \
>> +    gomod://github.com/pierrec/lz4/v4;version=v4.1.18;sha256sum=b397db34ff05610125e7c9de6de067a174a70ba3ba7dac81ba8ce4f22b1c0933 \
>> +    gomod://github.com/prometheus/client_golang;version=v1.23.0;sha256sum=f104d43e35b9217845792ec8eabbde59e31a11aaba64c47408cff8bafde2aa9e \
>> +    gomod://github.com/prometheus/client_model;version=v0.6.2;sha256sum=67017b19f220c6ab91ecfdd10a93824e2a8b09fcb6390054dbdc49df3354a9ca \
>> +    gomod://github.com/prometheus/common;version=v0.65.0;sha256sum=c97b1ab4d2c723923b367dbe48c283eafc0b94eb14faf8c98d81746b015242a9 \
>> +    gomod://github.com/prometheus/procfs;version=v0.16.1;sha256sum=e4b74815566cbf5aa372d23e1de32f16ac5c3c4c80bc94a31fdee60a1de6074a \
>> +    gomod://github.com/sergi/go-diff;version=v1.4.0;sha256sum=63aef1860b251af1421ba0a014a6bb08a60833f13f948f3d88d66754bb484f53 \
>> +    gomod://github.com/spiffe/go-spiffe/v2;version=v2.5.0;sha256sum=3b96ee2cef9a550ec779125216a03225fff44d3d702d51b6ef21e2202d2517d6 \
>> +    gomod://github.com/ulikunitz/xz;version=v0.5.12;sha256sum=0cba3268140e7c112c329b19ce3d4c8d4768a784fe0c80112bfa7bf43ace1a4a \
>> +    gomod://github.com/zeebo/errs;version=v1.4.0;sha256sum=5b7fb5cbe6bbd36933e8c98572f85121994e9842aefc90986f8d3a192cb69257 \
>> +    gomod://github.com/zeebo/xxh3;version=v1.0.2;sha256sum=190e5ef1f672e9321a1580bdd31c6440fde6044ca8168d2b489cf50cdc4f58a6 \
>> +    gomod://go.opencensus.io;version=v0.24.0;sha256sum=203a767d7f8e7c1ebe5588220ad168d1e15b14ae70a636de7ca9a4a88a7e0d0c \
>> +    gomod://go.opentelemetry.io/auto/sdk;version=v1.1.0;sha256sum=006d3a5a7292d11f093ce65fcd5a15d15fb7bd11d0e066503f91bd64c4bffe2c \
>> +    gomod://go.opentelemetry.io/contrib/detectors/gcp;version=v1.36.0;sha256sum=67e381df5c7e78edda7b773ebdef6e5dad42486e87eec838329ade6919985119 \
>> +    gomod://go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc;version=v0.61.0;sha256sum=9812bf570350cd1377bf458b71ea5d9fffe44733fc2dccbcfd1f5c564a6b27b7 \
>> +    gomod://go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp;version=v0.61.0;sha256sum=0009120ed94c4279573eea0f01841f7c9ff51cafd1c9559fc09820c9f870f399 \
>> +    gomod://go.opentelemetry.io/otel;version=v1.36.0;sha256sum=f3cdc5d41b3056ab4fa95ee1145708d12e5a5fd0106f79c3f0133a7f5f1ef799 \
>> +    gomod://go.opentelemetry.io/otel/metric;version=v1.36.0;sha256sum=a4ff3b88cca25a317752193a65547250822cdd6acfa08d9cbb57071d1e1c4951 \
>> +    gomod://go.opentelemetry.io/otel/sdk;version=v1.36.0;sha256sum=d16c77fb714cca3036530fddba0baf5f1ad21a6de8dffd73130668807c61b01a \
>> +    gomod://go.opentelemetry.io/otel/sdk/metric;version=v1.36.0;sha256sum=946a0d0d2b5ab3636a848a3041f8b7bd91e505cd563dc9907a3836076c9e214f \
>> +    gomod://go.opentelemetry.io/otel/trace;version=v1.36.0;sha256sum=f8877234c555f5f793fed92b17e2bf6744f6c504871eb713fa1e916ba0b6c6b6 \
>> +    gomod://golang.org/x/crypto;version=v0.40.0;sha256sum=6a55423d327359615db923c5f17e5f10c4c7d91c39ef8d0b7f6e0876f89ff9da \
>> +    gomod://golang.org/x/exp;version=v0.0.0-20250711185948-6ae5c78190dc;sha256sum=01d8fecd44e904b86e66c78cf6b403b27312513c0534455ee7b9c86600d9b7aa \
>> +    gomod://golang.org/x/net;version=v0.42.0;sha256sum=cc9f79d1c8a796c756b636cee007b4ac5eba7b1f3276cd42658f4ac4a28cfbc1 \
>> +    gomod://golang.org/x/oauth2;version=v0.30.0;sha256sum=1e1028d0b190948f0cd44229bfa298440cb2481f601f992e12424bc6fa1f183c \
>> +    gomod://golang.org/x/sync;version=v0.16.0;sha256sum=ca43984183eb14f7f50d33da350312fed1c42e106dceac2437bfd5084b497dcd \
>> +    gomod://golang.org/x/sys;version=v0.34.0;sha256sum=27d5489227865ffffc3fbbbaf6100952ca2925eba19cfdff01e6e76b986b4bb4 \
>> +    gomod://golang.org/x/text;version=v0.27.0;sha256sum=1230ce66d74ed4510f1578f25b4e53beee00926dc24c86fab7242637f8415ea8 \
>> +    gomod://golang.org/x/time;version=v0.12.0;sha256sum=cdcb04c43b112919c5e0d0fa1d90769124ad56918a44e6cb0747876ed7e5015c \
>> +    gomod://golang.org/x/xerrors;version=v0.0.0-20240903120638-7835f813f4da;sha256sum=07ee9f680118861ee732ce0df4553b834383b87e0519fb9a0990c51d7abd6885 \
>> +    gomod://google.golang.org/api;version=v0.237.0;sha256sum=944b38303416810562a220f444ec7c0c13834793a9e7e46ce0f644c3c5b478e0 \
>> +    gomod://google.golang.org/appengine/v2;version=v2.0.6;sha256sum=9eab40689a66240d1132f31d2418a03776221ed07c3f72e22e9527ad063c9dde \
>> +    gomod://google.golang.org/genproto;version=v0.0.0-20250603155806-513f23925822;sha256sum=631efdcf106cc5af4bb1e3298a40eedebe8a023a408b0465a5cb3ee486a57879 \
>> +    gomod://google.golang.org/genproto/googleapis/api;version=v0.0.0-20250603155806-513f23925822;sha256sum=ec9d0cf0e96082fc6eef3a8beeb4cb74951294a57dac0d501b25a37e64df2594 \
>> +    gomod://google.golang.org/genproto/googleapis/rpc;version=v0.0.0-20250603155806-513f23925822;sha256sum=3b43fafd95300765d08eb0d0137b699c5ee9c105b6af93c4916e7081c97b3a75 \
>> +    gomod://google.golang.org/grpc;version=v1.73.0;sha256sum=7d628abd6c4c133205db6b72e374bbd2f438b12a2a5f838f34fd8d95d91f8c0b \
>> +    gomod://google.golang.org/protobuf;version=v1.36.6;sha256sum=3294ac8ea5089b3c231351afaea4f012e8027a9beeb523bbf31dcb383cc0ab99 \
>> +"
>> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc b/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
>> new file mode 100644
>> index 0000000000..2be12f2853
>> --- /dev/null
>> +++ b/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
>> @@ -0,0 +1,80 @@
>> +LICENSE += "& BSD-3-Clause & MIT"
>> +
>> +LIC_FILES_CHKSUM += "\
>> +    file://pkg/mod/cel.dev/expr@v0.24.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/cloud.google.com/go/auth/oauth2adapt@v0.2.8/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/cloud.google.com/go/auth@v0.16.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/cloud.google.com/go/bigquery@v1.69.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/cloud.google.com/go/compute/metadata@v0.7.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/cloud.google.com/go/iam@v1.5.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/cloud.google.com/go/monitoring@v1.24.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/cloud.google.com/go/spanner@v1.82.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/cloud.google.com/go/storage@v1.55.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/cloud.google.com/go@v0.121.3/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/!google!cloud!platform/grpc-gcp-go/grpcgcp@v1.5.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/detectors/gcp@v1.28.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/exporter/metric@v0.52.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/internal/resourcemapping@v0.52.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/!vivid!cortex/gohistogram@v1.0.0/LICENSE;md5=13880cf5821e7668762c89bb8a6045d3;spdx=MIT \
>> +    file://pkg/mod/github.com/apache/arrow/go/v15@v15.0.2/LICENSE.txt;md5=9046099156f93a7f0ac340571476a58b;spdx=Unknown \
>> +    file://pkg/mod/github.com/beorn7/perks@v1.0.1/LICENSE;md5=0d0738f37ee8dc0b5f88a32e83c60198;spdx=MIT \
>> +    file://pkg/mod/github.com/cespare/xxhash/v2@v2.3.0/LICENSE.txt;md5=802da049c92a99b4387d3f3d91b00fa9;spdx=MIT \
>> +    file://pkg/mod/github.com/cncf/xds/go@v0.0.0-20250501225837-2ac532fd4443/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/envoyproxy/go-control-plane/envoy@v1.32.4/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/envoyproxy/protoc-gen-validate@v1.2.1/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/felixge/httpsnoop@v1.0.4/LICENSE.txt;md5=684da2bf3eed8fc8860e75ad84638225;spdx=MIT \
>> +    file://pkg/mod/github.com/go-jose/go-jose/v4@v4.1.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/go-logr/logr@v1.4.3/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/go-logr/stdr@v1.2.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/goccy/go-json@v0.10.5/LICENSE;md5=33a07164132d795872805bfc53f6097d;spdx=MIT \
>> +    file://pkg/mod/github.com/golang/groupcache@v0.0.0-20241129210726-2c02b8208cf8/LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/google/flatbuffers@v25.1.24+incompatible/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/google/s2a-go@v0.1.9/LICENSE.md;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/google/uuid@v1.6.0/LICENSE;md5=88073b6dd8ec00fe09da59e0b6dfded1;spdx=BSD-3-Clause \
>> +    file://pkg/mod/github.com/googleapis/enterprise-certificate-proxy@v0.3.6/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/googleapis/gax-go/v2@v2.14.2/LICENSE;md5=0dd48ae8103725bd7b401261520cdfbb;spdx=BSD-3-Clause \
>> +    file://pkg/mod/github.com/ianlancetaylor/demangle@v0.0.0-20250625212726-86fd2c0a1a74/LICENSE;md5=81729dc66d48cba483290ca39318923d;spdx=Unknown \
>> +    file://pkg/mod/github.com/klauspost/compress@v1.18.0/LICENSE;md5=d0fd9ebda39468b51ff4539c9fbb13a8;spdx=BSD-3-Clause \
>> +    file://pkg/mod/github.com/munnerz/goautoneg@v0.0.0-20191010083416-a7dc8b61c822/LICENSE;md5=0c241922fc69330e2e5590de114f3bf5;spdx=BSD-3-Clause \
>> +    file://pkg/mod/github.com/pierrec/lz4/v4@v4.1.18/LICENSE;md5=09ece85f3c312a63b522bfc6ebd44943;spdx=Unknown \
>> +    file://pkg/mod/github.com/prometheus/client_golang@v1.23.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/prometheus/client_model@v0.6.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/prometheus/common@v0.65.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/prometheus/procfs@v0.16.1/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/sergi/go-diff@v1.4.0/APACHE-LICENSE-2.0;md5=2ee41112a44fe7014dce33e26468ba93;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/spiffe/go-spiffe/v2@v2.5.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/github.com/ulikunitz/xz@v0.5.12/LICENSE;md5=3c82255323cf3d48815acdbf9068b715;spdx=Unknown \
>> +    file://pkg/mod/github.com/zeebo/errs@v1.4.0/LICENSE;md5=84914ab36fc0eb48edbaa53e66e8d326;spdx=MIT \
>> +    file://pkg/mod/github.com/zeebo/xxh3@v1.0.2/LICENSE;md5=acf3e468cbf92b877ec5cdff11749253;spdx=Unknown \
>> +    file://pkg/mod/go.opencensus.io@v0.24.0/LICENSE;md5=175792518e4ac015ab6696d16c4f607e;spdx=Apache-2.0 \
>> +    file://pkg/mod/go.opentelemetry.io/auto/sdk@v1.1.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/go.opentelemetry.io/contrib/detectors/gcp@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.61.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.61.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/go.opentelemetry.io/otel/metric@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/go.opentelemetry.io/otel/sdk/metric@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/go.opentelemetry.io/otel/sdk@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/go.opentelemetry.io/otel/trace@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/go.opentelemetry.io/otel@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
>> +    file://pkg/mod/golang.org/x/crypto@v0.40.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
>> +    file://pkg/mod/golang.org/x/exp@v0.0.0-20250711185948-6ae5c78190dc/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
>> +    file://pkg/mod/golang.org/x/net@v0.42.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
>> +    file://pkg/mod/golang.org/x/oauth2@v0.30.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
>> +    file://pkg/mod/golang.org/x/sync@v0.16.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
>> +    file://pkg/mod/golang.org/x/sys@v0.34.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
>> +    file://pkg/mod/golang.org/x/text@v0.27.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
>> +    file://pkg/mod/golang.org/x/time@v0.12.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
>> +    file://pkg/mod/golang.org/x/xerrors@v0.0.0-20240903120638-7835f813f4da/LICENSE;md5=e828fb91fe88d9e5d620842cf8bd81b0;spdx=Unknown \
>> +    file://pkg/mod/google.golang.org/api@v0.237.0/LICENSE;md5=a651bb3d8b1c412632e28823bb432b40;spdx=BSD-3-Clause \
>> +    file://pkg/mod/google.golang.org/genproto/googleapis/api@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/google.golang.org/genproto/googleapis/rpc@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/google.golang.org/genproto@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/google.golang.org/grpc@v1.73.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +    file://pkg/mod/google.golang.org/protobuf@v1.36.6/LICENSE;md5=02d4002e9171d41a8fad93aa7faf3956;spdx=BSD-3-Clause \
>> +"
>> +
>> +LIC_FILES_CHKSUM:class-native += "\
>> +    file://pkg/mod/github.com/golang/protobuf@v1.5.4/LICENSE;md5=939cce1ec101726fa754e698ac871622;spdx=BSD-3-Clause \
>> +    file://pkg/mod/github.com/gorilla/handlers@v1.5.2/LICENSE;md5=c30eee78985cf2584cded5f89ba3d787;spdx=Unknown \
>> +    file://pkg/mod/google.golang.org/appengine/v2@v2.0.6/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
>> +"
>> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch b/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
>> deleted file mode 100644
>> index 23bfb9a5e2..0000000000
>> --- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
>> +++ /dev/null
>> @@ -1,37 +0,0 @@
>> -From 9db789b4498d4130450e988757914c03e42b40f5 Mon Sep 17 00:00:00 2001
>> -From: Khem Raj <raj.khem@gmail.com>
>> -Date: Mon, 19 Jun 2023 18:33:36 -0700
>> -Subject: [PATCH] executor: Include missing linux/falloc.h
>> -
>> -Its needed for FALLOC_FL_ZERO_RANGE which needs this header, it works
>> -with glibc because fcntl.h includes this header indirectly, however the
>> -failure comes to fore with musl C library where this header is not
>> -included indirectly by other system headers, therefore include it as
>> -required.
>> -
>> -Fixes
>> -In file included from executor/common.h:505:
>> -executor/common_linux.h:5604:16: error: use of undeclared identifier 'FALLOC_FL_ZERO_RANGE'
>> -        fallocate(fd, FALLOC_FL_ZERO_RANGE, 0, SWAP_FILE_SIZE);
>> -                      ^
>> -Upstream-Status: Submitted [https://github.com/google/syzkaller/pull/3974]
>> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ----
>> - executor/common_linux.h | 1 +
>> - 1 file changed, 1 insertion(+)
>> -
>> -diff --git a/executor/common_linux.h b/executor/common_linux.h
>> -index d5152e058..9ae3fb159 100644
>> ---- a/executor/common_linux.h
>> -+++ b/executor/common_linux.h
>> -@@ -5585,6 +5585,7 @@ static long syz_pkey_set(volatile long pkey, volatile long val)
>> - #include <sys/stat.h>
>> - #include <sys/swap.h>
>> - #include <sys/types.h>
>> -+#include <linux/falloc.h>
>> -
>> - #define SWAP_FILE "./swap-file"
>> - #define SWAP_FILE_SIZE (128 * 1000 * 1000) // 128 MB.
>> ---
>> -2.41.0
>> -
>> 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
>> deleted file mode 100644
>> index 8bb19fb72b..0000000000
>> --- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch
>> +++ /dev/null
>> @@ -1,29 +0,0 @@
>> -From 648868595cf290e77aab1f271db2a57e1f791301 Mon Sep 17 00:00:00 2001
>> -From: Khem Raj <raj.khem@gmail.com>
>> -Date: Mon, 20 May 2024 20:37:07 -0700
>> -Subject: [PATCH] executor: Remove including <error.h> in test_linux.h
>> -
>> -it seems to be redundant and moreover it lets us compile on musl which
>> -does not provide this system header
>> -
>> -Upstream-Status: Submitted [https://github.com/google/syzkaller/pull/4822]
>> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ----
>> - executor/test_linux.h | 1 -
>> - 1 file changed, 1 deletion(-)
>> -
>> -diff --git a/executor/test_linux.h b/executor/test_linux.h
>> -index 7cf459569..8c9493539 100644
>> ---- a/executor/test_linux.h
>> -+++ b/executor/test_linux.h
>> -@@ -1,7 +1,6 @@
>> - // Copyright 2017 syzkaller project authors. All rights reserved.
>> - // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
>> -
>> --#include <error.h>
>> - #include <stdint.h>
>> - #include <sys/utsname.h>
>> -
>> ---
>> -2.45.1
>> -
>> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch b/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
>> deleted file mode 100644
>> index 61f4351651..0000000000
>> --- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
>> +++ /dev/null
>> @@ -1,62 +0,0 @@
>> -From aca1030d29f627314d13884ebc7b2c313d718df7 Mon Sep 17 00:00:00 2001
>> -From: Ovidiu Panait <ovidiu.panait@windriver.com>
>> -Date: Wed, 13 Apr 2022 17:17:54 +0300
>> -Subject: [PATCH] sys/targets/targets.go: allow users to override hardcoded
>> - cross-compilers
>> -
>> -Currently, cross compiler names are hardcoded for each os/arch combo. However,
>> -toolchain tuples differ, especially when using vendor provided toolchains.
>> -Allow users to specify the cross compiler for an os/arch combo using
>> -SYZ_CC_<os>_<arch> environment variables.
>> -
>> -Also, remove hardcoded "-march=armv6" flag to fix compilation on arm.
>> -
>> -Upstream-Status: Inappropriate [embedded specific]
>> -
>> -Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
>> ----
>> - sys/targets/targets.go | 19 +++++++++++--------
>> - 1 file changed, 11 insertions(+), 8 deletions(-)
>> -
>> ---- a/sys/targets/targets.go
>> -+++ b/sys/targets/targets.go
>> -@@ -262,7 +262,6 @@ var List = map[string]map[string]*Target
>> -                       PtrSize:          4,
>> -                       PageSize:         4 << 10,
>> -                       LittleEndian:     true,
>> --                      CFlags:           []string{"-D__LINUX_ARM_ARCH__=6", "-march=armv6"},
>> -                       Triple:           "arm-linux-gnueabi",
>> -                       KernelArch:       "arm",
>> -                       KernelHeaderArch: "arm",
>> -@@ -700,12 +699,16 @@ func initTarget(target *Target, OS, arch
>> -       for i := range target.CFlags {
>> -               target.replaceSourceDir(&target.CFlags[i], sourceDir)
>> -       }
>> --      if OS == Linux && arch == runtime.GOARCH {
>> --              // Don't use cross-compiler for native compilation, there are cases when this does not work:
>> --              // https://github.com/google/syzkaller/pull/619
>> --              // https://github.com/google/syzkaller/issues/387
>> --              // https://github.com/google/syzkaller/commit/06db3cec94c54e1cf720cdd5db72761514569d56
>> --              target.Triple = ""
>> -+      if OS == Linux {
>> -+              if cc := os.Getenv("SYZ_CC_" + OS + "_" + arch); cc != "" {
>> -+                      target.CCompiler = cc
>> -+              } else if arch == runtime.GOARCH {
>> -+                      // Don't use cross-compiler for native compilation, there are cases when this does not work:
>> -+                      // https://github.com/google/syzkaller/pull/619
>> -+                      // https://github.com/google/syzkaller/issues/387
>> -+                      // https://github.com/google/syzkaller/commit/06db3cec94c54e1cf720cdd5db72761514569d56
>> -+                      target.Triple = ""
>> -+              }
>> -       }
>> -       if target.CCompiler == "" {
>> -               target.setCompiler(useClang)
>> -@@ -839,7 +842,7 @@ func (target *Target) lazyInit() {
>> -       // On CI we want to fail loudly if cross-compilation breaks.
>> -       // Also fail if SOURCEDIR_GOOS is set b/c in that case user probably assumes it will work.
>> -       if (target.OS != runtime.GOOS || !runningOnCI) && getSourceDir(target) == "" {
>> --              if _, err := exec.LookPath(target.CCompiler); err != nil {
>> -+              if _, err := exec.LookPath(strings.Fields(target.CCompiler)[0]); err != nil {
>> -                       target.BrokenCompiler = fmt.Sprintf("%v is missing (%v)", target.CCompiler, err)
>> -                       return
>> -               }
>> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
>> index b2b0f7ae9e..6aef105dd9 100644
>> --- a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
>> +++ b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
>> @@ -1,22 +1,23 @@
>> -DESCRIPTION = "syzkaller is an unsupervised coverage-guided kernel fuzzer"
>> +SUMMARY = "Unsupervised coverage-guided kernel fuzzer"
>> +HOMEPAGE = "https://github.com/google/syzkaller"
>> +BUGTRACKER = "https://github.com/google/syzkaller/issues"
>> +SECTION = "devel"
>>   LICENSE = "Apache-2.0"
>>   LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=5335066555b14d832335aa4660d6c376"
>> +require ${BPN}-licenses.inc
>>
>> -inherit go-mod
>> -
>> -GO_IMPORT = "github.com/google/syzkaller"
>> +DEPENDS:class-native += "qemu-system-native"
>>
>> -SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT};branch=master \
>> -           file://0001-sys-targets-targets.go-allow-users-to-override-hardc.patch;patchdir=src/${GO_IMPORT} \
>> -           file://0001-executor-Include-missing-linux-falloc.h.patch;patchdir=src/${GO_IMPORT} \
>> -           file://0001-executor-Remove-including-error.h-in-test_linux.h.patch;patchdir=src/${GO_IMPORT} \
>> -           "
>> -SRCREV = "25905f5d0a2a7883bd33491997556193582c6059"
>> +SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX};branch=master"
>> +SRCREV = "22ec1469fe8c0ba256de07e8f97fa7b375b522bd"
>> +require ${BPN}-go-mods.inc
>>
>>   # Upstream repo does not tag
>>   UPSTREAM_CHECK_COMMITS = "1"
>>
>> -export GOPROXY = "https://proxy.golang.org,direct"
>> +inherit go-mod
>> +
>> +GO_IMPORT = "github.com/google/syzkaller"
>>
>>   COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux"
>>
>> @@ -24,13 +25,16 @@ B = "${S}/src/${GO_IMPORT}/bin"
>>
>>   GO_EXTRA_LDFLAGS += ' -X ${GO_IMPORT}/prog.GitRevision=${SRCREV}'
>>
>> -export GOHOSTFLAGS = "${GO_LINKSHARED} ${GOBUILDFLAGS}"
>> -export GOTARGETFLAGS = "${GO_LINKSHARED} ${GOBUILDFLAGS}"
>> +export GOHOSTFLAGS = "${GOBUILDFLAGS}"
>> +export GOTARGETFLAGS = "${GOBUILDFLAGS}"
>>   export TARGETOS = '${GOOS}'
>>   export TARGETARCH = '${GOARCH}'
>>   export TARGETVMARCH = '${GOARCH}'
>>
>> -CGO_ENABLED = "1"
>> +CGO_ENABLED = "0"
>> +
>> +# -buildmode=pie requires external (cgo) linking on ARM and x86
>> +GOBUILDFLAGS:remove = "-buildmode=pie"
>>
>>   LDFLAGS:append:class-target = "${@bb.utils.contains_any("TC_CXX_RUNTIME", "llvm android", " -lc++", " -lstdc++", d)}"
>>
>> @@ -47,6 +51,7 @@ do_compile:class-target() {
>>       export HOSTOS="${GOOS}"
>>       export HOSTARCH="${GOARCH}"
>>       export SYZ_CC_${TARGETOS}_${TARGETARCH}="${CC}"
>> +    export SYZ_CXX_${TARGETOS}_${TARGETARCH}="${CXX}"
>>
>>       # Unset GOOS and GOARCH so that the correct syz-sysgen binary can be
>>       # generated. Fixes:
>> @@ -54,12 +59,12 @@ do_compile:class-target() {
>>       unset GOOS
>>       unset GOARCH
>>
>> -    oe_runmake GO="${GO}" CFLAGS="${CXXFLAGS} ${LDFLAGS}" REV=${SRCREV} target
>> +    oe_runmake GO="${GO}" REV=${SRCREV} target
>>   }
>>
>>   do_install:class-native() {
>> -    SYZ_BINS_NATIVE="syz-manager syz-runtest syz-repro syz-mutate syz-prog2c \
>> -                     syz-db syz-upgrade"
>> +    SYZ_BINS_NATIVE="syz-manager syz-repro syz-mutate syz-prog2c syz-db \
>> +                     syz-upgrade"
>>
>>       install -d ${D}${bindir}
>>
>> @@ -70,7 +75,7 @@ do_install:class-native() {
>>
>>   do_install:class-target() {
>>       SYZ_TARGET_DIR="${TARGETOS}_${TARGETARCH}"
>> -    SYZ_BINS_TARGET="syz-fuzzer syz-execprog syz-stress syz-executor"
>> +    SYZ_BINS_TARGET="syz-execprog syz-executor"
>>
>>       install -d ${D}${bindir}/${SYZ_TARGET_DIR}
>>
>> --
>> 2.49.0
>>
Khem Raj Aug. 14, 2025, 6:14 p.m. UTC | #3
On Thu, Aug 14, 2025 at 12:33 AM Stefan Wiehler <me@sephalon.net> wrote:
>
>  > its failing on musl targets
> >
> >   In file included from executor/executor.cc:511:
> >     executor/executor_linux.h:84:12: error: use of undeclared
> > identifier 'pkey_alloc'
> >        84 |                 int pk = pkey_alloc(0, 0);
> >           |                          ^
> >     executor/executor_linux.h:94:3: error: use of undeclared identifier
> > 'pkey_free'
> >        94 |                 pkey_free(pkeys[npkey]);
> >           |                 ^
> >     executor/executor_linux.h:137:47: error: use of undeclared
> > identifier 'PKEY_DISABLE_WRITE'
> >       137 |         if (pkeys_enabled && pkey_set(RESERVED_PKEY,
> > PKEY_DISABLE_WRITE))
> >           |                                                      ^
> >     executor/executor_linux.h:143:23: error: use of undeclared
> > identifier 'pkey_set'
> >       143 |         if (pkeys_enabled && pkey_set(RESERVED_PKEY, 0))
> >           |                              ^
> >     executor/executor_linux.h:165:23: error: use of undeclared
> > identifier 'pkey_mprotect'
> >       165 |         if (pkeys_enabled && pkey_mprotect(data_buf,
> > cov->data_size, prot, RESERVED_PKEY))
> >           |                              ^
> >     In file included from executor/executor.cc:565:
> >     executor/files.h:20:6: error: no member named 'gl_opendir' in 'glob_t'
> >        20 |         buf.gl_opendir = reinterpret_cast<void* (*)(const
> > char* name)>(opendir);
> >           |         ~~~ ^
> >     executor/files.h:21:6: error: no member named 'gl_closedir' in 'glob_t'
> >        21 |         buf.gl_closedir = reinterpret_cast<void (*)(void*
> > dirp)>(closedir);
> >           |         ~~~ ^
> >     executor/files.h:33:6: error: no member named 'gl_readdir' in 'glob_t'
> >        33 |         buf.gl_readdir = [](void* dir) -> dirent* {
> >           |         ~~~ ^
> >     executor/files.h:46:6: error: no member named 'gl_stat' in 'glob_t'
> >        46 |         buf.gl_stat = stat;
> >           |         ~~~ ^
> >     executor/files.h:47:6: error: no member named 'gl_lstat' in 'glob_t'
> >        47 |         buf.gl_lstat = lstat;
> >           |         ~~~ ^
> >     executor/files.h:48:60: error: use of undeclared identifier 'GLOB_ALTDIRFUNC'
> >        48 |         int res = glob(pattern.c_str(), GLOB_MARK |
> > GLOB_NOSORT | GLOB_ALTDIRFUNC, nullptr, &buf);
> >           |                                                                   ^
> >     In file included from executor/executor.cc:568:
> >     executor/snapshot.h:91:25: error: use of undeclared identifier
> > 'pkey_mprotect'
> >        91 |                         if (pkeys_enabled &&
> > pkey_mprotect(output, static_cast<uint64>(rpc::Const::MaxOutputSize),
> >           |                                              ^
>
> musl does not implement the Memory Protection Keys API, so it would be a
> non-trivial task to provide a shim. Besides, upstream does not seem to
> have any intention to support musl as the only musl-related patches were
> provided by the initial recipe author. Therefore, I will mark musl as
> incompatible and send a v3.

Sounds good.

>
>
> > On Tue, Aug 12, 2025 at 8:39 AM Stefan Wiehler <me@sephalon.net> wrote:
> >>
> >> - All patches have been upstreamed
> >> - Add Go module dependencies to allow offline builds since upstream does
> >>    not vendor them into the repo anymore
> >> - In accordance to upstream, disable cgo as we are unable to compile
> >>    with it on all supported architectures; in addition, remove
> >>    -linkshared and -buildmode=pie as it requires external (cgo) linking
> >>    (the latter only on ARM and x86). Binary size hardly matters here as
> >>    syzkaller is unlikely to be shipped in a production environment.
> >> - Add missing metadata and comply with style guide
> >>
> >> Signed-off-by: Stefan Wiehler <me@sephalon.net>
> >> ---
> >> changes in v2:
> >> - update to latest tip of trunk, which includes an upstreamed fix for
> >>    the Go module cache being partially non-writeable/deletable
> >>    (https://github.com/google/syzkaller/pull/6269)
> >> ---
> >>   .../syzkaller/syzkaller-go-mods.inc           | 76 ++++++++++++++++++
> >>   .../syzkaller/syzkaller-licenses.inc          | 80 +++++++++++++++++++
> >>   ...cutor-Include-missing-linux-falloc.h.patch | 37 ---------
> >>   ...ve-including-error.h-in-test_linux.h.patch | 29 -------
> >>   ...ets.go-allow-users-to-override-hardc.patch | 62 --------------
> >>   .../recipes-test/syzkaller/syzkaller_git.bb   | 41 +++++-----
> >>   6 files changed, 179 insertions(+), 146 deletions(-)
> >>   create mode 100644 meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
> >>   create mode 100644 meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
> >>   delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
> >>   delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch
> >>   delete mode 100644 meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
> >>
> >> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc b/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
> >> new file mode 100644
> >> index 0000000000..807f2367a2
> >> --- /dev/null
> >> +++ b/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
> >> @@ -0,0 +1,76 @@
> >> +SRC_URI += "\
> >> +    gomod://cel.dev/expr;version=v0.24.0;sha256sum=4456189315133136b72bfb40312d731c8957cce38a2807ac21d09f5158259bb7 \
> >> +    gomod://cloud.google.com/go;version=v0.121.3;sha256sum=ebd16ecd4637745c842ecc337241a4d77cd9cdb1a2f422c7f9cabc477ae5da25 \
> >> +    gomod://cloud.google.com/go/auth;version=v0.16.2;sha256sum=38f4f9fb94b864bff2e7852c826ae6605a9fda6510cc6b6b3e02a047dd4243cd \
> >> +    gomod://cloud.google.com/go/auth/oauth2adapt;version=v0.2.8;sha256sum=4cd64264bafc4dd05f645452d6e1485adf92309130bd82b4c595db10cd534963 \
> >> +    gomod://cloud.google.com/go/bigquery;version=v1.69.0;sha256sum=fea7514e6dde4d4c9bd1d334034d89c980759afa303f020c3a273f7d9f3c095d \
> >> +    gomod://cloud.google.com/go/compute/metadata;version=v0.7.0;sha256sum=89c19841bf87fe53034aed53505c527fe6674d3bf0f21c0e972374f94fb08eb4 \
> >> +    gomod://cloud.google.com/go/iam;version=v1.5.2;sha256sum=5ef0d3a00d72b44c498688551616bce430386bbfc99b5a7f76c0788a92733984 \
> >> +    gomod://cloud.google.com/go/monitoring;version=v1.24.2;sha256sum=d93cb9138747418f2e2731c2312c4dc1a75daf3c2a35be7a337901c5c7251381 \
> >> +    gomod://cloud.google.com/go/spanner;version=v1.82.0;sha256sum=6c997bbf50a2d9dee4094bf13cc0440d6ee7ec707c681ecbc58097bf99e3fb86 \
> >> +    gomod://cloud.google.com/go/storage;version=v1.55.0;sha256sum=b14ef810eb8117e7c8a7e3478b7d48434929264d89d62640e08b05c48b3cfcc6 \
> >> +    gomod://github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp;version=v1.5.2;sha256sum=d5c597a20d3a7057a9c3b3ada021930351247baf5e65f08996cecc84027446b1 \
> >> +    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp;version=v1.28.0;sha256sum=9fa827784e2495cd18f204e06abbd109a9dbe1a3b330bf82294b8aac7285ad3b \
> >> +    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric;version=v0.52.0;sha256sum=999dd61d8aa7b61f89b547ad271c4597bddd3de3c4e9801a672fe2d759ff5c3a \
> >> +    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping;version=v0.52.0;sha256sum=2d0f67011ae88b29113717680c240c02ef3c3c84ab74868b11fcc831c59fcc17 \
> >> +    gomod://github.com/VividCortex/gohistogram;version=v1.0.0;sha256sum=16ebeceeb7e4066f90edbfb90282cd90d4dad0f71339199551de3fbdc7e8c545 \
> >> +    gomod://github.com/apache/arrow/go/v15;version=v15.0.2;sha256sum=87b75aac27b395f651f232b4b89c184a6ab23a65596acc46b4efacb116f98adf \
> >> +    gomod://github.com/beorn7/perks;version=v1.0.1;sha256sum=25bd9e2d94aca770e6dbc1f53725f84f6af4432f631d35dd2c46f96ef0512f1a \
> >> +    gomod://github.com/cespare/xxhash/v2;version=v2.3.0;sha256sum=145a26cdc7c49db566017b807c4989ee7f7ddeb569423e9cb99f995fac3621d3 \
> >> +    gomod://github.com/cncf/xds/go;version=v0.0.0-20250501225837-2ac532fd4443;sha256sum=c7b36d6c805ab8718fa8700f69bee29c225f10258fd29315683b102398c013a8 \
> >> +    gomod://github.com/envoyproxy/go-control-plane/envoy;version=v1.32.4;sha256sum=6baebcc1f441672ade0dacb4ca553a3d857f915590ca07bbe79314ddf62e6fae \
> >> +    gomod://github.com/envoyproxy/protoc-gen-validate;version=v1.2.1;sha256sum=ad9d2639aff17db6be291069c5463c46ed8ac37a0c6c1b57fae5465c5effb567 \
> >> +    gomod://github.com/felixge/httpsnoop;version=v1.0.4;sha256sum=75aa471311265e9860df0e523400b4650ed0c1a33262786a421f07226792e494 \
> >> +    gomod://github.com/go-jose/go-jose/v4;version=v4.1.0;sha256sum=27274e6a0878655e62a8c042934dfbb33c6db5992bc31b21df5df6c1cb944e58 \
> >> +    gomod://github.com/go-logr/logr;version=v1.4.3;sha256sum=523d7a3587fe73f61ef41c8bc627f7d7f38de8104d46278154b307e60770ad70 \
> >> +    gomod://github.com/go-logr/stdr;version=v1.2.2;sha256sum=9dd6893bf700198485ae699640b49bc1efbc6c73b37cb5792a0476e1fd8f7fef \
> >> +    gomod://github.com/goccy/go-json;version=v0.10.5;sha256sum=96e417d4493705f470f7f29858a09cdbe68330f2d7e74cd024fbace4745c0615 \
> >> +    gomod://github.com/golang/groupcache;version=v0.0.0-20241129210726-2c02b8208cf8;sha256sum=163367355442a630b12b0b452892cd98e99fcfdf7e40b68d358be73479cc1c23 \
> >> +    gomod://github.com/golang/protobuf;version=v1.5.4;sha256sum=9a2f43d3eac8ceda506ebbeb4f229254b87235ce90346692a0e233614182190b \
> >> +    gomod://github.com/google/flatbuffers;version=v25.1.24+incompatible;sha256sum=925600f16ce3b62c77aff5a662435984ed37af7cc05577169564e902e0c31c29 \
> >> +    gomod://github.com/google/s2a-go;version=v0.1.9;sha256sum=bf8f4b159d3fc201477822ed2514e4f05f58c764b78ffed73ec0accce5fb7f07 \
> >> +    gomod://github.com/google/uuid;version=v1.6.0;sha256sum=d0f02f377217f42702e259684e06441edbf5140dddcc34ba9bea56038b38a6ed \
> >> +    gomod://github.com/googleapis/enterprise-certificate-proxy;version=v0.3.6;sha256sum=6c44108f588c97a6a08b5ed907c3cc47dce31913f219a6d02b13e463d355603c \
> >> +    gomod://github.com/googleapis/gax-go/v2;version=v2.14.2;sha256sum=1cd109cf4d1a81363f956885d1f7e7086bf9805122dbcf9382ca0c54a21979d5 \
> >> +    gomod://github.com/gorilla/handlers;version=v1.5.2;sha256sum=7a69a0605890d69e91404e46b2d2063ef3c5c4e05c844ea154ef95d3479d7b7b \
> >> +    gomod://github.com/ianlancetaylor/demangle;version=v0.0.0-20250625212726-86fd2c0a1a74;sha256sum=7ad8b2ba609745ed4b8923c0c2e8ab44acf7386eb0d6fd7ad7bf6da962bd0743 \
> >> +    gomod://github.com/klauspost/compress;version=v1.18.0;sha256sum=c4679e4cbc820a21758199d985be754abf5eb2a38e6f1de95cd70b2e7ef06905 \
> >> +    gomod://github.com/klauspost/cpuid/v2;version=v2.2.10;sha256sum=db89665fa22cef477dc551b72d49707c516b749c17ed154bf67eb8081ee08dff \
> >> +    gomod://github.com/munnerz/goautoneg;version=v0.0.0-20191010083416-a7dc8b61c822;sha256sum=3d7ce17916779890be02ea6b3dd6345c3c30c1df502ad9d8b5b9b310e636afd9 \
> >> +    gomod://github.com/pierrec/lz4/v4;version=v4.1.18;sha256sum=b397db34ff05610125e7c9de6de067a174a70ba3ba7dac81ba8ce4f22b1c0933 \
> >> +    gomod://github.com/prometheus/client_golang;version=v1.23.0;sha256sum=f104d43e35b9217845792ec8eabbde59e31a11aaba64c47408cff8bafde2aa9e \
> >> +    gomod://github.com/prometheus/client_model;version=v0.6.2;sha256sum=67017b19f220c6ab91ecfdd10a93824e2a8b09fcb6390054dbdc49df3354a9ca \
> >> +    gomod://github.com/prometheus/common;version=v0.65.0;sha256sum=c97b1ab4d2c723923b367dbe48c283eafc0b94eb14faf8c98d81746b015242a9 \
> >> +    gomod://github.com/prometheus/procfs;version=v0.16.1;sha256sum=e4b74815566cbf5aa372d23e1de32f16ac5c3c4c80bc94a31fdee60a1de6074a \
> >> +    gomod://github.com/sergi/go-diff;version=v1.4.0;sha256sum=63aef1860b251af1421ba0a014a6bb08a60833f13f948f3d88d66754bb484f53 \
> >> +    gomod://github.com/spiffe/go-spiffe/v2;version=v2.5.0;sha256sum=3b96ee2cef9a550ec779125216a03225fff44d3d702d51b6ef21e2202d2517d6 \
> >> +    gomod://github.com/ulikunitz/xz;version=v0.5.12;sha256sum=0cba3268140e7c112c329b19ce3d4c8d4768a784fe0c80112bfa7bf43ace1a4a \
> >> +    gomod://github.com/zeebo/errs;version=v1.4.0;sha256sum=5b7fb5cbe6bbd36933e8c98572f85121994e9842aefc90986f8d3a192cb69257 \
> >> +    gomod://github.com/zeebo/xxh3;version=v1.0.2;sha256sum=190e5ef1f672e9321a1580bdd31c6440fde6044ca8168d2b489cf50cdc4f58a6 \
> >> +    gomod://go.opencensus.io;version=v0.24.0;sha256sum=203a767d7f8e7c1ebe5588220ad168d1e15b14ae70a636de7ca9a4a88a7e0d0c \
> >> +    gomod://go.opentelemetry.io/auto/sdk;version=v1.1.0;sha256sum=006d3a5a7292d11f093ce65fcd5a15d15fb7bd11d0e066503f91bd64c4bffe2c \
> >> +    gomod://go.opentelemetry.io/contrib/detectors/gcp;version=v1.36.0;sha256sum=67e381df5c7e78edda7b773ebdef6e5dad42486e87eec838329ade6919985119 \
> >> +    gomod://go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc;version=v0.61.0;sha256sum=9812bf570350cd1377bf458b71ea5d9fffe44733fc2dccbcfd1f5c564a6b27b7 \
> >> +    gomod://go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp;version=v0.61.0;sha256sum=0009120ed94c4279573eea0f01841f7c9ff51cafd1c9559fc09820c9f870f399 \
> >> +    gomod://go.opentelemetry.io/otel;version=v1.36.0;sha256sum=f3cdc5d41b3056ab4fa95ee1145708d12e5a5fd0106f79c3f0133a7f5f1ef799 \
> >> +    gomod://go.opentelemetry.io/otel/metric;version=v1.36.0;sha256sum=a4ff3b88cca25a317752193a65547250822cdd6acfa08d9cbb57071d1e1c4951 \
> >> +    gomod://go.opentelemetry.io/otel/sdk;version=v1.36.0;sha256sum=d16c77fb714cca3036530fddba0baf5f1ad21a6de8dffd73130668807c61b01a \
> >> +    gomod://go.opentelemetry.io/otel/sdk/metric;version=v1.36.0;sha256sum=946a0d0d2b5ab3636a848a3041f8b7bd91e505cd563dc9907a3836076c9e214f \
> >> +    gomod://go.opentelemetry.io/otel/trace;version=v1.36.0;sha256sum=f8877234c555f5f793fed92b17e2bf6744f6c504871eb713fa1e916ba0b6c6b6 \
> >> +    gomod://golang.org/x/crypto;version=v0.40.0;sha256sum=6a55423d327359615db923c5f17e5f10c4c7d91c39ef8d0b7f6e0876f89ff9da \
> >> +    gomod://golang.org/x/exp;version=v0.0.0-20250711185948-6ae5c78190dc;sha256sum=01d8fecd44e904b86e66c78cf6b403b27312513c0534455ee7b9c86600d9b7aa \
> >> +    gomod://golang.org/x/net;version=v0.42.0;sha256sum=cc9f79d1c8a796c756b636cee007b4ac5eba7b1f3276cd42658f4ac4a28cfbc1 \
> >> +    gomod://golang.org/x/oauth2;version=v0.30.0;sha256sum=1e1028d0b190948f0cd44229bfa298440cb2481f601f992e12424bc6fa1f183c \
> >> +    gomod://golang.org/x/sync;version=v0.16.0;sha256sum=ca43984183eb14f7f50d33da350312fed1c42e106dceac2437bfd5084b497dcd \
> >> +    gomod://golang.org/x/sys;version=v0.34.0;sha256sum=27d5489227865ffffc3fbbbaf6100952ca2925eba19cfdff01e6e76b986b4bb4 \
> >> +    gomod://golang.org/x/text;version=v0.27.0;sha256sum=1230ce66d74ed4510f1578f25b4e53beee00926dc24c86fab7242637f8415ea8 \
> >> +    gomod://golang.org/x/time;version=v0.12.0;sha256sum=cdcb04c43b112919c5e0d0fa1d90769124ad56918a44e6cb0747876ed7e5015c \
> >> +    gomod://golang.org/x/xerrors;version=v0.0.0-20240903120638-7835f813f4da;sha256sum=07ee9f680118861ee732ce0df4553b834383b87e0519fb9a0990c51d7abd6885 \
> >> +    gomod://google.golang.org/api;version=v0.237.0;sha256sum=944b38303416810562a220f444ec7c0c13834793a9e7e46ce0f644c3c5b478e0 \
> >> +    gomod://google.golang.org/appengine/v2;version=v2.0.6;sha256sum=9eab40689a66240d1132f31d2418a03776221ed07c3f72e22e9527ad063c9dde \
> >> +    gomod://google.golang.org/genproto;version=v0.0.0-20250603155806-513f23925822;sha256sum=631efdcf106cc5af4bb1e3298a40eedebe8a023a408b0465a5cb3ee486a57879 \
> >> +    gomod://google.golang.org/genproto/googleapis/api;version=v0.0.0-20250603155806-513f23925822;sha256sum=ec9d0cf0e96082fc6eef3a8beeb4cb74951294a57dac0d501b25a37e64df2594 \
> >> +    gomod://google.golang.org/genproto/googleapis/rpc;version=v0.0.0-20250603155806-513f23925822;sha256sum=3b43fafd95300765d08eb0d0137b699c5ee9c105b6af93c4916e7081c97b3a75 \
> >> +    gomod://google.golang.org/grpc;version=v1.73.0;sha256sum=7d628abd6c4c133205db6b72e374bbd2f438b12a2a5f838f34fd8d95d91f8c0b \
> >> +    gomod://google.golang.org/protobuf;version=v1.36.6;sha256sum=3294ac8ea5089b3c231351afaea4f012e8027a9beeb523bbf31dcb383cc0ab99 \
> >> +"
> >> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc b/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
> >> new file mode 100644
> >> index 0000000000..2be12f2853
> >> --- /dev/null
> >> +++ b/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
> >> @@ -0,0 +1,80 @@
> >> +LICENSE += "& BSD-3-Clause & MIT"
> >> +
> >> +LIC_FILES_CHKSUM += "\
> >> +    file://pkg/mod/cel.dev/expr@v0.24.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/cloud.google.com/go/auth/oauth2adapt@v0.2.8/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/cloud.google.com/go/auth@v0.16.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/cloud.google.com/go/bigquery@v1.69.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/cloud.google.com/go/compute/metadata@v0.7.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/cloud.google.com/go/iam@v1.5.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/cloud.google.com/go/monitoring@v1.24.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/cloud.google.com/go/spanner@v1.82.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/cloud.google.com/go/storage@v1.55.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/cloud.google.com/go@v0.121.3/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/!google!cloud!platform/grpc-gcp-go/grpcgcp@v1.5.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/detectors/gcp@v1.28.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/exporter/metric@v0.52.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/internal/resourcemapping@v0.52.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/!vivid!cortex/gohistogram@v1.0.0/LICENSE;md5=13880cf5821e7668762c89bb8a6045d3;spdx=MIT \
> >> +    file://pkg/mod/github.com/apache/arrow/go/v15@v15.0.2/LICENSE.txt;md5=9046099156f93a7f0ac340571476a58b;spdx=Unknown \
> >> +    file://pkg/mod/github.com/beorn7/perks@v1.0.1/LICENSE;md5=0d0738f37ee8dc0b5f88a32e83c60198;spdx=MIT \
> >> +    file://pkg/mod/github.com/cespare/xxhash/v2@v2.3.0/LICENSE.txt;md5=802da049c92a99b4387d3f3d91b00fa9;spdx=MIT \
> >> +    file://pkg/mod/github.com/cncf/xds/go@v0.0.0-20250501225837-2ac532fd4443/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/envoyproxy/go-control-plane/envoy@v1.32.4/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/envoyproxy/protoc-gen-validate@v1.2.1/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/felixge/httpsnoop@v1.0.4/LICENSE.txt;md5=684da2bf3eed8fc8860e75ad84638225;spdx=MIT \
> >> +    file://pkg/mod/github.com/go-jose/go-jose/v4@v4.1.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/go-logr/logr@v1.4.3/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/go-logr/stdr@v1.2.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/goccy/go-json@v0.10.5/LICENSE;md5=33a07164132d795872805bfc53f6097d;spdx=MIT \
> >> +    file://pkg/mod/github.com/golang/groupcache@v0.0.0-20241129210726-2c02b8208cf8/LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/google/flatbuffers@v25.1.24+incompatible/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/google/s2a-go@v0.1.9/LICENSE.md;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/google/uuid@v1.6.0/LICENSE;md5=88073b6dd8ec00fe09da59e0b6dfded1;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/github.com/googleapis/enterprise-certificate-proxy@v0.3.6/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/googleapis/gax-go/v2@v2.14.2/LICENSE;md5=0dd48ae8103725bd7b401261520cdfbb;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/github.com/ianlancetaylor/demangle@v0.0.0-20250625212726-86fd2c0a1a74/LICENSE;md5=81729dc66d48cba483290ca39318923d;spdx=Unknown \
> >> +    file://pkg/mod/github.com/klauspost/compress@v1.18.0/LICENSE;md5=d0fd9ebda39468b51ff4539c9fbb13a8;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/github.com/munnerz/goautoneg@v0.0.0-20191010083416-a7dc8b61c822/LICENSE;md5=0c241922fc69330e2e5590de114f3bf5;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/github.com/pierrec/lz4/v4@v4.1.18/LICENSE;md5=09ece85f3c312a63b522bfc6ebd44943;spdx=Unknown \
> >> +    file://pkg/mod/github.com/prometheus/client_golang@v1.23.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/prometheus/client_model@v0.6.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/prometheus/common@v0.65.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/prometheus/procfs@v0.16.1/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/sergi/go-diff@v1.4.0/APACHE-LICENSE-2.0;md5=2ee41112a44fe7014dce33e26468ba93;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/spiffe/go-spiffe/v2@v2.5.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/github.com/ulikunitz/xz@v0.5.12/LICENSE;md5=3c82255323cf3d48815acdbf9068b715;spdx=Unknown \
> >> +    file://pkg/mod/github.com/zeebo/errs@v1.4.0/LICENSE;md5=84914ab36fc0eb48edbaa53e66e8d326;spdx=MIT \
> >> +    file://pkg/mod/github.com/zeebo/xxh3@v1.0.2/LICENSE;md5=acf3e468cbf92b877ec5cdff11749253;spdx=Unknown \
> >> +    file://pkg/mod/go.opencensus.io@v0.24.0/LICENSE;md5=175792518e4ac015ab6696d16c4f607e;spdx=Apache-2.0 \
> >> +    file://pkg/mod/go.opentelemetry.io/auto/sdk@v1.1.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/go.opentelemetry.io/contrib/detectors/gcp@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.61.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.61.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/go.opentelemetry.io/otel/metric@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/go.opentelemetry.io/otel/sdk/metric@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/go.opentelemetry.io/otel/sdk@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/go.opentelemetry.io/otel/trace@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/go.opentelemetry.io/otel@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
> >> +    file://pkg/mod/golang.org/x/crypto@v0.40.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/golang.org/x/exp@v0.0.0-20250711185948-6ae5c78190dc/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/golang.org/x/net@v0.42.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/golang.org/x/oauth2@v0.30.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/golang.org/x/sync@v0.16.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/golang.org/x/sys@v0.34.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/golang.org/x/text@v0.27.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/golang.org/x/time@v0.12.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/golang.org/x/xerrors@v0.0.0-20240903120638-7835f813f4da/LICENSE;md5=e828fb91fe88d9e5d620842cf8bd81b0;spdx=Unknown \
> >> +    file://pkg/mod/google.golang.org/api@v0.237.0/LICENSE;md5=a651bb3d8b1c412632e28823bb432b40;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/google.golang.org/genproto/googleapis/api@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/google.golang.org/genproto/googleapis/rpc@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/google.golang.org/genproto@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/google.golang.org/grpc@v1.73.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +    file://pkg/mod/google.golang.org/protobuf@v1.36.6/LICENSE;md5=02d4002e9171d41a8fad93aa7faf3956;spdx=BSD-3-Clause \
> >> +"
> >> +
> >> +LIC_FILES_CHKSUM:class-native += "\
> >> +    file://pkg/mod/github.com/golang/protobuf@v1.5.4/LICENSE;md5=939cce1ec101726fa754e698ac871622;spdx=BSD-3-Clause \
> >> +    file://pkg/mod/github.com/gorilla/handlers@v1.5.2/LICENSE;md5=c30eee78985cf2584cded5f89ba3d787;spdx=Unknown \
> >> +    file://pkg/mod/google.golang.org/appengine/v2@v2.0.6/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
> >> +"
> >> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch b/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
> >> deleted file mode 100644
> >> index 23bfb9a5e2..0000000000
> >> --- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
> >> +++ /dev/null
> >> @@ -1,37 +0,0 @@
> >> -From 9db789b4498d4130450e988757914c03e42b40f5 Mon Sep 17 00:00:00 2001
> >> -From: Khem Raj <raj.khem@gmail.com>
> >> -Date: Mon, 19 Jun 2023 18:33:36 -0700
> >> -Subject: [PATCH] executor: Include missing linux/falloc.h
> >> -
> >> -Its needed for FALLOC_FL_ZERO_RANGE which needs this header, it works
> >> -with glibc because fcntl.h includes this header indirectly, however the
> >> -failure comes to fore with musl C library where this header is not
> >> -included indirectly by other system headers, therefore include it as
> >> -required.
> >> -
> >> -Fixes
> >> -In file included from executor/common.h:505:
> >> -executor/common_linux.h:5604:16: error: use of undeclared identifier 'FALLOC_FL_ZERO_RANGE'
> >> -        fallocate(fd, FALLOC_FL_ZERO_RANGE, 0, SWAP_FILE_SIZE);
> >> -                      ^
> >> -Upstream-Status: Submitted [https://github.com/google/syzkaller/pull/3974]
> >> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >> ----
> >> - executor/common_linux.h | 1 +
> >> - 1 file changed, 1 insertion(+)
> >> -
> >> -diff --git a/executor/common_linux.h b/executor/common_linux.h
> >> -index d5152e058..9ae3fb159 100644
> >> ---- a/executor/common_linux.h
> >> -+++ b/executor/common_linux.h
> >> -@@ -5585,6 +5585,7 @@ static long syz_pkey_set(volatile long pkey, volatile long val)
> >> - #include <sys/stat.h>
> >> - #include <sys/swap.h>
> >> - #include <sys/types.h>
> >> -+#include <linux/falloc.h>
> >> -
> >> - #define SWAP_FILE "./swap-file"
> >> - #define SWAP_FILE_SIZE (128 * 1000 * 1000) // 128 MB.
> >> ---
> >> -2.41.0
> >> -
> >> 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
> >> deleted file mode 100644
> >> index 8bb19fb72b..0000000000
> >> --- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch
> >> +++ /dev/null
> >> @@ -1,29 +0,0 @@
> >> -From 648868595cf290e77aab1f271db2a57e1f791301 Mon Sep 17 00:00:00 2001
> >> -From: Khem Raj <raj.khem@gmail.com>
> >> -Date: Mon, 20 May 2024 20:37:07 -0700
> >> -Subject: [PATCH] executor: Remove including <error.h> in test_linux.h
> >> -
> >> -it seems to be redundant and moreover it lets us compile on musl which
> >> -does not provide this system header
> >> -
> >> -Upstream-Status: Submitted [https://github.com/google/syzkaller/pull/4822]
> >> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >> ----
> >> - executor/test_linux.h | 1 -
> >> - 1 file changed, 1 deletion(-)
> >> -
> >> -diff --git a/executor/test_linux.h b/executor/test_linux.h
> >> -index 7cf459569..8c9493539 100644
> >> ---- a/executor/test_linux.h
> >> -+++ b/executor/test_linux.h
> >> -@@ -1,7 +1,6 @@
> >> - // Copyright 2017 syzkaller project authors. All rights reserved.
> >> - // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
> >> -
> >> --#include <error.h>
> >> - #include <stdint.h>
> >> - #include <sys/utsname.h>
> >> -
> >> ---
> >> -2.45.1
> >> -
> >> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch b/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
> >> deleted file mode 100644
> >> index 61f4351651..0000000000
> >> --- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
> >> +++ /dev/null
> >> @@ -1,62 +0,0 @@
> >> -From aca1030d29f627314d13884ebc7b2c313d718df7 Mon Sep 17 00:00:00 2001
> >> -From: Ovidiu Panait <ovidiu.panait@windriver.com>
> >> -Date: Wed, 13 Apr 2022 17:17:54 +0300
> >> -Subject: [PATCH] sys/targets/targets.go: allow users to override hardcoded
> >> - cross-compilers
> >> -
> >> -Currently, cross compiler names are hardcoded for each os/arch combo. However,
> >> -toolchain tuples differ, especially when using vendor provided toolchains.
> >> -Allow users to specify the cross compiler for an os/arch combo using
> >> -SYZ_CC_<os>_<arch> environment variables.
> >> -
> >> -Also, remove hardcoded "-march=armv6" flag to fix compilation on arm.
> >> -
> >> -Upstream-Status: Inappropriate [embedded specific]
> >> -
> >> -Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
> >> ----
> >> - sys/targets/targets.go | 19 +++++++++++--------
> >> - 1 file changed, 11 insertions(+), 8 deletions(-)
> >> -
> >> ---- a/sys/targets/targets.go
> >> -+++ b/sys/targets/targets.go
> >> -@@ -262,7 +262,6 @@ var List = map[string]map[string]*Target
> >> -                       PtrSize:          4,
> >> -                       PageSize:         4 << 10,
> >> -                       LittleEndian:     true,
> >> --                      CFlags:           []string{"-D__LINUX_ARM_ARCH__=6", "-march=armv6"},
> >> -                       Triple:           "arm-linux-gnueabi",
> >> -                       KernelArch:       "arm",
> >> -                       KernelHeaderArch: "arm",
> >> -@@ -700,12 +699,16 @@ func initTarget(target *Target, OS, arch
> >> -       for i := range target.CFlags {
> >> -               target.replaceSourceDir(&target.CFlags[i], sourceDir)
> >> -       }
> >> --      if OS == Linux && arch == runtime.GOARCH {
> >> --              // Don't use cross-compiler for native compilation, there are cases when this does not work:
> >> --              // https://github.com/google/syzkaller/pull/619
> >> --              // https://github.com/google/syzkaller/issues/387
> >> --              // https://github.com/google/syzkaller/commit/06db3cec94c54e1cf720cdd5db72761514569d56
> >> --              target.Triple = ""
> >> -+      if OS == Linux {
> >> -+              if cc := os.Getenv("SYZ_CC_" + OS + "_" + arch); cc != "" {
> >> -+                      target.CCompiler = cc
> >> -+              } else if arch == runtime.GOARCH {
> >> -+                      // Don't use cross-compiler for native compilation, there are cases when this does not work:
> >> -+                      // https://github.com/google/syzkaller/pull/619
> >> -+                      // https://github.com/google/syzkaller/issues/387
> >> -+                      // https://github.com/google/syzkaller/commit/06db3cec94c54e1cf720cdd5db72761514569d56
> >> -+                      target.Triple = ""
> >> -+              }
> >> -       }
> >> -       if target.CCompiler == "" {
> >> -               target.setCompiler(useClang)
> >> -@@ -839,7 +842,7 @@ func (target *Target) lazyInit() {
> >> -       // On CI we want to fail loudly if cross-compilation breaks.
> >> -       // Also fail if SOURCEDIR_GOOS is set b/c in that case user probably assumes it will work.
> >> -       if (target.OS != runtime.GOOS || !runningOnCI) && getSourceDir(target) == "" {
> >> --              if _, err := exec.LookPath(target.CCompiler); err != nil {
> >> -+              if _, err := exec.LookPath(strings.Fields(target.CCompiler)[0]); err != nil {
> >> -                       target.BrokenCompiler = fmt.Sprintf("%v is missing (%v)", target.CCompiler, err)
> >> -                       return
> >> -               }
> >> diff --git a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
> >> index b2b0f7ae9e..6aef105dd9 100644
> >> --- a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
> >> +++ b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
> >> @@ -1,22 +1,23 @@
> >> -DESCRIPTION = "syzkaller is an unsupervised coverage-guided kernel fuzzer"
> >> +SUMMARY = "Unsupervised coverage-guided kernel fuzzer"
> >> +HOMEPAGE = "https://github.com/google/syzkaller"
> >> +BUGTRACKER = "https://github.com/google/syzkaller/issues"
> >> +SECTION = "devel"
> >>   LICENSE = "Apache-2.0"
> >>   LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=5335066555b14d832335aa4660d6c376"
> >> +require ${BPN}-licenses.inc
> >>
> >> -inherit go-mod
> >> -
> >> -GO_IMPORT = "github.com/google/syzkaller"
> >> +DEPENDS:class-native += "qemu-system-native"
> >>
> >> -SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT};branch=master \
> >> -           file://0001-sys-targets-targets.go-allow-users-to-override-hardc.patch;patchdir=src/${GO_IMPORT} \
> >> -           file://0001-executor-Include-missing-linux-falloc.h.patch;patchdir=src/${GO_IMPORT} \
> >> -           file://0001-executor-Remove-including-error.h-in-test_linux.h.patch;patchdir=src/${GO_IMPORT} \
> >> -           "
> >> -SRCREV = "25905f5d0a2a7883bd33491997556193582c6059"
> >> +SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX};branch=master"
> >> +SRCREV = "22ec1469fe8c0ba256de07e8f97fa7b375b522bd"
> >> +require ${BPN}-go-mods.inc
> >>
> >>   # Upstream repo does not tag
> >>   UPSTREAM_CHECK_COMMITS = "1"
> >>
> >> -export GOPROXY = "https://proxy.golang.org,direct"
> >> +inherit go-mod
> >> +
> >> +GO_IMPORT = "github.com/google/syzkaller"
> >>
> >>   COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux"
> >>
> >> @@ -24,13 +25,16 @@ B = "${S}/src/${GO_IMPORT}/bin"
> >>
> >>   GO_EXTRA_LDFLAGS += ' -X ${GO_IMPORT}/prog.GitRevision=${SRCREV}'
> >>
> >> -export GOHOSTFLAGS = "${GO_LINKSHARED} ${GOBUILDFLAGS}"
> >> -export GOTARGETFLAGS = "${GO_LINKSHARED} ${GOBUILDFLAGS}"
> >> +export GOHOSTFLAGS = "${GOBUILDFLAGS}"
> >> +export GOTARGETFLAGS = "${GOBUILDFLAGS}"
> >>   export TARGETOS = '${GOOS}'
> >>   export TARGETARCH = '${GOARCH}'
> >>   export TARGETVMARCH = '${GOARCH}'
> >>
> >> -CGO_ENABLED = "1"
> >> +CGO_ENABLED = "0"
> >> +
> >> +# -buildmode=pie requires external (cgo) linking on ARM and x86
> >> +GOBUILDFLAGS:remove = "-buildmode=pie"
> >>
> >>   LDFLAGS:append:class-target = "${@bb.utils.contains_any("TC_CXX_RUNTIME", "llvm android", " -lc++", " -lstdc++", d)}"
> >>
> >> @@ -47,6 +51,7 @@ do_compile:class-target() {
> >>       export HOSTOS="${GOOS}"
> >>       export HOSTARCH="${GOARCH}"
> >>       export SYZ_CC_${TARGETOS}_${TARGETARCH}="${CC}"
> >> +    export SYZ_CXX_${TARGETOS}_${TARGETARCH}="${CXX}"
> >>
> >>       # Unset GOOS and GOARCH so that the correct syz-sysgen binary can be
> >>       # generated. Fixes:
> >> @@ -54,12 +59,12 @@ do_compile:class-target() {
> >>       unset GOOS
> >>       unset GOARCH
> >>
> >> -    oe_runmake GO="${GO}" CFLAGS="${CXXFLAGS} ${LDFLAGS}" REV=${SRCREV} target
> >> +    oe_runmake GO="${GO}" REV=${SRCREV} target
> >>   }
> >>
> >>   do_install:class-native() {
> >> -    SYZ_BINS_NATIVE="syz-manager syz-runtest syz-repro syz-mutate syz-prog2c \
> >> -                     syz-db syz-upgrade"
> >> +    SYZ_BINS_NATIVE="syz-manager syz-repro syz-mutate syz-prog2c syz-db \
> >> +                     syz-upgrade"
> >>
> >>       install -d ${D}${bindir}
> >>
> >> @@ -70,7 +75,7 @@ do_install:class-native() {
> >>
> >>   do_install:class-target() {
> >>       SYZ_TARGET_DIR="${TARGETOS}_${TARGETARCH}"
> >> -    SYZ_BINS_TARGET="syz-fuzzer syz-execprog syz-stress syz-executor"
> >> +    SYZ_BINS_TARGET="syz-execprog syz-executor"
> >>
> >>       install -d ${D}${bindir}/${SYZ_TARGET_DIR}
> >>
> >> --
> >> 2.49.0
> >>
diff mbox series

Patch

diff --git a/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc b/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
new file mode 100644
index 0000000000..807f2367a2
--- /dev/null
+++ b/meta-oe/recipes-test/syzkaller/syzkaller-go-mods.inc
@@ -0,0 +1,76 @@ 
+SRC_URI += "\
+    gomod://cel.dev/expr;version=v0.24.0;sha256sum=4456189315133136b72bfb40312d731c8957cce38a2807ac21d09f5158259bb7 \
+    gomod://cloud.google.com/go;version=v0.121.3;sha256sum=ebd16ecd4637745c842ecc337241a4d77cd9cdb1a2f422c7f9cabc477ae5da25 \
+    gomod://cloud.google.com/go/auth;version=v0.16.2;sha256sum=38f4f9fb94b864bff2e7852c826ae6605a9fda6510cc6b6b3e02a047dd4243cd \
+    gomod://cloud.google.com/go/auth/oauth2adapt;version=v0.2.8;sha256sum=4cd64264bafc4dd05f645452d6e1485adf92309130bd82b4c595db10cd534963 \
+    gomod://cloud.google.com/go/bigquery;version=v1.69.0;sha256sum=fea7514e6dde4d4c9bd1d334034d89c980759afa303f020c3a273f7d9f3c095d \
+    gomod://cloud.google.com/go/compute/metadata;version=v0.7.0;sha256sum=89c19841bf87fe53034aed53505c527fe6674d3bf0f21c0e972374f94fb08eb4 \
+    gomod://cloud.google.com/go/iam;version=v1.5.2;sha256sum=5ef0d3a00d72b44c498688551616bce430386bbfc99b5a7f76c0788a92733984 \
+    gomod://cloud.google.com/go/monitoring;version=v1.24.2;sha256sum=d93cb9138747418f2e2731c2312c4dc1a75daf3c2a35be7a337901c5c7251381 \
+    gomod://cloud.google.com/go/spanner;version=v1.82.0;sha256sum=6c997bbf50a2d9dee4094bf13cc0440d6ee7ec707c681ecbc58097bf99e3fb86 \
+    gomod://cloud.google.com/go/storage;version=v1.55.0;sha256sum=b14ef810eb8117e7c8a7e3478b7d48434929264d89d62640e08b05c48b3cfcc6 \
+    gomod://github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp;version=v1.5.2;sha256sum=d5c597a20d3a7057a9c3b3ada021930351247baf5e65f08996cecc84027446b1 \
+    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp;version=v1.28.0;sha256sum=9fa827784e2495cd18f204e06abbd109a9dbe1a3b330bf82294b8aac7285ad3b \
+    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric;version=v0.52.0;sha256sum=999dd61d8aa7b61f89b547ad271c4597bddd3de3c4e9801a672fe2d759ff5c3a \
+    gomod://github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping;version=v0.52.0;sha256sum=2d0f67011ae88b29113717680c240c02ef3c3c84ab74868b11fcc831c59fcc17 \
+    gomod://github.com/VividCortex/gohistogram;version=v1.0.0;sha256sum=16ebeceeb7e4066f90edbfb90282cd90d4dad0f71339199551de3fbdc7e8c545 \
+    gomod://github.com/apache/arrow/go/v15;version=v15.0.2;sha256sum=87b75aac27b395f651f232b4b89c184a6ab23a65596acc46b4efacb116f98adf \
+    gomod://github.com/beorn7/perks;version=v1.0.1;sha256sum=25bd9e2d94aca770e6dbc1f53725f84f6af4432f631d35dd2c46f96ef0512f1a \
+    gomod://github.com/cespare/xxhash/v2;version=v2.3.0;sha256sum=145a26cdc7c49db566017b807c4989ee7f7ddeb569423e9cb99f995fac3621d3 \
+    gomod://github.com/cncf/xds/go;version=v0.0.0-20250501225837-2ac532fd4443;sha256sum=c7b36d6c805ab8718fa8700f69bee29c225f10258fd29315683b102398c013a8 \
+    gomod://github.com/envoyproxy/go-control-plane/envoy;version=v1.32.4;sha256sum=6baebcc1f441672ade0dacb4ca553a3d857f915590ca07bbe79314ddf62e6fae \
+    gomod://github.com/envoyproxy/protoc-gen-validate;version=v1.2.1;sha256sum=ad9d2639aff17db6be291069c5463c46ed8ac37a0c6c1b57fae5465c5effb567 \
+    gomod://github.com/felixge/httpsnoop;version=v1.0.4;sha256sum=75aa471311265e9860df0e523400b4650ed0c1a33262786a421f07226792e494 \
+    gomod://github.com/go-jose/go-jose/v4;version=v4.1.0;sha256sum=27274e6a0878655e62a8c042934dfbb33c6db5992bc31b21df5df6c1cb944e58 \
+    gomod://github.com/go-logr/logr;version=v1.4.3;sha256sum=523d7a3587fe73f61ef41c8bc627f7d7f38de8104d46278154b307e60770ad70 \
+    gomod://github.com/go-logr/stdr;version=v1.2.2;sha256sum=9dd6893bf700198485ae699640b49bc1efbc6c73b37cb5792a0476e1fd8f7fef \
+    gomod://github.com/goccy/go-json;version=v0.10.5;sha256sum=96e417d4493705f470f7f29858a09cdbe68330f2d7e74cd024fbace4745c0615 \
+    gomod://github.com/golang/groupcache;version=v0.0.0-20241129210726-2c02b8208cf8;sha256sum=163367355442a630b12b0b452892cd98e99fcfdf7e40b68d358be73479cc1c23 \
+    gomod://github.com/golang/protobuf;version=v1.5.4;sha256sum=9a2f43d3eac8ceda506ebbeb4f229254b87235ce90346692a0e233614182190b \
+    gomod://github.com/google/flatbuffers;version=v25.1.24+incompatible;sha256sum=925600f16ce3b62c77aff5a662435984ed37af7cc05577169564e902e0c31c29 \
+    gomod://github.com/google/s2a-go;version=v0.1.9;sha256sum=bf8f4b159d3fc201477822ed2514e4f05f58c764b78ffed73ec0accce5fb7f07 \
+    gomod://github.com/google/uuid;version=v1.6.0;sha256sum=d0f02f377217f42702e259684e06441edbf5140dddcc34ba9bea56038b38a6ed \
+    gomod://github.com/googleapis/enterprise-certificate-proxy;version=v0.3.6;sha256sum=6c44108f588c97a6a08b5ed907c3cc47dce31913f219a6d02b13e463d355603c \
+    gomod://github.com/googleapis/gax-go/v2;version=v2.14.2;sha256sum=1cd109cf4d1a81363f956885d1f7e7086bf9805122dbcf9382ca0c54a21979d5 \
+    gomod://github.com/gorilla/handlers;version=v1.5.2;sha256sum=7a69a0605890d69e91404e46b2d2063ef3c5c4e05c844ea154ef95d3479d7b7b \
+    gomod://github.com/ianlancetaylor/demangle;version=v0.0.0-20250625212726-86fd2c0a1a74;sha256sum=7ad8b2ba609745ed4b8923c0c2e8ab44acf7386eb0d6fd7ad7bf6da962bd0743 \
+    gomod://github.com/klauspost/compress;version=v1.18.0;sha256sum=c4679e4cbc820a21758199d985be754abf5eb2a38e6f1de95cd70b2e7ef06905 \
+    gomod://github.com/klauspost/cpuid/v2;version=v2.2.10;sha256sum=db89665fa22cef477dc551b72d49707c516b749c17ed154bf67eb8081ee08dff \
+    gomod://github.com/munnerz/goautoneg;version=v0.0.0-20191010083416-a7dc8b61c822;sha256sum=3d7ce17916779890be02ea6b3dd6345c3c30c1df502ad9d8b5b9b310e636afd9 \
+    gomod://github.com/pierrec/lz4/v4;version=v4.1.18;sha256sum=b397db34ff05610125e7c9de6de067a174a70ba3ba7dac81ba8ce4f22b1c0933 \
+    gomod://github.com/prometheus/client_golang;version=v1.23.0;sha256sum=f104d43e35b9217845792ec8eabbde59e31a11aaba64c47408cff8bafde2aa9e \
+    gomod://github.com/prometheus/client_model;version=v0.6.2;sha256sum=67017b19f220c6ab91ecfdd10a93824e2a8b09fcb6390054dbdc49df3354a9ca \
+    gomod://github.com/prometheus/common;version=v0.65.0;sha256sum=c97b1ab4d2c723923b367dbe48c283eafc0b94eb14faf8c98d81746b015242a9 \
+    gomod://github.com/prometheus/procfs;version=v0.16.1;sha256sum=e4b74815566cbf5aa372d23e1de32f16ac5c3c4c80bc94a31fdee60a1de6074a \
+    gomod://github.com/sergi/go-diff;version=v1.4.0;sha256sum=63aef1860b251af1421ba0a014a6bb08a60833f13f948f3d88d66754bb484f53 \
+    gomod://github.com/spiffe/go-spiffe/v2;version=v2.5.0;sha256sum=3b96ee2cef9a550ec779125216a03225fff44d3d702d51b6ef21e2202d2517d6 \
+    gomod://github.com/ulikunitz/xz;version=v0.5.12;sha256sum=0cba3268140e7c112c329b19ce3d4c8d4768a784fe0c80112bfa7bf43ace1a4a \
+    gomod://github.com/zeebo/errs;version=v1.4.0;sha256sum=5b7fb5cbe6bbd36933e8c98572f85121994e9842aefc90986f8d3a192cb69257 \
+    gomod://github.com/zeebo/xxh3;version=v1.0.2;sha256sum=190e5ef1f672e9321a1580bdd31c6440fde6044ca8168d2b489cf50cdc4f58a6 \
+    gomod://go.opencensus.io;version=v0.24.0;sha256sum=203a767d7f8e7c1ebe5588220ad168d1e15b14ae70a636de7ca9a4a88a7e0d0c \
+    gomod://go.opentelemetry.io/auto/sdk;version=v1.1.0;sha256sum=006d3a5a7292d11f093ce65fcd5a15d15fb7bd11d0e066503f91bd64c4bffe2c \
+    gomod://go.opentelemetry.io/contrib/detectors/gcp;version=v1.36.0;sha256sum=67e381df5c7e78edda7b773ebdef6e5dad42486e87eec838329ade6919985119 \
+    gomod://go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc;version=v0.61.0;sha256sum=9812bf570350cd1377bf458b71ea5d9fffe44733fc2dccbcfd1f5c564a6b27b7 \
+    gomod://go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp;version=v0.61.0;sha256sum=0009120ed94c4279573eea0f01841f7c9ff51cafd1c9559fc09820c9f870f399 \
+    gomod://go.opentelemetry.io/otel;version=v1.36.0;sha256sum=f3cdc5d41b3056ab4fa95ee1145708d12e5a5fd0106f79c3f0133a7f5f1ef799 \
+    gomod://go.opentelemetry.io/otel/metric;version=v1.36.0;sha256sum=a4ff3b88cca25a317752193a65547250822cdd6acfa08d9cbb57071d1e1c4951 \
+    gomod://go.opentelemetry.io/otel/sdk;version=v1.36.0;sha256sum=d16c77fb714cca3036530fddba0baf5f1ad21a6de8dffd73130668807c61b01a \
+    gomod://go.opentelemetry.io/otel/sdk/metric;version=v1.36.0;sha256sum=946a0d0d2b5ab3636a848a3041f8b7bd91e505cd563dc9907a3836076c9e214f \
+    gomod://go.opentelemetry.io/otel/trace;version=v1.36.0;sha256sum=f8877234c555f5f793fed92b17e2bf6744f6c504871eb713fa1e916ba0b6c6b6 \
+    gomod://golang.org/x/crypto;version=v0.40.0;sha256sum=6a55423d327359615db923c5f17e5f10c4c7d91c39ef8d0b7f6e0876f89ff9da \
+    gomod://golang.org/x/exp;version=v0.0.0-20250711185948-6ae5c78190dc;sha256sum=01d8fecd44e904b86e66c78cf6b403b27312513c0534455ee7b9c86600d9b7aa \
+    gomod://golang.org/x/net;version=v0.42.0;sha256sum=cc9f79d1c8a796c756b636cee007b4ac5eba7b1f3276cd42658f4ac4a28cfbc1 \
+    gomod://golang.org/x/oauth2;version=v0.30.0;sha256sum=1e1028d0b190948f0cd44229bfa298440cb2481f601f992e12424bc6fa1f183c \
+    gomod://golang.org/x/sync;version=v0.16.0;sha256sum=ca43984183eb14f7f50d33da350312fed1c42e106dceac2437bfd5084b497dcd \
+    gomod://golang.org/x/sys;version=v0.34.0;sha256sum=27d5489227865ffffc3fbbbaf6100952ca2925eba19cfdff01e6e76b986b4bb4 \
+    gomod://golang.org/x/text;version=v0.27.0;sha256sum=1230ce66d74ed4510f1578f25b4e53beee00926dc24c86fab7242637f8415ea8 \
+    gomod://golang.org/x/time;version=v0.12.0;sha256sum=cdcb04c43b112919c5e0d0fa1d90769124ad56918a44e6cb0747876ed7e5015c \
+    gomod://golang.org/x/xerrors;version=v0.0.0-20240903120638-7835f813f4da;sha256sum=07ee9f680118861ee732ce0df4553b834383b87e0519fb9a0990c51d7abd6885 \
+    gomod://google.golang.org/api;version=v0.237.0;sha256sum=944b38303416810562a220f444ec7c0c13834793a9e7e46ce0f644c3c5b478e0 \
+    gomod://google.golang.org/appengine/v2;version=v2.0.6;sha256sum=9eab40689a66240d1132f31d2418a03776221ed07c3f72e22e9527ad063c9dde \
+    gomod://google.golang.org/genproto;version=v0.0.0-20250603155806-513f23925822;sha256sum=631efdcf106cc5af4bb1e3298a40eedebe8a023a408b0465a5cb3ee486a57879 \
+    gomod://google.golang.org/genproto/googleapis/api;version=v0.0.0-20250603155806-513f23925822;sha256sum=ec9d0cf0e96082fc6eef3a8beeb4cb74951294a57dac0d501b25a37e64df2594 \
+    gomod://google.golang.org/genproto/googleapis/rpc;version=v0.0.0-20250603155806-513f23925822;sha256sum=3b43fafd95300765d08eb0d0137b699c5ee9c105b6af93c4916e7081c97b3a75 \
+    gomod://google.golang.org/grpc;version=v1.73.0;sha256sum=7d628abd6c4c133205db6b72e374bbd2f438b12a2a5f838f34fd8d95d91f8c0b \
+    gomod://google.golang.org/protobuf;version=v1.36.6;sha256sum=3294ac8ea5089b3c231351afaea4f012e8027a9beeb523bbf31dcb383cc0ab99 \
+"
diff --git a/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc b/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
new file mode 100644
index 0000000000..2be12f2853
--- /dev/null
+++ b/meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc
@@ -0,0 +1,80 @@ 
+LICENSE += "& BSD-3-Clause & MIT"
+
+LIC_FILES_CHKSUM += "\
+    file://pkg/mod/cel.dev/expr@v0.24.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/cloud.google.com/go/auth/oauth2adapt@v0.2.8/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/cloud.google.com/go/auth@v0.16.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/cloud.google.com/go/bigquery@v1.69.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/cloud.google.com/go/compute/metadata@v0.7.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/cloud.google.com/go/iam@v1.5.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/cloud.google.com/go/monitoring@v1.24.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/cloud.google.com/go/spanner@v1.82.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/cloud.google.com/go/storage@v1.55.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/cloud.google.com/go@v0.121.3/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/!google!cloud!platform/grpc-gcp-go/grpcgcp@v1.5.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/detectors/gcp@v1.28.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/exporter/metric@v0.52.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/internal/resourcemapping@v0.52.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/!vivid!cortex/gohistogram@v1.0.0/LICENSE;md5=13880cf5821e7668762c89bb8a6045d3;spdx=MIT \
+    file://pkg/mod/github.com/apache/arrow/go/v15@v15.0.2/LICENSE.txt;md5=9046099156f93a7f0ac340571476a58b;spdx=Unknown \
+    file://pkg/mod/github.com/beorn7/perks@v1.0.1/LICENSE;md5=0d0738f37ee8dc0b5f88a32e83c60198;spdx=MIT \
+    file://pkg/mod/github.com/cespare/xxhash/v2@v2.3.0/LICENSE.txt;md5=802da049c92a99b4387d3f3d91b00fa9;spdx=MIT \
+    file://pkg/mod/github.com/cncf/xds/go@v0.0.0-20250501225837-2ac532fd4443/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/envoyproxy/go-control-plane/envoy@v1.32.4/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/envoyproxy/protoc-gen-validate@v1.2.1/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/felixge/httpsnoop@v1.0.4/LICENSE.txt;md5=684da2bf3eed8fc8860e75ad84638225;spdx=MIT \
+    file://pkg/mod/github.com/go-jose/go-jose/v4@v4.1.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/go-logr/logr@v1.4.3/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/go-logr/stdr@v1.2.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/goccy/go-json@v0.10.5/LICENSE;md5=33a07164132d795872805bfc53f6097d;spdx=MIT \
+    file://pkg/mod/github.com/golang/groupcache@v0.0.0-20241129210726-2c02b8208cf8/LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/google/flatbuffers@v25.1.24+incompatible/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/google/s2a-go@v0.1.9/LICENSE.md;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/google/uuid@v1.6.0/LICENSE;md5=88073b6dd8ec00fe09da59e0b6dfded1;spdx=BSD-3-Clause \
+    file://pkg/mod/github.com/googleapis/enterprise-certificate-proxy@v0.3.6/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/googleapis/gax-go/v2@v2.14.2/LICENSE;md5=0dd48ae8103725bd7b401261520cdfbb;spdx=BSD-3-Clause \
+    file://pkg/mod/github.com/ianlancetaylor/demangle@v0.0.0-20250625212726-86fd2c0a1a74/LICENSE;md5=81729dc66d48cba483290ca39318923d;spdx=Unknown \
+    file://pkg/mod/github.com/klauspost/compress@v1.18.0/LICENSE;md5=d0fd9ebda39468b51ff4539c9fbb13a8;spdx=BSD-3-Clause \
+    file://pkg/mod/github.com/munnerz/goautoneg@v0.0.0-20191010083416-a7dc8b61c822/LICENSE;md5=0c241922fc69330e2e5590de114f3bf5;spdx=BSD-3-Clause \
+    file://pkg/mod/github.com/pierrec/lz4/v4@v4.1.18/LICENSE;md5=09ece85f3c312a63b522bfc6ebd44943;spdx=Unknown \
+    file://pkg/mod/github.com/prometheus/client_golang@v1.23.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/prometheus/client_model@v0.6.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/prometheus/common@v0.65.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/prometheus/procfs@v0.16.1/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/sergi/go-diff@v1.4.0/APACHE-LICENSE-2.0;md5=2ee41112a44fe7014dce33e26468ba93;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/spiffe/go-spiffe/v2@v2.5.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/github.com/ulikunitz/xz@v0.5.12/LICENSE;md5=3c82255323cf3d48815acdbf9068b715;spdx=Unknown \
+    file://pkg/mod/github.com/zeebo/errs@v1.4.0/LICENSE;md5=84914ab36fc0eb48edbaa53e66e8d326;spdx=MIT \
+    file://pkg/mod/github.com/zeebo/xxh3@v1.0.2/LICENSE;md5=acf3e468cbf92b877ec5cdff11749253;spdx=Unknown \
+    file://pkg/mod/go.opencensus.io@v0.24.0/LICENSE;md5=175792518e4ac015ab6696d16c4f607e;spdx=Apache-2.0 \
+    file://pkg/mod/go.opentelemetry.io/auto/sdk@v1.1.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/go.opentelemetry.io/contrib/detectors/gcp@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.61.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.61.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/go.opentelemetry.io/otel/metric@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/go.opentelemetry.io/otel/sdk/metric@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/go.opentelemetry.io/otel/sdk@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/go.opentelemetry.io/otel/trace@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/go.opentelemetry.io/otel@v1.36.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \
+    file://pkg/mod/golang.org/x/crypto@v0.40.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
+    file://pkg/mod/golang.org/x/exp@v0.0.0-20250711185948-6ae5c78190dc/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
+    file://pkg/mod/golang.org/x/net@v0.42.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
+    file://pkg/mod/golang.org/x/oauth2@v0.30.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
+    file://pkg/mod/golang.org/x/sync@v0.16.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
+    file://pkg/mod/golang.org/x/sys@v0.34.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
+    file://pkg/mod/golang.org/x/text@v0.27.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
+    file://pkg/mod/golang.org/x/time@v0.12.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
+    file://pkg/mod/golang.org/x/xerrors@v0.0.0-20240903120638-7835f813f4da/LICENSE;md5=e828fb91fe88d9e5d620842cf8bd81b0;spdx=Unknown \
+    file://pkg/mod/google.golang.org/api@v0.237.0/LICENSE;md5=a651bb3d8b1c412632e28823bb432b40;spdx=BSD-3-Clause \
+    file://pkg/mod/google.golang.org/genproto/googleapis/api@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/google.golang.org/genproto/googleapis/rpc@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/google.golang.org/genproto@v0.0.0-20250603155806-513f23925822/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/google.golang.org/grpc@v1.73.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+    file://pkg/mod/google.golang.org/protobuf@v1.36.6/LICENSE;md5=02d4002e9171d41a8fad93aa7faf3956;spdx=BSD-3-Clause \
+"
+
+LIC_FILES_CHKSUM:class-native += "\
+    file://pkg/mod/github.com/golang/protobuf@v1.5.4/LICENSE;md5=939cce1ec101726fa754e698ac871622;spdx=BSD-3-Clause \
+    file://pkg/mod/github.com/gorilla/handlers@v1.5.2/LICENSE;md5=c30eee78985cf2584cded5f89ba3d787;spdx=Unknown \
+    file://pkg/mod/google.golang.org/appengine/v2@v2.0.6/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \
+"
diff --git a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch b/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
deleted file mode 100644
index 23bfb9a5e2..0000000000
--- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Include-missing-linux-falloc.h.patch
+++ /dev/null
@@ -1,37 +0,0 @@ 
-From 9db789b4498d4130450e988757914c03e42b40f5 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 19 Jun 2023 18:33:36 -0700
-Subject: [PATCH] executor: Include missing linux/falloc.h
-
-Its needed for FALLOC_FL_ZERO_RANGE which needs this header, it works
-with glibc because fcntl.h includes this header indirectly, however the
-failure comes to fore with musl C library where this header is not
-included indirectly by other system headers, therefore include it as
-required.
-
-Fixes
-In file included from executor/common.h:505:
-executor/common_linux.h:5604:16: error: use of undeclared identifier 'FALLOC_FL_ZERO_RANGE'
-        fallocate(fd, FALLOC_FL_ZERO_RANGE, 0, SWAP_FILE_SIZE);
-                      ^
-Upstream-Status: Submitted [https://github.com/google/syzkaller/pull/3974]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- executor/common_linux.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/executor/common_linux.h b/executor/common_linux.h
-index d5152e058..9ae3fb159 100644
---- a/executor/common_linux.h
-+++ b/executor/common_linux.h
-@@ -5585,6 +5585,7 @@ static long syz_pkey_set(volatile long pkey, volatile long val)
- #include <sys/stat.h>
- #include <sys/swap.h>
- #include <sys/types.h>
-+#include <linux/falloc.h>
- 
- #define SWAP_FILE "./swap-file"
- #define SWAP_FILE_SIZE (128 * 1000 * 1000) // 128 MB.
--- 
-2.41.0
-
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
deleted file mode 100644
index 8bb19fb72b..0000000000
--- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-executor-Remove-including-error.h-in-test_linux.h.patch
+++ /dev/null
@@ -1,29 +0,0 @@ 
-From 648868595cf290e77aab1f271db2a57e1f791301 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 20 May 2024 20:37:07 -0700
-Subject: [PATCH] executor: Remove including <error.h> in test_linux.h
-
-it seems to be redundant and moreover it lets us compile on musl which
-does not provide this system header
-
-Upstream-Status: Submitted [https://github.com/google/syzkaller/pull/4822]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- executor/test_linux.h | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/executor/test_linux.h b/executor/test_linux.h
-index 7cf459569..8c9493539 100644
---- a/executor/test_linux.h
-+++ b/executor/test_linux.h
-@@ -1,7 +1,6 @@
- // Copyright 2017 syzkaller project authors. All rights reserved.
- // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
- 
--#include <error.h>
- #include <stdint.h>
- #include <sys/utsname.h>
- 
--- 
-2.45.1
-
diff --git a/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch b/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
deleted file mode 100644
index 61f4351651..0000000000
--- a/meta-oe/recipes-test/syzkaller/syzkaller/0001-sys-targets-targets.go-allow-users-to-override-hardc.patch
+++ /dev/null
@@ -1,62 +0,0 @@ 
-From aca1030d29f627314d13884ebc7b2c313d718df7 Mon Sep 17 00:00:00 2001
-From: Ovidiu Panait <ovidiu.panait@windriver.com>
-Date: Wed, 13 Apr 2022 17:17:54 +0300
-Subject: [PATCH] sys/targets/targets.go: allow users to override hardcoded
- cross-compilers
-
-Currently, cross compiler names are hardcoded for each os/arch combo. However,
-toolchain tuples differ, especially when using vendor provided toolchains.
-Allow users to specify the cross compiler for an os/arch combo using
-SYZ_CC_<os>_<arch> environment variables.
-
-Also, remove hardcoded "-march=armv6" flag to fix compilation on arm.
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
----
- sys/targets/targets.go | 19 +++++++++++--------
- 1 file changed, 11 insertions(+), 8 deletions(-)
-
---- a/sys/targets/targets.go
-+++ b/sys/targets/targets.go
-@@ -262,7 +262,6 @@ var List = map[string]map[string]*Target
- 			PtrSize:          4,
- 			PageSize:         4 << 10,
- 			LittleEndian:     true,
--			CFlags:           []string{"-D__LINUX_ARM_ARCH__=6", "-march=armv6"},
- 			Triple:           "arm-linux-gnueabi",
- 			KernelArch:       "arm",
- 			KernelHeaderArch: "arm",
-@@ -700,12 +699,16 @@ func initTarget(target *Target, OS, arch
- 	for i := range target.CFlags {
- 		target.replaceSourceDir(&target.CFlags[i], sourceDir)
- 	}
--	if OS == Linux && arch == runtime.GOARCH {
--		// Don't use cross-compiler for native compilation, there are cases when this does not work:
--		// https://github.com/google/syzkaller/pull/619
--		// https://github.com/google/syzkaller/issues/387
--		// https://github.com/google/syzkaller/commit/06db3cec94c54e1cf720cdd5db72761514569d56
--		target.Triple = ""
-+	if OS == Linux {
-+		if cc := os.Getenv("SYZ_CC_" + OS + "_" + arch); cc != "" {
-+			target.CCompiler = cc
-+		} else if arch == runtime.GOARCH {
-+			// Don't use cross-compiler for native compilation, there are cases when this does not work:
-+			// https://github.com/google/syzkaller/pull/619
-+			// https://github.com/google/syzkaller/issues/387
-+			// https://github.com/google/syzkaller/commit/06db3cec94c54e1cf720cdd5db72761514569d56
-+			target.Triple = ""
-+		}
- 	}
- 	if target.CCompiler == "" {
- 		target.setCompiler(useClang)
-@@ -839,7 +842,7 @@ func (target *Target) lazyInit() {
- 	// On CI we want to fail loudly if cross-compilation breaks.
- 	// Also fail if SOURCEDIR_GOOS is set b/c in that case user probably assumes it will work.
- 	if (target.OS != runtime.GOOS || !runningOnCI) && getSourceDir(target) == "" {
--		if _, err := exec.LookPath(target.CCompiler); err != nil {
-+		if _, err := exec.LookPath(strings.Fields(target.CCompiler)[0]); err != nil {
- 			target.BrokenCompiler = fmt.Sprintf("%v is missing (%v)", target.CCompiler, err)
- 			return
- 		}
diff --git a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
index b2b0f7ae9e..6aef105dd9 100644
--- a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
+++ b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
@@ -1,22 +1,23 @@ 
-DESCRIPTION = "syzkaller is an unsupervised coverage-guided kernel fuzzer"
+SUMMARY = "Unsupervised coverage-guided kernel fuzzer"
+HOMEPAGE = "https://github.com/google/syzkaller"
+BUGTRACKER = "https://github.com/google/syzkaller/issues"
+SECTION = "devel"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=5335066555b14d832335aa4660d6c376"
+require ${BPN}-licenses.inc
 
-inherit go-mod
-
-GO_IMPORT = "github.com/google/syzkaller"
+DEPENDS:class-native += "qemu-system-native"
 
-SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT};branch=master \
-           file://0001-sys-targets-targets.go-allow-users-to-override-hardc.patch;patchdir=src/${GO_IMPORT} \
-           file://0001-executor-Include-missing-linux-falloc.h.patch;patchdir=src/${GO_IMPORT} \
-           file://0001-executor-Remove-including-error.h-in-test_linux.h.patch;patchdir=src/${GO_IMPORT} \
-           "
-SRCREV = "25905f5d0a2a7883bd33491997556193582c6059"
+SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX};branch=master"
+SRCREV = "22ec1469fe8c0ba256de07e8f97fa7b375b522bd"
+require ${BPN}-go-mods.inc
 
 # Upstream repo does not tag
 UPSTREAM_CHECK_COMMITS = "1"
 
-export GOPROXY = "https://proxy.golang.org,direct"
+inherit go-mod
+
+GO_IMPORT = "github.com/google/syzkaller"
 
 COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux"
 
@@ -24,13 +25,16 @@  B = "${S}/src/${GO_IMPORT}/bin"
 
 GO_EXTRA_LDFLAGS += ' -X ${GO_IMPORT}/prog.GitRevision=${SRCREV}'
 
-export GOHOSTFLAGS = "${GO_LINKSHARED} ${GOBUILDFLAGS}"
-export GOTARGETFLAGS = "${GO_LINKSHARED} ${GOBUILDFLAGS}"
+export GOHOSTFLAGS = "${GOBUILDFLAGS}"
+export GOTARGETFLAGS = "${GOBUILDFLAGS}"
 export TARGETOS = '${GOOS}'
 export TARGETARCH = '${GOARCH}'
 export TARGETVMARCH = '${GOARCH}'
 
-CGO_ENABLED = "1"
+CGO_ENABLED = "0"
+
+# -buildmode=pie requires external (cgo) linking on ARM and x86
+GOBUILDFLAGS:remove = "-buildmode=pie"
 
 LDFLAGS:append:class-target = "${@bb.utils.contains_any("TC_CXX_RUNTIME", "llvm android", " -lc++", " -lstdc++", d)}"
 
@@ -47,6 +51,7 @@  do_compile:class-target() {
     export HOSTOS="${GOOS}"
     export HOSTARCH="${GOARCH}"
     export SYZ_CC_${TARGETOS}_${TARGETARCH}="${CC}"
+    export SYZ_CXX_${TARGETOS}_${TARGETARCH}="${CXX}"
 
     # Unset GOOS and GOARCH so that the correct syz-sysgen binary can be
     # generated. Fixes:
@@ -54,12 +59,12 @@  do_compile:class-target() {
     unset GOOS
     unset GOARCH
 
-    oe_runmake GO="${GO}" CFLAGS="${CXXFLAGS} ${LDFLAGS}" REV=${SRCREV} target
+    oe_runmake GO="${GO}" REV=${SRCREV} target
 }
 
 do_install:class-native() {
-    SYZ_BINS_NATIVE="syz-manager syz-runtest syz-repro syz-mutate syz-prog2c \
-                     syz-db syz-upgrade"
+    SYZ_BINS_NATIVE="syz-manager syz-repro syz-mutate syz-prog2c syz-db \
+                     syz-upgrade"
 
     install -d ${D}${bindir}
 
@@ -70,7 +75,7 @@  do_install:class-native() {
 
 do_install:class-target() {
     SYZ_TARGET_DIR="${TARGETOS}_${TARGETARCH}"
-    SYZ_BINS_TARGET="syz-fuzzer syz-execprog syz-stress syz-executor"
+    SYZ_BINS_TARGET="syz-execprog syz-executor"
 
     install -d ${D}${bindir}/${SYZ_TARGET_DIR}