summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorKarel Zak2019-05-30 12:01:36 +0200
committerKarel Zak2019-05-30 12:01:36 +0200
commitf26ed90583e9b2b7f46ac87043d7845b4646560a (patch)
tree3590d00d2b181ffee4b2bf86e4dc2828e2bd2847 /Documentation
parentdocs: update AUTHORS file (diff)
downloadkernel-qcow2-util-linux-f26ed90583e9b2b7f46ac87043d7845b4646560a.tar.gz
kernel-qcow2-util-linux-f26ed90583e9b2b7f46ac87043d7845b4646560a.tar.xz
kernel-qcow2-util-linux-f26ed90583e9b2b7f46ac87043d7845b4646560a.zip
docs: update v2.34-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/releases/v2.34-ReleaseNotes133
1 files changed, 133 insertions, 0 deletions
diff --git a/Documentation/releases/v2.34-ReleaseNotes b/Documentation/releases/v2.34-ReleaseNotes
index 3e17fb9dd..de469c81a 100644
--- a/Documentation/releases/v2.34-ReleaseNotes
+++ b/Documentation/releases/v2.34-ReleaseNotes
@@ -82,18 +82,27 @@ agetty:
- fix output of escaped characters [Christian Hesse]
- fix portability issues [Samuel Thibault]
bash-completion:
+ - add fstrim --quiet [Karel Zak]
+ - add hardlink completion [Sami Kerola]
- umount support relative path and ~ as home shorthands [Sami Kerola]
+ - update options before release [Sami Kerola]
blkid:
- (man) cleanup return code section [Karel Zak]
- fix usage() [Karel Zak]
+ - improve strcpy() usage [coverity scan] [Karel Zak]
- make PART_ENTRY_* tags optional (add --no-part-details) [Karel Zak]
+blkzone:
+ - remove never read value [Karel Zak]
blockdev:
- make –-getbsz less confusing for end-users [Karel Zak]
build-sys:
- add 'make checklibdoc' [Karel Zak]
+ - add --with-pkgconfigdir [Karel Zak]
- add ASAN_LDFLAGS [Karel Zak]
+ - add PKG_INSTALLDIR fallback [Karel Zak]
- add check-programs make target [Karel Zak]
- add devel-non-asan.conf [Karel Zak]
+ - add info about ASAN [Karel Zak]
- do not require crypt() [Karel Zak]
- do not require dirfd() [Karel Zak]
- don't use ASAN on XOS [Karel Zak]
@@ -102,9 +111,12 @@ build-sys:
- improve error message [Karel Zak]
- make fdisk, sfdisk, cfdisk optional (enabled by default) [Carlos Santos]
- make sure HAVE_TIMER_CREATE defined [Karel Zak]
+ - release++ (v2.34-rc1) [Karel Zak]
- use REALTIME_LIBS for hwclock due to monotonic.c [Karel Zak]
+ - use __SANITIZE_ADDRESS__ rather than custom USE_CLOSE_ATEXIT [Karel Zak]
cal:
- fix Sexit and Senter [Karel Zak]
+ - make sure months_in_row makes sense [coverity scan] [Karel Zak]
- use standout mode on monochrome terminals [Karel Zak]
chcpu:
- fix memory leak [Karel Zak]
@@ -117,8 +129,11 @@ col:
- make flush_line() a little bit robust [Karel Zak]
column:
- Address fill-order confusion in documentation [dana]
+ - fix "maybe be" duplication [Austin English]
+ - make code more robust [coverity scan] [Karel Zak]
dmesg:
- correct "-n, --console-level level" example in manual page [Jean-Philippe ROMAIN]
+ - make strtok() use more robust [Karel Zak]
docs:
- TODO lscpu --list-caches [Karel Zak]
- add col(1) to TODO [Karel Zak]
@@ -128,10 +143,21 @@ docs:
- fix typos [codespell] [Sami Kerola]
- update AUTHORS file [Karel Zak]
- update TODO [Karel Zak]
+ - update v2.34-ReleaseNotes [Karel Zak]
+fallocate:
+ - make posix_fadvise() use more readable for analyzers [Karel Zak]
fdisk:
+ - add note about -S and -H [Karel Zak]
+ - initialize buffers for get_user_reply() [coverity scan] [Karel Zak]
- make partition types uses more robust [Karel Zak]
- support CTRL+C on change-partition-type dialog [Karel Zak]
- use 2 decimal places for size in disk summary [Karel Zak]
+fincore:
+ - remove unused variable [clang scan] [Karel Zak]
+findmnt:
+ - (verify) check mnt_table_next_fs() return code [coverity scan] [Karel Zak]
+ - fix filters use on --list [Karel Zak]
+ - keep it easy for static analyzers [Karel Zak]
fsck:
- (man) labels are available for all filesystems [Karel Zak]
fsck.cramfs:
@@ -140,6 +166,8 @@ fsck.cramfs:
fstrim:
- Add Documentation key to fstrim.service [Andreas Henriksson]
- Add hardening settings to fstrim.service [Andreas Henriksson]
+ - add --quiet option to suppress error messages [Sami Kerola]
+ - affect only warnings by --quiet [Karel Zak]
- check for read-only devices on -a/-A [Karel Zak]
- document kernel return minlen explicitly [Wang Shilong]
- fix usage() [Karel Zak]
@@ -152,22 +180,28 @@ hardlink:
- (man) add AVAILABILITY [Karel Zak]
- add first simple tests [Ruediger Meier]
- add long options [Karel Zak]
+ - avoid uninitialized variables [clang scan] [Karel Zak]
- cleanup error messages, use xalloc.h [Karel Zak]
- cleanup global variables [Karel Zak]
- cleanup verbose and warning messages [Karel Zak]
- enable build with and without pcre2 [Ruediger Meier]
- fix compiler warnings [Ruediger Meier]
+ - fix compiler warnings [-Wsign-compare -Wmaybe-uninitialized]] [Karel Zak]
- make code more readable [Karel Zak]
+ - move global variables to a control structure [Sami Kerola]
- remove \r from output [Karel Zak]
- remove typedefs [Karel Zak]
- rename function [Karel Zak]
+ - retire NIOBUF in favour of more common BUFSIZ [Sami Kerola]
- style indentations and license header [Ruediger Meier]
+ - use flexible array member rather than zero-size array [Sami Kerola]
- util-linux usage [Ruediger Meier]
hardlink, wall:
- fix variable shadowing [Sami Kerola]
hexdump:
- fix potential null pointer dereference warnings [Sami Kerola]
hwclock:
+ - don't use uninitialized value [coverity scan] [Karel Zak]
- use monotonic time to measure how long setting time takes [Sami Kerola]
include:
- add indirect monotonic clock id specifier [Sami Kerola]
@@ -176,6 +210,7 @@ include/c:
- add print_version() macro [Karel Zak]
- check returns_nonnull function attribute with __GNUC_PREREQ [Sami Kerola]
- re-add type checking in container_of() [Ruediger Meier]
+ - use __has_attribute [Karel Zak]
- use returns_nonnull function attribute in xalloc.h [Sami Kerola]
include/closestream:
- add close_stdout_atexit() [Karel Zak]
@@ -185,6 +220,9 @@ include/path.h:
- remove duplicate header inclusion [Sami Kerola]
include/strutils:
- add functions to replace and remove chars from string [Karel Zak]
+ - fix potential null pointer dereference [Sami Kerola]
+ipcs:
+ - check return value when read from /proc [coverity scan] [Karel Zak]
last:
- do not use non-standard __UT_NAMESIZE [Patrick Steinhardt]
- fix wtmp user name buffer overflow [asan] [Sami Kerola]
@@ -193,40 +231,76 @@ ldattach:
lib/canonicalize:
- do restricted canonicalize in a subprocess [Rian Hunter, Karel Zak]
- fix typo [Karel Zak]
+ - verify DM paths [coverity scan] [Karel Zak]
lib/colors:
+ - fix "maybe be" duplication [Austin English]
- force to "never" mode on non-terminal output [Karel Zak]
+ - keep static analyzer happy [coverity scan] [Karel Zak]
+ - remove redundant if statement [Sami Kerola]
+ - remove unnecessary goto [Karel Zak]
lib/fileutils:
- add xreaddir() [Karel Zak]
+lib/ismounted:
+ - use xstrncpy() [Karel Zak]
lib/loopdev:
- differentiate between setter()s and ioctl calls [Karel Zak]
- set blocksize when create a new device [Karel Zak]
lib/loopdev.c:
- Inline loopcxt_has_device [Marcos Paulo de Souza]
+ - Retry LOOP_SET_STATUS64 on EAGAIN [Romain Izard]
+lib/mangle:
+ - fix possible null pointer dereference [cppcheck] [Sami Kerola]
lib/path:
- allow to close dirfd [Karel Zak]
+ - consolidate ul_path_mkpath() usage [Karel Zak]
+ - fix possible NULL dereferencing [coverity scan] [Karel Zak]
+ - fix possible NULL pointer dereferencing [coverity scan] [Karel Zak]
+ - fix resource leak [coverity scan] [Karel Zak]
+ - fix ul_path_get_dirfd() usage [coverity scan] [Karel Zak]
- remove extra semi-colons [Karel Zak]
+ - use xstrncpy() [Karel Zak]
lib/strutils:
+ - keep static analyzer happy [coverity scan] [Karel Zak]
+ - parse_size() fix frac digit calculation [Karel Zak]
+ - parse_size() fix frac with zeros [Karel Zak]
- support two decimal places in size_to_human_string() output [Karel Zak]
lib/sysfs:
- add function to detect partitioned devices [Karel Zak]
+ - use xstrncpy() [Karel Zak]
lib/timer:
- add fallback if timer_create() not available [Karel Zak]
+lib/ttyutils:
+ - introduce get_terminal_stdfd() [Karel Zak]
libblkid:
- (bluestore) terminate magic strings array [Karel Zak]
- (ntfs) fix compiler warning [-Wpedantic] [Karel Zak]
+ - (silicon raid) improve checksum calculation [-Waddress-of-packed-member] [Karel Zak]
+ - Don't check BLKID_PROBE_INTERVAL in blkid_verify [Nikolay Borisov]
- Fix hidding typo [Andreas Henriksson]
+ - Set BLKID_BID_FL_VERIFIED in case revalidation is not needed [Nikolay Borisov]
- add check for DRBD9 [Roland Kammerer]
+ - don't ignore blkid_probe_set_magic() errors [coverity scan] [Karel Zak]
- fix detection of dm-integrity superblock [Milan Broz]
+ - fix possible uninitialized value use [coverity scan] [Karel Zak]
- improve whole-disk detection when read /proc/partitions [Karel Zak]
+ - make partitions reference counting more robust [coverity scan] [Karel Zak]
- remove dependence on libuuid [Karel Zak]
+ - remove unneeded fields from struct bcache_super_block [Sami Kerola]
- stratis correct byte order [Tony Asleson]
- tiny code simplification [Karel Zak]
libfdisk:
+ - (bsd) improve checksum calculation [-Waddress-of-packed-member] [Karel Zak]
- (dos) Use strtoul to parse the label-id [Juerg Haefliger]
- (dos) improve first unused sector for logical partitions [Karel Zak]
- (dos) rewrite fist/last free sector functions [Karel Zak]
- (gpt) add HiFive Unleashed bootloader partition UUIDs [Icenowy Zheng]
+ - (sgi) improve checksum calculation [-Waddress-of-packed-member] [Karel Zak]
- add comment to fdisk_set_first_lba() [Karel Zak]
+ - assert if self_pte() returns NULL [Sami Kerola]
+ - avoid division by zero [clang scan] [Karel Zak]
+ - avoid memory leak [coverity scan] [Karel Zak]
+ - properly check return code of add_to_partitions_array() [coverity scan] [Karel Zak]
+ - remove unused code [clang scan] [Karel Zak]
- sanity check, to prevent overlapping partitions from being partly reported as free [Fabian.Kirsch@dlr.de]
- use list_add_tail() in more robust way [Karel Zak]
libmount:
@@ -235,23 +309,37 @@ libmount:
- (umount) make mnt_stat_mountpoin() usable for relative paths [Karel Zak]
- Recognize more fuse filesystems as pseudofs and netfs [Stanislav Brabec]
- Support unmount FUSE mounts [Rian Hunter, Karel Zak]
+ - add bpf between pseudo filesystems [Karel Zak]
- add mnt_table_{find,insert,move}_fs() [Karel Zak, Tim Hildering]
+ - add selinuxfs between pseudo filesystems [Karel Zak]
- add support for MS_REMOUNT on --all [Karel Zak]
+ - avoid possible null pointer dereference [cppcheck] [Sami Kerola]
- check table membership before adding entry [Tim Hildering]
- don't use sscanf() for fstab parsing [Karel Zak]
- don't use sscanf() for mountinfo parsing [Karel Zak]
- don't use sscanf() for swaps parsing [Karel Zak]
- export mnt_guess_system_root() by API [Karel Zak]
+ - fix "maybe be" duplication [Austin English]
- fix compiler warning [-Wsometimes-uninitialized] [Karel Zak]
- fix memleak on parse errors [Karel Zak]
+ - fix memory leak on error [coverity scan] [Karel Zak]
- improve fs referencing in tables [Tim Hildering]
+ - return errno on failed fstab stat() [Karel Zak]
libsmartcols:
+ - (groups) improve debug messages [Karel Zak]
+ - (groups) improve scols_table_group_lines() args check [coverity scan] [Karel Zak]
+ - (groups) print group childrent after regualr tree [Karel Zak]
+ - (groups) remove hardcoded const numbers [Karel Zak]
+ - (groups) use print functions tp calculate grpset [Karel Zak]
- add another UTF symbols [Karel Zak]
+ - add generic function to walk on tree [Karel Zak]
- add grouping API docs [Karel Zak]
- add grouping samples [Karel Zak]
- add is_last_child(), move is_last_column() [Karel Zak]
- add lines grouping support [Karel Zak]
+ - cell width calulation cleanup [Karel Zak]
- fix variable shadowing [Sami Kerola]
+ - fix groups reset, add debugs [Karel Zak]
- move buffer stuff to buffer.c [Karel Zak]
- move width calculation to separate file [Karel Zak]
- print tree also for empty cells [Karel Zak]
@@ -259,21 +347,26 @@ libsmartcols:
- rename table_print.c to print.c [Karel Zak]
- split print.c into print.c, put.c and print-api.c [Karel Zak]
- use list_add_tail() in more robust way [Karel Zak]
+ - use scols_walk_* for calculations and printing [Karel Zak]
libuuid:
- fix man page typos [Seth Girvan]
logger:
- (man) add info about rewrite and authors [Karel Zak]
- (man) make more obvious that --server/socket is required [Karel Zak]
- concatenate multiple lines of MESSAGE into a single field. [Karel Zak]
+ - make code more robust for static analyzer [clang scan] [Karel Zak]
login:
- add support for login.defs(5) LASTLOG_UID_MAX [Karel Zak]
+ - retire use of __FUNCTION__ macro [Karel Zak, Sami Kerola]
login-utils/logindefs:
- clenaup API [Karel Zak]
losetup:
+ - keep static analyzer happy [coverity scan] [Karel Zak]
- man page has repeating words [make checkmans] [Karel Zak]
- properly use --sector-size when create a new device [Karel Zak]
- update an error message [Jeffrey Ferreira]
- use offset in warn_size() calculation [Karel Zak]
+ - use xstrncpy() [Karel Zak]
lsblk:
- add --dedup <column> [Karel Zak]
- add --merge [Karel Zak]
@@ -281,18 +374,24 @@ lsblk:
- add comments [Karel Zak]
- add devtree_get_device_or_new() [Karel Zak]
- add lsblk_device_has_dependence() [Karel Zak]
+ - add more debug messages [Karel Zak]
- add process_all_devices_inverse() [Karel Zak]
- allow to specify tree column [Karel Zak]
- apply --nodeps to partitions too [Karel Zak]
+ - check stat() return code [coverity scan] [Karel Zak]
+ - check ul_path_scanf() return value [coverity scan] [Karel Zak]
- cleanup device reference in the tree [Karel Zak]
- don't keep sysfs dirs open [Karel Zak]
+ - fix "maybe be" duplication [Austin English]
- fix devtree deallocation [Karel Zak]
+ - fix heap-use-after-free [Karel Zak]
- fix null pointer dereferences [Sami Kerola]
- force tree on --json --tree independently on used columns [Karel Zak]
- keep functions names consistent [Karel Zak]
- make device_get_data() more generic [Karel Zak]
- make devtree dependences more generic [Karel Zak]
- make process_partitions() more readable [Karel Zak]
+ - make sure __process_one_device() has proper arguments [coverity scan] [Karel Zak]
- process_one_device() refactoring [Karel Zak]
- properly initialize structs [Karel Zak]
- read queue/discard_granularity only when necessary [Karel Zak]
@@ -313,14 +412,21 @@ lscpu:
- (man) make SYNOPSIS compatible with another utils [Karel Zak]
- (man) tiny changes [Karel Zak]
- Add aarch32 detection on aarch64 [Jeremy Linton]
+ - Add additional aarch64 models [Jeremy Linton]
- add 'Frequency boost' [Karel Zak]
- add --bytes [Karel Zak]
- add --caches [Karel Zak]
+ - check scols_line_set_data() return value [coverity scan] [Karel Zak]
- define libsmartcols flags for -e [Karel Zak]
- document --hex output regression (since v2.30) [Karel Zak]
- fix --caches order [Karel Zak]
- fix and document --output-all [Karel Zak]
- fix excl[] array order [Karel Zak]
+ - fix floating point exception [Sami Kerola]
+ - make lookup() use more consistent [coverity scan] [Karel Zak]
+ - move trailing null after removing characters from a string [Sami Kerola]
+ - remove extra space from field key name [Sami Kerola]
+ - remove redundant condition check [cppcheck] [Sami Kerola]
- rename macros and functions [Karel Zak]
- report CPU vulnerabilities [Karel Zak]
- report more usable cache sizes [Karel Zak]
@@ -329,6 +435,8 @@ lslogins:
- Fix discrepancies of SYS_UID_MIN [Stanislav Brabec]
- make valid_pwd() more robust [Karel Zak]
- remove duplicate NULL check [Sami Kerola]
+mesg:
+ - avoid 'ttyname failed Success' message [Karel Zak]
misc:
- consolidate version printing and close_stdout() [Karel Zak]
mkswap:
@@ -338,6 +446,7 @@ mkswap:
mount:
- (man) add note about --all to remount desc [Karel Zak]
- Do not call mnt_pretty_path() on net file systems. [Stanislav Brabec]
+ - fix "maybe be" duplication [Austin English]
- mount.8 clarify (no)suid behavior on file capabilities [Peter Wu]
po:
- merge changes [Karel Zak]
@@ -347,13 +456,21 @@ po:
- update hr.po (from translationproject.org) [Božidar Putanec]
- update sv.po (from translationproject.org) [Sebastian Rasmussen]
readprofile:
+ - be more explicit with used types [cppcheck] [Karel Zak]
- check input file is not empty [asan] [Sami Kerola]
+renice:
+ - make code more readable for static analyzer [coverity scan] [Karel Zak]
rtcwake:
+ - fix "maybe be" duplication [Austin English]
+ - terminate mode and excl[] [Karel Zak]
- use poweroff if shutdown is not found [Justin Chen]
setarch:
- add new e2k subarches [Andrew Savchenko]
+ - avoid NULL dereference [coverity check] [Karel Zak]
- don't return address of automatic variable [Andreas Schwab]
- fix obscure sparc32bash use-case [Karel Zak]
+setpriv:
+ - fix memory leak in local scope [coverity scan] [Karel Zak]
setterm:
- disallow "default" for --ulcolor/--hbcolor [Jakub Wilk]
- fix --hbcolor description [Jakub Wilk]
@@ -362,6 +479,8 @@ setterm:
sfdisk:
- Avoid out of boundary read with readline [Tobias Stoeckmann]
- fix logical partition resize when start specified [Karel Zak]
+ - remove unnecessary size check [cppcheck] [Sami Kerola]
+ - use xstrcpy() [Karel Zak]
su:
- add note about ECHO on --pty [Karel Zak]
- be sensitive to another SIGCHLD ssi_codes [Karel Zak]
@@ -373,6 +492,8 @@ su-common.c:
- prefer ENV_SUPATH over ENV_ROOTPATH [Stanislav Brabec]
su/runuser:
- don't mark --pty as experimental, add it to runuser.1 too [Karel Zak]
+sulogin:
+ - fix variable / function shadowing [cppcheck] [Sami Kerola]
swapon:
- (man) cleanup note about holes [Karel Zak]
- (man) iomap for swapfile is already supported by kernel [Karel Zak]
@@ -392,6 +513,7 @@ tests:
- add --noskip-commands [Karel Zak]
- add --use-system-commands [Karel Zak]
- add /mnt/test/foo^Mbar to mountinfo tests [Karel Zak]
+ - add asan build-sys test [Karel Zak]
- add fdisk (dos) first sector dialog test [Karel Zak]
- add missing TS_CMD_UMOUNT check [Karel Zak]
- add missing ts_check_test_command call [Karel Zak]
@@ -413,19 +535,30 @@ tests:
- use subtests in fdisk/mbr-nondos-mode [Karel Zak]
timeutils:
- match today day and this year correctly [Sami Kerola]
+ul:
+ - make sure buffers are zeroized [coverity scan] [Karel Zak]
umount:
- fix --quiet [Karel Zak]
unshare:
- allow to set a new root [Laurent Vivier]
- allow to set user ID and group ID [Laurent Vivier]
utmpdump:
+ - check ftello() return value [Karel Zak]
- fix word swapping in manual page [Carlos Santos]
uuidd:
- Add Documentation key to uuidd.service [Andreas Henriksson]
- Add hardening settings to uuidd.service [Andreas Henriksson]
various:
- fix 'uninitialized when used' warnings [clang] [Sami Kerola]
+vipw:
+ - use xstrncpy() [Karel Zak]
wall:
- remove unnecessary warning [Karel Zak]
whereis:
+ - make subdirs scan more robust [Karel Zak]
- search in /(s)bin before /usr/lib [Karel Zak]
+ - use xstrncpy() [Karel Zak]
+wipefs:
+ - fix variable / function shadowing [cppcheck] [Sami Kerola]
+zramctl:
+ - use xstrncpy() [Karel Zak]