Changes between v2.41.1 and v2.41.2-rc1 -------------------------------------------- commit 913cc9393cdc91d10d2e8f37b6c31ea30b588528 Author: Karel Zak Date: Thu Sep 11 11:06:44 2025 +0200 build-sys: update release dates Signed-off-by: Karel Zak NEWS | 2 +- configure.ac | 2 +- meson.build | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 31dbe00bb620ceedbcbb128ef05f107622dfba75 Author: Karel Zak Date: Thu Sep 11 11:04:00 2025 +0200 docs: add v2.41.2-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.41.2-ReleaseNotes | 105 ++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) commit 7f993cb440baef99cb94deb2f917160af8646c7d Author: Karel Zak Date: Thu Sep 11 10:55:40 2025 +0200 po-man: merge changes po-man/cs.po | 91 +- po-man/de.po | 173 +- po-man/es.po | 24119 ++++++++++++++++++++++++++++++++++---------- po-man/fr.po | 106 +- po-man/ko.po | 92 +- po-man/pl.po | 110 +- po-man/pt_BR.po | 94 +- po-man/ro.po | 169 +- po-man/sr.po | 169 +- po-man/uk.po | 115 +- po-man/util-linux-man.pot | 90 +- 11 files changed, 19849 insertions(+), 5479 deletions(-) commit c8c90fdbc0ee9a2bcdbe59c6d9fb05c4cd9733de Author: Antonio Ceballos Roa Date: Thu Sep 11 10:55:31 2025 +0200 po-man: update es.po (from translationproject.org) po-man/es.po | 24877 +++++++++++++-------------------------------------------- 1 file changed, 5431 insertions(+), 19446 deletions(-) commit 5407429ae0a77d960cab50f0141e1b1d4f74d9f5 Author: Karel Zak Date: Thu Sep 11 09:35:58 2025 +0200 libmount: don't report fsconfig errors with "nofail" The new kernel API returns EINVAL on FSCONFIG_CMD_CREATE if the mount source is inaccessible. We do not want to report this as an error when the "nofail" mount option is specified. Note that EINVAL may also be returned by other fsconfig() settings, so we need to check whether a source is specified and whether it is really inaccessible. This is just a heuristic (as with the old mount(2)). Fixes: https://github.com/util-linux/util-linux/issues/3741 Signed-off-by: Karel Zak (cherry picked from commit 8a7bc1ab00d91e8a17ca8cb2907ca3c2a73381dd) libmount/src/context_mount.c | 6 ++++++ 1 file changed, 6 insertions(+) commit aef88faa7f1164e1a41796a92df4ffd0887ed521 Author: Jeremy Linton Date: Wed Sep 10 09:51:21 2025 -0500 lscpu: New Arm C1 parts Arm has announced the C1-Nano with a TRM here: https://developer.arm.com/documentation/107753/latest The C1-Pro with a TRM here: https://developer.arm.com/documentation/107771/latest The C1-Ultra with a TRM here: https://developer.arm.com/documentation/108014/latest The C1-Premium with a TRM here: https://developer.arm.com/documentation/109416/latest Signed-off-by: Jeremy Linton (cherry picked from commit 50caf83d43fbee58ecb5a11e57857a027dea5148) sys-utils/lscpu-arm.c | 4 ++++ 1 file changed, 4 insertions(+) commit 616c0440d818735a478271953e12334ca1549f81 Author: Karel Zak Date: Wed Sep 10 10:31:23 2025 +0200 logger: fix buffer overflow when read stdin $ perl -e 'print "<" . "0"x10240' | logger --prio-prefix Segmentation fault (core dumped) Signed-off-by: Karel Zak (cherry picked from commit f9cdc91be0442b887e4a636fbb75f027f0267a84) misc-utils/logger.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 063d65949c6b1dbe25ccc7948debbd019f88a111 Author: Christian Goeschel Ndjomouo Date: Mon Sep 8 15:48:01 2025 -0400 rev: add --zero option to --help output Signed-off-by: Christian Goeschel Ndjomouo (cherry picked from commit d77118f46070f71eaafa3be1c7d24226ddcc2846) text-utils/rev.c | 1 + 1 file changed, 1 insertion(+) commit e49d137a553a3a0a87811071be28a0aae8ab991b Author: Matthew R. Ochs Date: Tue Sep 2 13:28:36 2025 -0700 lscpu: Add NVIDIA Olympus arm64 core Add an entry for NVIDIA Olympus arm64 core. Signed-off-by: Matthew R. Ochs (cherry picked from commit 908777470d403ec30c525472ba0d3701c9c5a223) sys-utils/lscpu-arm.c | 1 + 1 file changed, 1 insertion(+) commit 379023ae1a4dc8e290543caac849bc83eda077d7 Author: Karel Zak Date: Wed Sep 3 11:57:06 2025 +0200 hardlink: (man) add note note about ULFILEEQ_DEBUG= Addresses: https://github.com/util-linux/util-linux/discussions/3323 Signed-off-by: Karel Zak (cherry picked from commit d073aab9d34eea205545c77222947691f4abf5aa) misc-utils/hardlink.1.adoc | 5 +++++ 1 file changed, 5 insertions(+) commit 1f5dfe06e68d56749e62d5967bd960eda6e137a7 Author: Karel Zak Date: Wed Sep 3 11:30:57 2025 +0200 libfdisk: (script) improve separator usage in named-fields dump Ensure that name=value pairs are separated by commas. Signed-off-by: Karel Zak (cherry picked from commit c5e6712f29c18659f8bd9a567dc7f849a2a3cf3b) libfdisk/src/script.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) commit 4fb1af068914bd55570be6fb3ccb70bc5772a474 Author: Karel Zak Date: Wed Sep 3 10:54:06 2025 +0200 libfdisk: (script) fix device name separator parsing In the named-fields script format, the colon is used as the separator between the device name and other values. The device name may also contain colons. This commit ensures it is treated as a separator only when there is a space before or after the colon. Note that the device name is optional and may be omitted. There is no escaping for problematic characters in the name. Use " : " as the separator. Fixes: https://github.com/util-linux/util-linux/issues/3723 Signed-off-by: Karel Zak (cherry picked from commit 4eab9175dfd62c1d1a0bbc43a49ca8a85e9adac7) libfdisk/src/script.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit b3965e4cfa1adf7b988bc80a8e613b9501ccd4fa Author: Jiang XueQian Date: Sat Aug 30 17:02:59 2025 +0800 zramctl: ignore ENOENT when setting max_comp_streams The `max_comp_streams` attribute of zram devices has been deprecated and all writes were silently ignored by the kernel since 2016. It was finally removed in 6.15, causing zramctl to fail on ENOENT, when it should just ignore the error. Signed-off-by: Jiang XueQian (cherry picked from commit e4514111ebb6df5f22a0769a9dfb2338b9c6c81a) sys-utils/zramctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fea858d9df5de8f1d6dd7087c827e75775da75bb Author: Christian Goeschel Ndjomouo Date: Fri Aug 29 22:41:04 2025 -0400 findmnt: add missing newline in --raw, --pair and --list output formats Addresses: #3711 Signed-off-by: Christian Goeschel Ndjomouo (cherry picked from commit 5dfb06873eb07389cc2aa9276adb7791bb5f40ab) misc-utils/findmnt.c | 2 ++ 1 file changed, 2 insertions(+) commit 58238f7ee702c630f03a7c0f1d4d37f5424e8d63 Author: Prasanna Paithankar Date: Fri Aug 29 18:13:17 2025 +0530 man: Fixed incorrect ipcrm options Signed-off-by: Prasanna Paithankar (cherry picked from commit 40d088c63ce7742180e7d7e813dcababd4c478f5) sys-utils/ipcrm.1.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ee4f6fcafa597c256a254d6d54664163a7b3e1fd Author: Thomas Weißschuh Date: Sun Aug 24 11:45:45 2025 +0200 sfdisk: reject spurious arguments for --reorder/--backup-pt-sectors These commands only accept a single device argument. Reject any additional unexpected arguments. Signed-off-by: Thomas Weißschuh (cherry picked from commit 3c98bdcc1f9b13de8a9d54d034efea789978c1f9) disk-utils/sfdisk.c | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) commit 83d0bb552ae088d057b556d417327871c401a25a Author: cgoesche Date: Fri Aug 22 17:31:24 2025 -0400 getopt: document special symbols that should not be used as option characters getopt(3) routines return `?` or `:` when an unknown option character is encountered or an option is missing its required argument, respectively. It also disallows `;` as an option character. Documenting this makes users aware that they may not use these reserved symbols as option characters, e.g. `-?` which is used in some older programs. Addresses: #2995 Signed-off-by: Christian Goeschel Ndjomouo (cherry picked from commit 9b4f1ca3342bdff7e1c3d8eaf3735cf821f407bc) misc-utils/getopt.1.adoc | 2 +- misc-utils/getopt.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit 0d2c28244a47629c8b419abb93ff035ff6065560 Author: Jérôme Poulin Date: Thu Aug 21 23:54:17 2025 -0400 zramctl: fix MEM-USED column description The MEM-USED column was incorrectly documented as showing current memory consumption. This is due to confusing naming in the kernel's zram implementation: - Kernel field "mem_used_total" (3rd in mm_stat) = current memory usage - Kernel field "mem_used_max" (5th in mm_stat) = peak memory usage zramctl maps these as: - TOTAL column <= mem_used_total (current usage) - MEM-USED column <= mem_used_max (peak usage) The misleading "MEM-USED" name suggests current usage, but it actually shows the peak memory usage (high water mark) since device creation or last reset. This is tracked by the kernel's max_used_pages which only increases when current usage exceeds the stored maximum. Fixed description from: "memory zram have been consumed to store compressed data" to "peak memory usage to store compressed data". Mise à jour de la traduction française. (cherry picked from commit 616c88fb9565017c1a08c8869d2559b8d218c443) po/fr.po | 4 ++-- po/util-linux.pot | 2 +- sys-utils/zramctl.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit ca96ce7962e382b6c99d7d8f878cfe8e6917db3c Author: Karel Zak Date: Thu Aug 21 09:59:10 2025 +0200 include/mount-api-utils: avoid using sys/mount.h The file is unnecessary and introduces duplicate #define of MS_* macros. Fixes: https://github.com/util-linux/util-linux/issues/3674 Signed-off-by: Karel Zak (cherry picked from commit 2a9b48d20d74f65ac708b3bcee6a7e2a61aadf88) include/mount-api-utils.h | 1 - 1 file changed, 1 deletion(-) commit 0fe020fd797cf08011a17d15835dea07572988a8 Author: Mario Blättermann Date: Thu Aug 21 09:35:47 2025 +0200 liblastlog2: markup fixes for man pages Signed-off-by: Karel Zak (cherry picked from commit d6c72456dc5e88fe124e0299840352d12ee8aa05) liblastlog2/man/lastlog2.3.adoc | 8 ++++---- liblastlog2/man/ll2_import_lastlog.3.adoc | 6 +++--- liblastlog2/man/ll2_new_context.3.adoc | 4 ++-- liblastlog2/man/ll2_read_all.3.adoc | 6 +++--- liblastlog2/man/ll2_read_entry.3.adoc | 6 +++--- liblastlog2/man/ll2_remove_entry.3.adoc | 6 +++--- liblastlog2/man/ll2_rename_user.3.adoc | 6 +++--- liblastlog2/man/ll2_unref_context.3.adoc | 4 ++-- liblastlog2/man/ll2_update_login_time.3.adoc | 6 +++--- liblastlog2/man/ll2_write_entry.3.adoc | 6 +++--- 10 files changed, 29 insertions(+), 29 deletions(-) commit 4031504ab4c7b66d2ccff899ad3cf15f71c13bff Author: Alexander Kappner Date: Wed Aug 13 04:10:28 2025 -0700 logger: fix incorrect warning message when both --file and a message are specified Logger warns that when both --file and a message are given, the message is ignored. It does the opposite. Fix the warning message to conform to the observed behavior. Example: echo "You will not see this file in the log" > file.txt logger -f file.txt "You will see this message in the log" Signed-off-by: Alexander Kappner (cherry picked from commit 2a31355b11c3714cac2b6b60565b639aa32388f1) misc-utils/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7bc1ebbcc14b77ff9bc005dd029e80f06c39ed77 Author: Karel Zak Date: Tue Jul 29 11:40:16 2025 +0200 mkfs.cramfs: avoid uninitialized value [coverity scan] Signed-off-by: Karel Zak (cherry picked from commit c24654e0d5976fac7f785b8bf4f8217cc1df2772) disk-utils/mkfs.cramfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88bda51211c94e40e4f1bc8cffb96d70363eb3fe Author: Hongxu Jia Date: Mon Jul 28 20:35:13 2025 +0800 tests/helpers/test_sigstate.c: explicitly reset SIGINT to default action after trapping After upgrading bash to 5.3 to contain commit [1], if SIGINT was trapped in asynchronous subshell, bash called set_signal_async_ignored to make sure processes that are created by this asynchronous subshell to ignore SIGINT. And it caused test case `kill/decode' failed, the signal INT was existed in both of Blocked and Ignored $ ./tests/run.sh --use-system-commands --parsable --show-diff kill/decode ... diff-{{{ |--- /usr/lib/util-linux/ptest/tests/expected/kill/decode 2011-04-05 23:00:00.000000000 +0000 |+++ /usr/lib/util-linux/ptest/tests/output/kill/decode 2025-07-28 12:09:46.279000000 +0000 @@ -16,5 +16,5 @@ Pending (thread): INT ILL Pending (process): USR1 Blocked: INT ILL ABRT FPE USR1 SEGV TERM -Ignored: HUP QUIT TRAP PIPE ALRM +Ignored: HUP INT QUIT TRAP PIPE ALRM Caught: ILL USR1 }}}-diff ... Explicitly reset SIGINT to default action after trapping, then the test case `kill/decode' works on both of old (<5.3) and new (>=5.3) bash [1] https://cgit.git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=a5d2617c7a7e602ace1f4149987cdfd075c4e762 Signed-off-by: Hongxu Jia (cherry picked from commit 6d46bbc0896b963486546d5d1b3d9241a2d5d0f8) tests/helpers/test_sigstate.c | 1 + 1 file changed, 1 insertion(+) commit 6e3b791d14796a1c7d79f0e9814fec8e94b32f51 Author: 胡玮文 Date: Mon Jul 28 14:32:13 2025 +0800 libblkid: (ext) reduce false positive Signed-off-by: 胡玮文 (cherry picked from commit 0c5d55e52d27be933e9e61b82bd386943bd9e05c) libblkid/src/superblocks/ext.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit cab14a338ee7bc753740d8becde7d44d122d0ca8 Author: Karel Zak Date: Mon Jul 21 08:16:25 2025 +0200 setpriv: Improve getgroups() Portability setpriv(1) is Linux-only, and on Linux, getgroups() returns at least one group. However, it's better to use more portable and generic code patterns and assume that getgroups() can return zero. Fixes: https://github.com/util-linux/util-linux/issues/3654 Reported-by: Alejandro Colomar Signed-off-by: Karel Zak (cherry picked from commit 434a5633a563066357bbc3f331838ed41041ec1a) sys-utils/setpriv.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit b65fea8514d24c9da3ba9b39c956024ff680c3a8 Author: Karel Zak Date: Thu Jul 24 12:48:00 2025 +0200 libblkid: improve UUID_SUB= description Fixes: https://github.com/util-linux/util-linux/issues/3657 Signed-off-by: Karel Zak (cherry picked from commit fc56a4c50a009ea6850f6c585cbbd53819399ed4) libblkid/libblkid.3.adoc | 2 +- libblkid/src/superblocks/superblocks.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 60920fa4c00f737f6781b9583009dac6d39cfbb9 Author: Karel Zak Date: Mon Jul 21 09:48:06 2025 +0200 fsck.cramfs: check buffer size for memcpy() - reuse MAX_INPUT_NAMELEN - check path buffer size before memcpy() to the buffer - check for zero path before use it Signed-off-by: Karel Zak (cherry picked from commit caf79c6073bed928653ed4a8c495c5f111973afb) disk-utils/cramfs.h | 9 +++++++++ disk-utils/fsck.cramfs.c | 12 ++++++++---- disk-utils/mkfs.cramfs.c | 8 -------- 3 files changed, 17 insertions(+), 12 deletions(-) commit 460ec6e1e7b534f84ffeadbbe25a182ddc622c17 Author: Karel Zak Date: Mon Aug 25 13:07:21 2025 +0200 tests: add color names test Signed-off-by: Karel Zak (cherry picked from commit 36a3c19e9a10afe83c9f3e6570521ad4ad252ef2) tests/commands.sh | 1 + tests/expected/misc/colors | 22 ++++++++++++++++++++++ tests/ts/misc/colors | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) commit 65326129a3de2e16d58ea9be0def4888feb2d089 Author: Karel Zak Date: Mon Aug 25 12:05:01 2025 +0200 lib/color-names: fix stupid bugs - sort "white" -> "yellow" - fix typo "lightgray," Fixes: https://github.com/util-linux/util-linux/issues/2863 Signed-off-by: Karel Zak (cherry picked from commit 1b9e3ffd2e4e1e18c6056c572547e1803923487e) lib/color-names.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3a43b3afec530376f29b020448216fd871e05414 Author: Karel Zak Date: Tue Jul 15 15:35:05 2025 +0200 lib/color-names: Fix color name canonicalization Return NULL rather than a random string if it cannot be translated to the color sequence. Signed-off-by: Karel Zak (cherry picked from commit 44ebe68c24da0bcf5aa1f48017d47d2d8995b0ed) lib/color-names.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 3cd5f1dd69495864f3046cdbcefa104786fe5a27 Author: Karel Zak Date: Wed Jul 2 12:25:45 2025 +0200 lib/path: avoid double free() for cpusets Addresses: https://github.com/util-linux/util-linux/issues/3641 Signed-off-by: Karel Zak (cherry picked from commit 4581ede384f22983d6155768635ce43cb5304cb0) lib/path.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0000a5d6fb6826fb44da5fdffb9c8b918dd54078 Author: Karel Zak Date: Wed Jul 2 11:48:22 2025 +0200 lsblk: fix possible use-after-free Signed-off-by: Karel Zak (cherry picked from commit 02955d9434396df4019132351d8264b74811dc3f) misc-utils/lsblk.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 7a49a0629757df585d95d53a96e01aa3d2781b92 Author: Koichi Murase Date: Tue Jul 1 22:39:23 2025 +0900 bash-completion: fix function name of enosys completion The function "_enosys_module" referenced by the completion setting on the last line of "bash-completion/enosys" is not defined in the current master. As reported in Ref. [1], this causes the following error on an attempt at argument completion for the "enosys" command: bash: _enosys_module: command not found [1] https://www.reddit.com/r/Fedora/comments/1llmu0w/comment/n00y98k/ Also, the function "_waitpid_module" defined in "bash-completion/enosys" overwrites another completion function of the same name defined in "bash-completion/waitpid". This patch renames the function in "bash-completion/enosys" to the correct one, "_enosys_module". (cherry picked from commit c83058dcd3a4dc703d64e245eff2d5db281a1b79) bash-completion/enosys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 16243dd32b57ed4b49593b4374bca20b69c5706b Author: Karel Zak Date: Tue Jul 1 10:00:19 2025 +0200 lsblk: fix memory leak [coverity scan] Signed-off-by: Karel Zak (cherry picked from commit b13f60104b646b45dc9bf43408e6fdec03382ad9) misc-utils/lsblk.c | 1 + 1 file changed, 1 insertion(+) commit aaf153432bdac59e4c413236424331f84122f11f Author: Jesse Rosenstock Date: Mon Jun 30 20:32:49 2025 +0200 man: Replace RETURN VALUE with EXIT STATUS in section 1 According to man-pages(7), sections 1 and 8 should normally use EXIT STATUS, while sections 2 and 3 should use RETURN VALUE. https://man7.org/linux/man-pages/man7/man-pages.7.html Signed-off-by: Jesse Rosenstock (cherry picked from commit 9dc97c99ae5b501a941dd31485671309a8f94573) schedutils/coresched.1.adoc | 2 +- schedutils/taskset.1.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c0785ecef1a7ad78882f1261dba0f3a16a858545 Author: Karel Zak Date: Mon Jun 30 12:20:13 2025 +0200 more: temporarily ignore stdin when waiting for stderr more waits for user commands on stderr, but at the same time, it monitors sigalfd and stdin (for data and POLLHUP|POLLNVAL). We need to temporarily ignore stdin if there is new data waiting for read() (e.g., dmesg | more); otherwise, more_key_command() will end in a busy loop. Fixes: https://github.com/util-linux/util-linux/issues/3634 Signed-off-by: Karel Zak (cherry picked from commit 85cbb5f5449be75d51b064681f0d92adf31f59be) text-utils/more.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit bea88a2e6a0fa67417fc0d01c0df259e0c46e2a4 Author: Karel Zak Date: Mon Jun 30 11:15:30 2025 +0200 lib/strutils: add ul_ prefix to strrep() and strrem() functions Addresses: https://github.com/util-linux/util-linux/issues/3626 Signed-off-by: Karel Zak (cherry picked from commit 7bb1151e559710f18682454384c99d7cd67f35fb) include/strutils.h | 4 ++-- sys-utils/lscpu-cputype.c | 4 ++-- term-utils/script-playutils.c | 2 +- term-utils/script.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 71a6f964c106c5e692b16468b9f4aa2e9ec3229e Author: Karel Zak Date: Mon Jun 30 11:15:30 2025 +0200 lib/strutils: add ul_ prefix to split() function Addresses: https://github.com/util-linux/util-linux/issues/3626 Signed-off-by: Karel Zak (cherry picked from commit 6b627aa34d2977eb347b32040c1c3075daad3d1d) include/strutils.h | 2 +- lib/strutils.c | 2 +- lib/strv.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 24b422952a16b21db6f612fcf42368b7eee84141 Author: Karel Zak Date: Mon Jun 30 11:15:30 2025 +0200 lib/strutils: add ul_ prefix to strappend() functions Addresses: https://github.com/util-linux/util-linux/issues/3626 Signed-off-by: Karel Zak (cherry picked from commit d42e5e4bc355277b820d98768e2fda52e2d08e76) include/strutils.h | 4 ++-- include/xalloc.h | 4 ++-- lib/strutils.c | 8 ++++---- libmount/src/fs.c | 2 +- libmount/src/tab.c | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) commit 2363af1da03855d3ba8025f68ad78ec3c3b3797d Author: Karel Zak Date: Mon Jun 30 11:15:30 2025 +0200 lib/strutils: add ul_ prefix to strconcat() functions Addresses: https://github.com/util-linux/util-linux/issues/3626 Signed-off-by: Karel Zak (cherry picked from commit c128ee3ea488174230065f6a35286e01e98996f8) include/strutils.h | 6 +++--- lib/strutils.c | 10 +++++----- lib/strv.c | 2 +- libmount/src/tab.c | 2 +- misc-utils/getopt.c | 2 +- misc-utils/logger.c | 4 ++-- sys-utils/ipcutils.c | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) commit d6373f5ab3720c436f244b6059962c49993e1260 Author: codefiles <11915375+codefiles@users.noreply.github.com> Date: Fri Jun 27 20:53:16 2025 -0400 lsblk: use md as fallback TYPE when md/level empty (cherry picked from commit 6bed45b965b22c8ea5c10c43320c19cf84fd8cfa) misc-utils/lsblk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e83eddf93bcee07c37f956cc2d7f534de4280ecb Author: Jesse Rosenstock Date: Fri Jun 27 10:27:25 2025 +0200 gitignore: Ignore tests/diff/ and test/output/ These are auto-generated and clutter git status. It's even worse with jj, which will auto-add them. Signed-off-by: Jesse Rosenstock (cherry picked from commit e9c21d2977ac480cec72720515630a1b0b8038d0) .gitignore | 2 ++ 1 file changed, 2 insertions(+) commit 228a44d01cde4ae497af58daac9eb1217738b536 Author: Karel Zak Date: Mon Jun 30 11:15:30 2025 +0200 lib/strutils: add ul_ prefix to startswith() and endswith() Addresses: https://github.com/util-linux/util-linux/issues/3626 Signed-off-by: Karel Zak (cherry picked from commit aa07db0ac1449627b3926669b052b07a1d3986ca) disk-utils/partx.c | 2 +- disk-utils/sfdisk.c | 6 +++--- include/strutils.h | 4 ++-- lib/canonicalize.c | 2 +- lib/loopdev.c | 2 +- lib/sysfs.c | 2 +- lib/timeutils.c | 4 ++-- libfdisk/src/utils.c | 2 +- libmount/src/context_mount.c | 4 ++-- libmount/src/context_umount.c | 2 +- libmount/src/hook_idmap.c | 6 +++--- libmount/src/optmap.c | 2 +- libmount/src/optstr.c | 2 +- libmount/src/tab.c | 4 ++-- libmount/src/tab_parse.c | 2 +- libmount/src/tab_update.c | 2 +- libmount/src/utils.c | 4 ++-- misc-utils/lsblk-properties.c | 2 +- misc-utils/lsclocks.c | 2 +- pam_lastlog2/src/pam_lastlog2.c | 6 +++--- sys-utils/lscpu-cputype.c | 2 +- sys-utils/mount.c | 6 +++--- sys-utils/rtcwake.c | 4 ++-- sys-utils/setpriv-landlock.c | 4 ++-- text-utils/bits.c | 12 ++++++------ 25 files changed, 45 insertions(+), 45 deletions(-) commit ea39e0fb615276e450fae0b80ccf2e868c680491 Author: Karel Zak Date: Thu Jun 26 13:47:00 2025 +0200 lib/strv: use ul_ prefix for strv functions The functions are originally from systemd/udev, so it's possible that during static linking, they may collide with other systemd-based components. Fixes: https://github.com/util-linux/util-linux/issues/3626 Signed-off-by: Karel Zak (cherry picked from commit f39ffccf2b9b8dcaaf2069346cc50735c2f0f95d) include/strv.h | 47 +++++++++++++------------- lib/env.c | 6 ++-- lib/strv.c | 80 ++++++++++++++++++++++---------------------- libmount/src/context.c | 10 +++--- libmount/src/context_mount.c | 4 +-- login-utils/su-common.c | 1 - misc-utils/logger.c | 8 ++--- sys-utils/chmem.c | 8 ++--- sys-utils/mount.c | 2 +- sys-utils/rtcwake.c | 6 ++-- sys-utils/wdctl.c | 4 +-- sys-utils/zramctl.c | 8 ++--- term-utils/wall.c | 10 +++--- text-utils/bits.c | 6 ++-- text-utils/column.c | 24 ++++++------- 15 files changed, 111 insertions(+), 113 deletions(-) commit 201534efcb3369a2bbc6bb0e219a4b5ee0c2a25d Author: Karel Zak Date: Thu Jun 26 11:14:11 2025 +0200 bash-completion: add choom and coresched Addresses: https://github.com/util-linux/util-linux/issues/3469 Signed-off-by: Karel Zak (cherry picked from commit ba5c614edc4407d5dacea6ce29c0a41f39883f02) bash-completion/Makemodule.am | 6 ++++++ 1 file changed, 6 insertions(+) commit 5d0ef6afe2bc84a9c3be9fbaffc4ec201b2bfe39 Author: Nate Drake Date: Wed Jun 25 18:39:05 2025 -0400 Add missing ;; to -m case (#1) (cherry picked from commit 565eb6370c76721bbd0d7fa292d9315a6856f627) bash-completion/enosys | 1 + 1 file changed, 1 insertion(+) commit 4d2fc6b99db2f17a2562548af63454134ee910ec Author: Karel Zak Date: Tue Jun 24 11:14:29 2025 +0200 ldattach: add ifndef BOTHER Signed-off-by: Karel Zak (cherry picked from commit 5405c3e09057db82ed397e61443effa9614dbc4a) sys-utils/ldattach.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)