| 1 |
util-linux v2.42.1 Release Notes |
| 2 |
================================ |
| 3 |
|
| 4 |
agetty: |
| 5 |
- Always call chdir after chroot (by Tobias Stoeckmann) |
| 6 |
|
| 7 |
autotools: |
| 8 |
- Fix setpriv build with econf (by Tobias Stoeckmann) |
| 9 |
|
| 10 |
bits: |
| 11 |
- use getline() to avoid stdin input truncation (by WanBingjiang) |
| 12 |
- prevent unsigned integer underflow and long-lived loop (by Christian Goeschel Ndjomouo) |
| 13 |
|
| 14 |
build: |
| 15 |
- (copyfilerange) include syscall header check for fallback (by Christian Goeschel Ndjomouo) |
| 16 |
- Fix --disable-copyfilerange (by Tobias Stoeckmann) |
| 17 |
|
| 18 |
build-sys: |
| 19 |
- drop libcommon_shells from binaries that only need ul_default_shell (by Karel Zak) |
| 20 |
|
| 21 |
cfdisk: |
| 22 |
- fix memory leak of original_layout table (by Karel Zak) |
| 23 |
|
| 24 |
chrt: |
| 25 |
- Fix confusing error messages when priority argument is required (by Rong Zhang) |
| 26 |
- Only show current scheduling policy when pid is given (by Rong Zhang) |
| 27 |
- pass correct integer types to printf (by Thomas Weißschuh) |
| 28 |
- (man) explain which kernel config options are needed for SCHED_EXT (by Christian Goeschel Ndjomouo) |
| 29 |
|
| 30 |
ci: |
| 31 |
- use GCC 15 (by Thomas Weißschuh) |
| 32 |
- run 'make checkusage' only for autotools build (by Thomas Weißschuh) |
| 33 |
|
| 34 |
CI: |
| 35 |
- replace ntp with ntpsec (by Karel Zak) |
| 36 |
|
| 37 |
column: |
| 38 |
- fix missing out-of-bounds check in table reordering (by Christian Goeschel Ndjomouo) |
| 39 |
|
| 40 |
copyfilerange: |
| 41 |
- (man) fix swapped offsets in command example (by Štěpán Němec) |
| 42 |
|
| 43 |
dmesg: |
| 44 |
- fix out-of-bounds read when parsing malformed kmsg file (by WanBingjiang) |
| 45 |
|
| 46 |
docs: |
| 47 |
- clarify wipefs --force description for partition-table signatures (by AndyLau-SOC) |
| 48 |
|
| 49 |
eject: |
| 50 |
- tolerate ILLEGAL REQUEST on ALLOW_MEDIUM_REMOVAL (by Alessandro Ratti) |
| 51 |
|
| 52 |
fallocate: |
| 53 |
- (man) mention supported file systems for --insert-range (by Christian Goeschel Ndjomouo) |
| 54 |
|
| 55 |
fdisk: |
| 56 |
- fix trailing whitespace in user reply from readline completion (by Leonid Znamenok) |
| 57 |
|
| 58 |
fincore: |
| 59 |
- (tests) fix tmpfs detection for out-of-tree builds (by Leonid Znamenok) |
| 60 |
|
| 61 |
flock: |
| 62 |
- re-enable the initial shell selection logic (by Christian Goeschel Ndjomouo) |
| 63 |
|
| 64 |
fsck.minix(man): |
| 65 |
- Fix asciidoctor table (by Tobias Stoeckmann) |
| 66 |
|
| 67 |
hardlink: |
| 68 |
- avoid format string error for dev_t (by Thomas Weißschuh) |
| 69 |
|
| 70 |
include: |
| 71 |
- (fileutils.h) add fallback for the copy_file_range syscall (by Christian Goeschel Ndjomouo) |
| 72 |
|
| 73 |
ipcutils: |
| 74 |
- use memset explicitly to fill bpf_attr with zero (by Masatake YAMATO) |
| 75 |
|
| 76 |
irqtop: |
| 77 |
- add vw_printw() fallback for slang builds (by Karel Zak) |
| 78 |
|
| 79 |
irqtop/lsirq: |
| 80 |
- Handle EOF in get_irqinfo (by Tobias Stoeckmann) |
| 81 |
|
| 82 |
last: |
| 83 |
- fix phantom detection for unset loginuid and X11 sessions (by Karel Zak) |
| 84 |
|
| 85 |
lib: |
| 86 |
- split ul_default_shell() from shells.c into default_shell.c (by Karel Zak) |
| 87 |
- (cpuset.c) dont calculate allocation size for 0 ncpus (by Christian Goeschel Ndjomouo) |
| 88 |
|
| 89 |
libblkid: |
| 90 |
- Fix typo in probe_zfs (by Tobias Stoeckmann) |
| 91 |
- Fix type access in zfs_extract_guid_name (by Tobias Stoeckmann) |
| 92 |
- Fix debug OOB read in zfs_process_value (by Tobias Stoeckmann) |
| 93 |
- Fix parse_dev debug output (by Tobias Stoeckmann) |
| 94 |
- Ignore secondary LUKS2 header in blkid_do_safeprobe() (by silentcreek) |
| 95 |
- reiserfs add block size validation for reiser4 (by Karel Zak) |
| 96 |
- erofs validate blkszbits before checksum calculation (by Karel Zak) |
| 97 |
- exfs avoid 32-bit overflow in rextsize validation (by Karel Zak) |
| 98 |
- solaris use 64-bit for partition offset calculations (by Karel Zak) |
| 99 |
- bsd use 64-bit for partition offset calculations (by Karel Zak) |
| 100 |
- mac use 64-bit for partition offset calculations (by Karel Zak) |
| 101 |
- dos use 64-bit for partition offset calculations (by Karel Zak) |
| 102 |
- udf avoid 32-bit overflow in offset calculations (by Karel Zak) |
| 103 |
- vfat avoid 32-bit overflow in offset calculations (by Karel Zak) |
| 104 |
- ubi fix probe return values (by Karel Zak) |
| 105 |
- f2fs tighten log_blocksize validation (by Karel Zak) |
| 106 |
- nilfs fix byte order and block size validation (by Karel Zak) |
| 107 |
- gpt fix wiper offset to use sector size (by Karel Zak) |
| 108 |
- udf cap descriptor sequence iteration count (by Karel Zak) |
| 109 |
- bcache add missing NULL check (by Karel Zak) |
| 110 |
- bsd read enough data to cover disklabel struct (by Karel Zak) |
| 111 |
- befs improve bounds checking in B+ tree search (by Karel Zak) |
| 112 |
- ntfs improve integer overflow checks (by Karel Zak) |
| 113 |
- introduce sysfs_devno_is_dm_hidden() for pre-open check (by Zdenek Kabelac) |
| 114 |
|
| 115 |
libcommon: |
| 116 |
- move pidfd-utils.c to Linux-only sources (by Karel Zak) |
| 117 |
|
| 118 |
liblastlog2: |
| 119 |
- (tests) avoid log spam (by Thomas Weißschuh) |
| 120 |
- wait on busy SQLite connections (by WanBingjiang) |
| 121 |
|
| 122 |
libmount: |
| 123 |
- return btrfs rootfs from get_btrfs_fs_root() (by Karel Zak) |
| 124 |
- use match_source for mountinfo comparison (by Karel Zak) |
| 125 |
|
| 126 |
lib/pidutils, lib/pidfd-utils: |
| 127 |
- use _() instead of N_() in err() calls (by Karel Zak) |
| 128 |
|
| 129 |
lib/pwdutils: |
| 130 |
- fix compiler warning [-Werror=maybe-uninitialized] (by Karel Zak) |
| 131 |
|
| 132 |
libsmartcols: |
| 133 |
- drop superfluous call yo yylex_init() (by Thomas Weißschuh) |
| 134 |
- (tests) fix failure reporting in filter test (by Thomas Weißschuh) |
| 135 |
- (tests) fix filter test name (by Thomas Weißschuh) |
| 136 |
- Ignore -Wsign-compare in filter-scanner.l (by Thomas Weißschuh) |
| 137 |
|
| 138 |
libuser: |
| 139 |
- fix misleading error message (by Christian Goeschel Ndjomouo) |
| 140 |
|
| 141 |
login: |
| 142 |
- Clean up PAM resources on error path (by Tobias Stoeckmann) |
| 143 |
|
| 144 |
login-utils/auth: |
| 145 |
- Drop pam_setcred (by Tobias Stoeckmann) |
| 146 |
|
| 147 |
lsblk(man): |
| 148 |
- Add COLORS section (by Tobias Stoeckmann) |
| 149 |
|
| 150 |
lsclocks: |
| 151 |
- add missing newline character in option description (by Christian Goeschel Ndjomouo) |
| 152 |
|
| 153 |
lscpu(man): |
| 154 |
- Move options into correct section (by Tobias Stoeckmann) |
| 155 |
|
| 156 |
lsfd: |
| 157 |
- use memset explicitly to fill bpf_attr with zero (by Masatake YAMATO) |
| 158 |
|
| 159 |
meson: |
| 160 |
- check slang headers only when slang library is found (by Karel Zak) |
| 161 |
- rename logindefs_c to lib_common_logindefs (by Karel Zak) |
| 162 |
- split shells.c out of lib_common into lib_common_shells (by Karel Zak) |
| 163 |
- respect build-dmesg for test_dmesg (by Thomas Weißschuh) |
| 164 |
- test for statx::stx_mnt_id in sys/stat.h (by Thomas Weißschuh) |
| 165 |
|
| 166 |
mkfs.cramfs: |
| 167 |
- Consider -i only once (by Tobias Stoeckmann) |
| 168 |
- Add -p padding only once (by Tobias Stoeckmann) |
| 169 |
- Improve file size check (by Tobias Stoeckmann) |
| 170 |
|
| 171 |
mkswap: |
| 172 |
- Fix --file chmod(2) check when file exists (by Johannes Wüller) |
| 173 |
|
| 174 |
more: |
| 175 |
- align MORE_SHELL_LINES semantics with less(1) (by Karel Zak, Christian Goeschel Ndjomouo) |
| 176 |
|
| 177 |
newgrp: |
| 178 |
- Correctly handle getline error (by Tobias Stoeckmann) |
| 179 |
|
| 180 |
nsenter: |
| 181 |
- Fix AT_HANDLE_FID on musl (by Aleksi Hannula) |
| 182 |
|
| 183 |
pidfd-utils: |
| 184 |
- Fix pidfd_get_inode declaration (by Tobias Stoeckmann) |
| 185 |
|
| 186 |
po: |
| 187 |
- merge changes (by Karel Zak) |
| 188 |
- update ro.po (from translationproject.org) (by Remus-Gabriel Chelu) |
| 189 |
- update pt.po (from translationproject.org) (by Pedro Albuquerque) |
| 190 |
- update pl.po (from translationproject.org) (by Jakub Bogusz) |
| 191 |
- update ja.po (from translationproject.org) (by YOSHIDA Hideki) |
| 192 |
- update et.po (from translationproject.org) (by Toomas Soome) |
| 193 |
- update cs.po (from translationproject.org) (by Petr Písař) |
| 194 |
|
| 195 |
po-man: |
| 196 |
- merge changes (by Karel Zak) |
| 197 |
- update ro.po (from translationproject.org) (by Remus-Gabriel Chelu) |
| 198 |
|
| 199 |
po-man/po4a: |
| 200 |
- Add missing manual pages (by Tobias Stoeckmann) |
| 201 |
|
| 202 |
readprofile: |
| 203 |
- (man) clarify not designed for privilege-elevation use (by Karel Zak) |
| 204 |
|
| 205 |
script: |
| 206 |
- fix "--" separator when used as option argument (by Karel Zak) |
| 207 |
- fix command and command_norm memory leaks (by Karel Zak) |
| 208 |
- fix backward compatibility for options after non-option args (by Karel Zak) |
| 209 |
|
| 210 |
scriptreplay(man): |
| 211 |
- Add right arrow documentation (by koraynilay) |
| 212 |
|
| 213 |
strutils: |
| 214 |
- fix printf formats (by Thomas Weißschuh) |
| 215 |
|
| 216 |
su: |
| 217 |
- Clean up PAM resources on all error paths (by Tobias Stoeckmann) |
| 218 |
- fix grammar on man page (by Christian Goeschel Ndjomouo) |
| 219 |
|
| 220 |
su-common: |
| 221 |
- revert "su pass arguments after <user> to shell" (by Christian Goeschel Ndjomouo) |
| 222 |
|
| 223 |
terminal-colors.d: |
| 224 |
- (man) re-apply improvements lost in merge (by Benno Schulenberg) |
| 225 |
|
| 226 |
tests: |
| 227 |
- (lsfd/mkfds-udp*) make UDPLite related test cases skippable (by Masatake YAMATO) |
| 228 |
- (lsfd/option-inet{,-udp}) make UDPLite related test case skippable (by Masatake YAMATO) |
| 229 |
- (lsfd) add a function checking the availability of UDPLite socket (by Masatake YAMATO) |
| 230 |
- (lsfd::mkfds-udp) fix confusion between UDP and UDPLite (by Masatake YAMATO) |
| 231 |
- (test_mkfds) use memset explicitly to fill bpf_attr with zero (by Masatake YAMATO) |
| 232 |
- (ipcs/limits) skip when /proc/sys/kernel is read-only (by Karel Zak) |
| 233 |
- (bits) add --width tests for invalid values (by Christian Goeschel Ndjomouo) |
| 234 |
- add btrfs RAID is-mounted test for libmount (by Karel Zak) |
| 235 |
|
| 236 |
tests/functions.sh: |
| 237 |
- consider '+' for metadata in kernel version parsing (by Christian Goeschel Ndjomouo) |
| 238 |
|
| 239 |
tools: |
| 240 |
- (compare-buildsys) suppress common lines in diff output (by Karel Zak) |
| 241 |
|
| 242 |
tools/git-tp-sync: |
| 243 |
- update po4a.cfg language list on sync (by Karel Zak) |
| 244 |
|
| 245 |
write: |
| 246 |
- cleanup indentation and whitespace (by Karel Zak) |
| 247 |
- use mem2strcpy() for utmp strings (by Karel Zak) |
| 248 |
- always use utmp as fallback (by Karel Zak) |
| 249 |
|
| 250 |
write, mesg: |
| 251 |
- add S_ISCHR() check for terminal device paths (by Karel Zak) |
| 252 |
|
| 253 |
Misc: |
| 254 |
- Remove obsolete comment since 2015 (by Julien Nabet) |
| 255 |
- Link against libcommon_logindefs.la and libcommon_shells.la (by Stanislav Brabec) |
| 256 |
- Fix build with libeconf (by Stanislav Brabec) |
| 257 |
- [po-man] Add missing languages to po4a.cfg (by Mario Blättermann) |
| 258 |
|