Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package leancrypto for openSUSE:Factory 
checked in at 2025-11-07 18:19:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/leancrypto (Old)
 and      /work/SRC/openSUSE:Factory/.leancrypto.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "leancrypto"

Fri Nov  7 18:19:58 2025 rev:7 rq:1315730 version:1.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/leancrypto/leancrypto.changes    2025-10-30 
17:09:13.693142070 +0100
+++ /work/SRC/openSUSE:Factory/.leancrypto.new.1980/leancrypto.changes  
2025-11-07 18:20:24.602275458 +0100
@@ -1,0 +2,6 @@
+Wed Nov  5 09:28:31 UTC 2025 - Guillaume GARDET <[email protected]>
+
+- Add upstream patch to fix GCS on aarch64:
+  * fe9751f2.patch
+
+-------------------------------------------------------------------

New:
----
  fe9751f2.patch

----------(New B)----------
  New:- Add upstream patch to fix GCS on aarch64:
  * fe9751f2.patch
----------(New E)----------

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

Other differences:
------------------
++++++ leancrypto.spec ++++++
--- /var/tmp/diff_new_pack.byUyRT/_old  2025-11-07 18:20:27.366391701 +0100
+++ /var/tmp/diff_new_pack.byUyRT/_new  2025-11-07 18:20:27.366391701 +0100
@@ -42,6 +42,8 @@
 Source1:        
https://www.leancrypto.org/%{pkgname}/releases/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.xz.asc
 Source2:        
https://leancrypto.org/about/smuellerDD-2024.asc#/leancrypto.keyring
 Source3:        baselibs.conf
+# PATCH-FIX-UPSTREAM - 
https://github.com/smuellerDD/leancrypto/commit/fe9751f2b
+Patch1:         fe9751f2.patch
 BuildRequires:  clang
 BuildRequires:  meson
 %if %{with kmp}
@@ -114,6 +116,7 @@
 
 This subpackage holds the tools provided by the library, such as sha*sum.
 %else
+
 %package KMP
 Summary:        leancrypto Kernel Module Package
 Group:          System/Kernel

++++++ fe9751f2.patch ++++++
>From fe9751f2b13581e938f25b82f3e725372223af81 Mon Sep 17 00:00:00 2001
From: Stephan Mueller <[email protected]>
Date: Wed, 5 Nov 2025 10:01:06 +0100
Subject: [PATCH] ARM64: Add GCS support in assembly code

The GCS support is properly enabled as seen with the following command:

$ readelf -n build/libleancrypto.so

Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000010       NT_GNU_PROPERTY_TYPE_0
      Properties: AArch64 feature: BTI, PAC, GCS

Signed-off-by: Stephan Mueller <[email protected]>
[EDIT: drop the diff of CHANGES.md]
---
 CHANGES.md                       |  2 ++
 internal/api/assembler_support.h | 14 ++++++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/internal/api/assembler_support.h b/internal/api/assembler_support.h
index be6afb00..bc89efb2 100644
--- a/internal/api/assembler_support.h
+++ b/internal/api/assembler_support.h
@@ -73,11 +73,21 @@
 #  define GNU_PROPERTY_AARCH64_POINTER_AUTH 0
 # endif
 
+# if defined(__ARM_FEATURE_GCS_DEFAULT) && __ARM_FEATURE_GCS_DEFAULT == 1
+#  define GNU_PROPERTY_AARCH64_GCS (1<<2)
+# else
+#  define GNU_PROPERTY_AARCH64_GCS 0 /* No GCS */
+# endif
+
 /* Add the BTI / PAC support to GNU Notes section */
-# if GNU_PROPERTY_AARCH64_BTI != 0 || GNU_PROPERTY_AARCH64_POINTER_AUTH != 0
+# if GNU_PROPERTY_AARCH64_BTI != 0 ||                                          
\
+     GNU_PROPERTY_AARCH64_POINTER_AUTH != 0 ||                                 
\
+     GNU_PROPERTY_AARCH64_GCS != 0
 #  define LC_GNU_PROPERTY_ALIGN 3 /* 2 on 32 bit systems, which we do not 
cover here */
 #  define LC_GNU_PROPERTY_TYPE 0xc0000000
-#  define LC_GNU_PROPERTY_DATA 
(GNU_PROPERTY_AARCH64_BTI|GNU_PROPERTY_AARCH64_POINTER_AUTH)
+#  define LC_GNU_PROPERTY_DATA (GNU_PROPERTY_AARCH64_BTI |                     
\
+                                GNU_PROPERTY_AARCH64_POINTER_AUTH |            
\
+                                GNU_PROPERTY_AARCH64_GCS)
 # endif
 #endif
 

Reply via email to