[PATCH] coredump filter: add mask for 'all' using UINT32_MAX, not UINT64_MAX
authorLuca Boccassi <bluca@debian.org>
Wed, 26 Apr 2023 13:19:33 +0000 (14:19 +0100)
committerCarlos Henrique Lima Melara <charlesmelara@riseup.net>
Thu, 26 Jun 2025 00:44:53 +0000 (21:44 -0300)
commitdf8aa0b658927e941dffbec6dda1ba0770a7c451
treed7190449f5caffb198b3f76f23f60949e854c8b6
parent95b7b4053cd3e05c49f81dd651f1dcc1b732961a
[PATCH] coredump filter: add mask for 'all' using UINT32_MAX, not UINT64_MAX

The kernel returns ERANGE when UINT64_MAX is passed. Create a mask
and use UINT32_max, which is accepted, so that future bits will also
be set.

Origin: upstream, https://github.com/systemd/systemd/commit/7f3bb8f20dcccaceea8b1ee05f0560b81162037b
Forwarded: not-needed
Last-Update: 2025-07-27

Gbp-Pq: Name fix-stack-overflow-in-coredump-filter-1.patch
src/shared/coredump-util.c
src/shared/coredump-util.h
src/test/test-coredump-util.c