Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package velociraptor for openSUSE:Factory 
checked in at 2026-11-13 18:36:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/velociraptor (Old)
 and      /work/SRC/openSUSE:Factory/.velociraptor.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "velociraptor"

Fri Nov 13 18:36:49 2026 rev:27 rq:1397334 version:0.76.7.0.git145.b60ef1146

Changes:
--------
--- /work/SRC/openSUSE:Factory/velociraptor/velociraptor.changes        
2026-10-06 19:21:46.100973384 +0200
+++ /work/SRC/openSUSE:Factory/.velociraptor.new.1251/velociraptor.changes      
2026-11-13 18:41:10.567140730 +0100
@@ -1,0 +2,7 @@
+Thu Nov 12 14:24:41 UTC 2026 - Darragh O'Reilly <[email protected]>
+
+- Add 0001-include-add-128-bit-integer-types-to-linux-types.h.patch
+  * Fix libbpf build on Tumbleweed/aarch64
+    Temp fix until libbpfgo includes fixed libbpf
+
+-------------------------------------------------------------------
@@ -92 +98,0 @@
-    Fixes CVE-2026-33487
@@ -98 +104 @@
-    Fixes CVE-2026-33487 (bsc#1267056)
+    Fixes CVE-2026-33487 (bsc#1285987)

New:
----
  0001-include-add-128-bit-integer-types-to-linux-types.h.patch

----------(New B)----------
  New:
- Add 0001-include-add-128-bit-integer-types-to-linux-types.h.patch
  * Fix libbpf build on Tumbleweed/aarch64
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ velociraptor.spec ++++++
--- /var/tmp/diff_new_pack.C4daXW/_old  2026-11-13 18:41:13.496264659 +0100
+++ /var/tmp/diff_new_pack.C4daXW/_new  2026-11-13 18:41:13.498264744 +0100
@@ -116,6 +116,7 @@
 Patch1:         vendor-build-fixes-for-SLE12.patch
 Patch2:         sdjournal-build-fix-for-SLE12.patch
 Patch3:         velociraptor-reproducible-timestamp.diff
+Patch4:         0001-include-add-128-bit-integer-types-to-linux-types.h.patch
 BuildRequires:  fileb0x
 %if 0%{?suse_version}
 BuildRequires:  systemd-rpm-macros
@@ -263,7 +264,7 @@
 
 %prep
 %setup -q -a 1 -a 2 -n %{projname}-%{VERSION}
-%autopatch -p1
+%autopatch -p1 -M 3
 
 # Set the version to something more specific than <next-tag>-dev
 sed -ie "s/\([[:space:]]VERSION *= \).*/\1 \"%{VERSION}\"/" 
constants/constants.go
@@ -278,6 +279,11 @@
 
 cp vmlinux.h-%{vmlinux_h_version}/vmlinux-${arch}.h \
    third_party/libbpfgo/output/vmlinux.h
+
+%if %{?suse_version} == 1699 && "%{_arch}" == "aarch64"
+%patch -P 4 -p1
+%endif
+
 %endif
 
 # These just clutter the GUI and we don't have Windows clients

++++++ 0001-include-add-128-bit-integer-types-to-linux-types.h.patch ++++++
>From f90a9c487d7542d91fa584b83b6a624a4fbeb341 Mon Sep 17 00:00:00 2001
From: Daniel Golle <[email protected]>
Date: Mon, 7 Sep 2026 16:54:26 +0100
Subject: [PATCH] include: add 128-bit integer types to linux/types.h

Linux 7.3 declares the fpsimd registers in the arm64 sigcontext as
__u128 instead of __uint128_t, see kernel commit d4bf9e08d412 ("arm64:
uapi: Use __u128 instead of __uint128_t in UAPI headers"). The private
linux/types.h in include/ shadows the kernel's linux/types.h while
building libbpf, so with glibc, whose signal.h pulls in
asm/sigcontext.h, the build fails with an unknown type name __u128.
Add the __s128 and __u128 typedefs as the kernel's uapi and tools
headers define them.

Signed-off-by: Daniel Golle <[email protected]>
---
 third_party/libbpfgo/libbpf/include/linux/types.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/third_party/libbpfgo/libbpf/include/linux/types.h 
b/third_party/libbpfgo/libbpf/include/linux/types.h
index cfb558a..3560e95 100644
--- a/third_party/libbpfgo/libbpf/include/linux/types.h
+++ b/third_party/libbpfgo/libbpf/include/linux/types.h
@@ -12,6 +12,11 @@
 #include <asm/types.h>
 #include <asm/posix_types.h>
 
+#ifdef __SIZEOF_INT128__
+typedef __signed__ __int128 __s128 __attribute__((aligned(16)));
+typedef unsigned __int128 __u128 __attribute__((aligned(16)));
+#endif
+
 #define __bitwise__
 #define __bitwise __bitwise__
 
-- 
2.50.0

Reply via email to