Debian Patches

Status for luksmeta/10-2

Patch Description Author Forwarded Bugs Origin Last update
1791451386.v10-1-gba140c8.libluksmeta-fix-gap-allocator-bounds-checking.patch Libluksmeta: fix gap allocator bounds checking
The hard-limit passed to overlap() included slots[0].offset, shifting
the boundary past the gap whenever slot 0 was occupied. Pass the bare
gap length instead.

The overlap predicate missed a candidate range fully contained inside
an existing slot. Replace the two partial checks with the canonical
half-open interval intersection (start < e && s->offset < end) and
widen the slot endpoint to uint64_t as defense-in-depth.

Add test-lm-gap covering both regressions, zero-length metadata,
exact-fit and over-capacity boundaries, adjacent allocation, and
space reuse after wipe.

Signed-off-by: Sergio Correia <scorreia@redhat.com>
Sergio Correia <scorreia@redhat.com> not-needed upstream, commit v10-1-gba140c8 <https://github.com/latchset/luksmeta/commit/v10-1-gba140c8> 2026-10-08
local.test-luksmeta.patch Qualify cryptsetup in the test suite
As cryptsetup is not available in PATH for non-root, qualify the
invocation accordingly.
Christoph Biedl <debian.axhn@manchmal.in-ulm.de> not-needed 2017-08-31
local.dont-fail-tests-for-disabled-module-load.patch Don't fail test if cryptsetup fails for disabled module loading
On the Debian buildds and porter boxes, the crypt_format call in
libcryptsetup fails:

socket(AF_ALG, SOCK_SEQPACKET, 0) = -1 EAFNOSUPPORT (Address family not supported by protocol)

Reproducer using command line (run as non-root):
$ fallocate --length 8m test.img
$ echo foo | /usr/sbin/cryptsetup luksFormat test.img -

The actual reason is DSA disabled automatic module loading by
setting /proc/sys/kernel/modules_disabled to 1, for obvious reaons.

Make the tests non-fatal if they fail at that place, by using the
special exit code 77.
Christoph Biedl <debian.axhn@manchmal.in-ulm.de> not-needed debian 2017-11-20
local.use-asciidoctor-to-build-manpages.patch Use asciidoctor to build the manpages Christoph Biedl <debian.axhn@manchmal.in-ulm.de> yes upstream 2018-08-11

All known versions for source package 'luksmeta'

Links