Debian Patches

Status for gost-crypto/0.3.5-1.1

Patch Description Author Forwarded Bugs Origin Last update
Linux-6.12.patch fix module build for Linux 6.12: asm/unaligned.h moved to linux/unaligned.h Francesco C <fc.linuxuser@gmail.com> no
Linux-6.13.patch [PATCH] Support Linux 6.13: convert symbol namespace to string literal

In Linux 6.13 symbol namespaces has been converted to string literals.
See commit cdd30ebb1b9f36 module: Convert symbol namespace to string literal.

This causes the following compile time error:

In file included from /usr/src/linux-headers-6.14.0-5-generic/include/linux/module.h:22,
from testmgr.c:27:
testmgr.c:35:18: error: expected ‘,’ or ‘;’ before ‘CRYPTO_INTERNAL’
35 | MODULE_IMPORT_NS(CRYPTO_INTERNAL);
| ^~~~~~~~~~~~~~~
/usr/src/linux-headers-6.14.0-5-generic/include/linux/moduleparam.h:26:61: note: in definition of macro ‘__MODULE_INFO’
26 | = __MODULE_INFO_PREFIX __stringify(tag) "=" info
| ^~~~
/usr/src/linux-headers-6.14.0-5-generic/include/linux/module.h:299:33: note: in expansion of macro ‘MODULE_INFO’
299 | #define MODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, ns)
| ^~~~~~~~~~~
testmgr.c:35:1: note: in expansion of macro ‘MODULE_IMPORT_NS’
35 | MODULE_IMPORT_NS(CRYPTO_INTERNAL);
| ^~~~~~~~~~~~~~~~

Adjust the code for kernels >= 6.13.
Massimiliano Pellizzer <massimiliano.pellizzer@canonical.com> no other, https://github.com/GostCrypt/linux-crypto/pull/9 2025-03-04

All known versions for source package 'gost-crypto'

Links