diff --git a/Documentation/releases/v2.22-ReleaseNotes b/Documentation/releases/v2.22-ReleaseNotes index 598b81075..16d130ac6 100644 --- a/Documentation/releases/v2.22-ReleaseNotes +++ b/Documentation/releases/v2.22-ReleaseNotes @@ -110,7 +110,6 @@ Changes between v2.21 and v2.22 For more details see ChangeLog files at: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/ - addpart: - align with util-linux coding standards [Sami Kerola] - improve error messages [Karel Zak] @@ -121,6 +120,8 @@ agetty: - move vc initialization to ttyutils.h [Karel Zak] - remove unnecessary sleep(10) [Mantas Mikulėnas] - use configured run state directory [Sami Kerola] +all files: + - make most variables static and const when possible. declare lots of functions static. [Jim Meyering] arch, eject, elvtune: - Gracefully disable on non-Linux platforms. [Thomas Schwinge] blkdev: @@ -150,6 +151,7 @@ build-sys: - add --enable-vipw [Karel Zak] - add -Wall to warnings [Karel Zak] - add -Werror to UL_WARN_ADD test [Karel Zak] + - add -Wmissing-declarations, sort warning options [Karel Zak] - add -Wredundant-decls [Karel Zak] - add BUILD_WDCTL, check for linux/watchdog.h [Karel Zak] - add UL_CONFLICTS_BUILD m4 macro [Karel Zak] @@ -158,13 +160,17 @@ build-sys: - add compiler warnings [Karel Zak] - add eject to .gitignore [Karel Zak] - add exclude list to UL_ADD_WARN [Karel Zak] + - add files make check generates in gitignore [Sami Kerola] - add fsprobe.h to dist [Petr Uzel] + - add minisg COPYING files [Karel Zak] - add missing files [Karel Zak] - add pager.h to Makemodule.am [Karel Zak] - add randutils.h to dist [Petr Uzel] + - add run.sh to make check for non-root users [Karel Zak] - add sd-daemon.h to Makemodule.am [Karel Zak] - add su executable to .gitignore [Sami Kerola] - add swapon-common.h to swapon sources (fix distcheck) [Petr Uzel] + - add tests/run-nonroot.sh to automake file [Karel Zak] - add ttyutils.h to dist [Petr Uzel] - always use default $(LDADD) [Karel Zak] - change --localstatedir to /run [Sami Kerola] @@ -190,22 +196,29 @@ build-sys: - define per-test -DTEST_PROGRAM in lib/ [Karel Zak] - determine availability of __fpending() [Sami Kerola] - disable chkdupexe by default, mark as deprecated [Karel Zak] + - don't compile lib{mount,blkid} tests when --disable-static specified [Karel Zak] - don't create empty man/ru directory [Karel Zak] - enable libmount and libblkid docs [Karel Zak] - enhance readability of the autotools files [Sami Kerola] - ensure BUILD_CFDISK is always defined [Dave Reisner] - exclude some CC warnings for clang [Karel Zak] + - expand paths at make time [Karel Zak] + - fix build without libs [Karel Zak] - fix chkdupexe regression [Sami Kerola] + - fix description of utmpdump configure option [Petr Uzel] - fix swaplabel [Karel Zak] - ignore .dirstamp file [Karel Zak] - include correct source file for chsh [Dave Reisner] + - include tools/git-version-gen in the tarball [Petr Uzel] - make the crosscompile path for scanf_cv_alloc_modifier clever [Sebastian Andrzej Siewior] - move configure login options to one place [Karel Zak] - move getopt to misc-utils/ [Karel Zak] - move hwclock to sys-utils/ [Karel Zak] - move obsolete lib/fsprobe to mount/ [Karel Zak] - move partx to disk-utils/ [Karel Zak] + - move tests to check_PROGRAMS [Karel Zak] - note sulogin in configure help [Karel Zak] + - release++ (v2.22-rc1) [Karel Zak] - remove -DUSE_PAM=1 for su(1) [Karel Zak] - remove include-Makefile.am [Karel Zak] - remove unused function and header checks [Sami Kerola] @@ -214,6 +227,8 @@ build-sys: - s/ruman/ruman1/ [Karel Zak] - suid su in make install [Karel Zak] - support separate libintl [Karel Zak] + - use slash for binaries in gitignore [Karel Zak] +build-system: - enable automake subdir-objects [Karel Zak] cal: - Fix building under uClibc. [James Le Cuirot] @@ -228,6 +243,8 @@ chsh: - use pathnames.h for paths [Sami Kerola] colrm: - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +column: + - --separator segfaults [B Watson] cytune: - fix compiler warning [-Wmissing-prototypes] [Karel Zak] ddate: @@ -245,6 +262,8 @@ dmesg: - add fileback for SEEK_DATA [Karel Zak] - cleanup exclusive_option() usage [Karel Zak] - cleanup, move more stuff to control struct [Karel Zak] + - fix kmsg read if read returns EPIPE [Milan Broz] + - fix kmsg usability detection [Karel Zak] - fix typo in man page [Karel Zak] - fix usage() [Karel Zak] - implement backwardly compatible --raw for /dev/kmsg [Karel Zak] @@ -257,14 +276,20 @@ dmesg: - unify internal APIs [Karel Zak] - use err_exclusive_options() [Karel Zak] - use exclusive_option() [Sami Kerola] +doc: + - fix typo in v2.22-ReleaseNotes [Bernhard Voelker] docs: - TODO removal, ldattach usage is done [Sami Kerola] - TODO removal, login-utils error printing [Sami Kerola] - TODO removal, rpmatch task is done [Sami Kerola] + - add v2.22-ReleaseNotes [Karel Zak] - add deprecation comments [Sami Kerola] + - add note about enabled kill(1) to v2.22-ReleaseNotes [Karel Zak] - add note about non-recursive build-sys [Karel Zak] + - add note about partx output change [Karel Zak] - add quota mount option support description for ext2 [Björn Jacke] - add su.1 manual page [Sami Kerola] + - add sys-utils/umount.8 manual page [Sami Kerola] - clarify KiB vs. KB in man pages [Bernhard Voelker] - clean up chcpu.8 manual [Sami Kerola] - clean up dmesg.1 manual [Sami Kerola] @@ -281,6 +306,7 @@ docs: - fix email macro in manual example [Sami Kerola] - fix further typos found by misspellings [Bernhard Voelker] - fix typos found by misspellings [Bernhard Voelker] + - ftp server does no longer support util-linux-ng [Sami Kerola] - man page syntax fixes [Ville Skyttä] - mark udev and list blkid(8) output formats deprecated [Karel Zak] - mention the required mount options for journaled version 2 quota [Björn Jacke] @@ -290,7 +316,10 @@ docs: - tell about irc channel [Sami Kerola] - update AUTHORS file [Karel Zak] - update TODO [Karel Zak] + - update TODO [Sami Kerola] - update TODO file [Karel Zak] + - update howto-tests.txt [Karel Zak] + - update tests docs [Karel Zak] eject: - add --force option [Karel Zak] - add --manualeject from fedora [Karel Zak] @@ -334,6 +363,7 @@ eject: - rename handle_x_option to set_device_speed [Karel Zak] - replace CLOSE and FCLOSE macros by e_close and e_fclose functions [Michal Luscon] - replace fprintf with err and warn [Michal Luscon] + - return proper 0/1 from eject_cdrom() [Dave Reisner] - simplify find_device [Michal Luscon] - support CDIOCEJECT ioctl [Karel Zak] - unification of coding style [Michal Luscon] @@ -345,6 +375,7 @@ eject: - use program_invocation_short_name instead of programName [Michal Luscon] - use xstrdup() [Karel Zak] - verify writing to streams was successful [Sami Kerola] +eject(1): - fix typo in mount(1) reference [Mike Frysinger] fallocate: - add --version and align with howto-usage-function.txt [Sami Kerola] @@ -370,10 +401,12 @@ fdisk: - add readonly option to fdisk_new_context_from_filename() [Karel Zak] - add some debug messages [Karel Zak] - add total sectors [Davidlohr Bueso] + - aix fix warning [Davidlohr Bueso] - aix remove magic aixlabel macro, mark unused parameters [Karel Zak] - always print total number of sectors [Petr Uzel] - always use stderr for debug messages [Karel Zak] - bsd mark unused parameters [Karel Zak] + - cast before count size [Karel Zak] - cleanup strtoxx_or_err() [Karel Zak] - create DOS specific write table function [Davidlohr Bueso] - de-duplicate disk label strings [Bernhard Voelker] @@ -474,6 +507,7 @@ findmnt: - reference correct manual section [Dave Reisner] - remove dublicate usage() line [Sami Kerola] - restrict within-device matching [Karel Zak] + - support -o + for adding attribute to output fields. [Milan Broz] - use err_exclusive_options() [Karel Zak] - use exclusive_option() [Sami Kerola] - use xasprintf() [Karel Zak] @@ -507,6 +541,8 @@ fsck.minix: - use symbolic exit codes [Sami Kerola] fsck.minix.c: - fix compiler warnings [-Wunused-result] [Petr Uzel] +fstab: + - fstab.5 fix misspelling of deprecated [Dave Reisner] fstrim: - add --version and align with howto-usage-function.txt [Sami Kerola] - use strtosize_or_err() [Karel Zak] @@ -551,6 +587,7 @@ include/optutils: - add err_exclusive_options() [Karel Zak] - remove unnecessary exclusive_option() [Karel Zak] include/tt: + - improve work with non-utf8 chars [Karel Zak] - remove obsolete stuff [Karel Zak] include/ttyutils: - more robust get_terminal_width() [Karel Zak] @@ -585,6 +622,7 @@ lib/mangle: - check for end of string on every iteration [Dave Reisner] - cleanup, add unhexmangle [Karel Zak] - fix a memory leak in the test case [Cong Wang] + - remove unused variable [Karel Zak] lib/match: - fix compiler warning [-Wmissing-prototypes] [Karel Zak] lib/mbsalign: @@ -601,12 +639,17 @@ lib/strutils: - create type specific strtoxx_or_err() [Karel Zak] lib/sysfs: - check if cxt->dir_path is NULL in sysfs_readlink() [Cong Wang] + - expect p suffix for partitions [Karel Zak] - improve sysfs_is_partition_dirent() [Karel Zak] + - make sysfs_partno_to_devno better readable [Bernhard Voelker] - use warn_unused_result for sysfs_init() [Karel Zak] lib/tt: + - always escape '\' to simplify parsing in scripts [Karel Zak] - check for non-printable chars for raw/export format [Karel Zak] + - count read cells, improve \x?? hex encoding [Karel Zak] - encode data for RAW and EXPORT format [Karel Zak] - export tt_fputs_{quoted,nonblank} function [Karel Zak] + - fix \x%02x usage [Karel Zak] - work more sensitive with large columns [Karel Zak] libblkid: - accept small blocks for NTFS and Reiserfs in blkid [Vladimir 'φ-coder/phcoder' Serbinenko] @@ -633,6 +676,7 @@ libmount: - add mnt_context_get_options() [Karel Zak] - add mnt_fs_streq_srcpath() [Karel Zak] - add mnt_fs_streq_target() and export all mnt_fs_streq_* [Karel Zak] + - add mnt_optstr_deduplicate_option() [Karel Zak] - add mnt_table_find_devno() [Karel Zak] - add noreturn function attribute [Sami Kerola] - add special MNT_ERR_ codes [Karel Zak] @@ -648,6 +692,7 @@ libmount: - cleanup flags usage [Karel Zak] - close device fd (to avoid mount(2) EBUSY) [Karel Zak] - cosmetic changes around "none" [Karel Zak] + - deduplicate SELinux mount options [Karel Zak] - don't canonicalize target [Karel Zak] - don't generate empty option strings [Karel Zak] - don't treat "none" differently [Dave Reisner] @@ -660,6 +705,7 @@ libmount: - fix read before allocated buffer [Petr Uzel] - fix shadow declaration [Sami Kerola] - fix trivial typos [Petr Uzel] + - fix unmangle code [Karel Zak] - improve ifdef HAVE_LIBSELINUX stuff [Karel Zak] - improve mnt_tables_is_mounted [Karel Zak] - make some string operations more robust [Karel Zak] @@ -718,6 +764,7 @@ lsblk: - RQ-SIZE is part of the --topology output (man page bugfix) [Dave Reisner] - add --include option [Karel Zak] - add --version switch [Milan Broz] + - add WWN, improve udev support [Karel Zak] - add inverse tree support (-s) [Peter Rajnoha] - add not about unstable default output [Karel Zak] - add read-ahead column. [Milan Broz] @@ -745,10 +792,13 @@ lscpu: - fix compiler warning [-Wsign-compare] [Karel Zak] - fix possibly undefined operation [Petr Uzel] - fix shadow declaration [Sami Kerola] + - limit options --all, --online, --offline to parsable and extended output [Heiko Carstens] - use err_exclusive_options() [Karel Zak] - use exclusive_option() [Sami Kerola] - values in /proc/bus/pci/devices are always unsigned [Sami Kerola] - lslocks: +lslock: + - remove duplicate variable [Karel Zak] +lslocks: - add --notruncate, minor fixes in man page [Karel Zak] - add TYPE column [Davidlohr Bueso] - add lslocks.8 man page [Davidlohr Bueso] @@ -757,7 +807,6 @@ lscpu: - minor fix in usage() [Karel Zak] - new command [Davidlohr Bueso] - use xasprintf for safe allocation [Sami Kerola] - - remove duplicate variable [Karel Zak] mesg: - use rpmatch to yes/no question [Sami Kerola] misc: @@ -806,9 +855,9 @@ mount: - fix man page typo s/reatime/relatime/ [Karel Zak] - fix recursively propagation mounting [Dong Hao] - remove unnecessary free() [Karel Zak] + - replace control chars in mountpoint name [Karel Zak] - use err_exclusive_options() [Karel Zak] - verify writing to streams was successful [Sami Kerola] - - fstab.5 fix misspelling of deprecated [Dave Reisner] mountpoint: - account for error from in mnt_fs_get_target [Dave Reisner] - add --version & align with howto-usage-function.txt [Sami Kerola] @@ -852,6 +901,9 @@ raw: - use symbolic exit numbers [Sami Kerola] reset: - make scripts bourne sh compliant [checkbashisms] [Sami Kerola] +resizepart: + - add new command [Karel Zak, Vivek Goyal] + - remove debug message [Karel Zak] rev: - mention tac(1) in 'SEE ALSO' man page section [James R. Van Zandt] rtcwake: @@ -976,18 +1028,31 @@ test_sysinfo: - fix compiler warning [-Wmissing-prototypes] [Karel Zak] tests: - add UFS uuids to results [Karel Zak] + - add layout info to dos mode test [Karel Zak] + - add libmount optstr deduplicate [Karel Zak] - add losetup/mount encryption test [Karel Zak] - add lscpu test for box with 64 CPUs [Karel Zak] - add lslocks to build-sys tests [Karel Zak] + - add non-dos mode fdisk test [Karel Zak] - add swapon tests for --fixpgsz and fix signature [Karel Zak] - add tests for mount --make-* stuff [Karel Zak] - add umount-by-eject tests [Karel Zak] + - blkid/md-raid1-part fails [Bernhard Voelker] + - check for 'make check' [Karel Zak] + - cleanup ts_is_mounted [Bernhard Voelker] - hwclock locate ntpdate by using path [Sami Kerola] - look add words file [Sami Kerola] + - make blkid/md-raid1-part more robust [Bernhard Voelker] + - make compatible with autotools [Karel Zak] - make output and diff dirs usage more robust [Karel Zak] + - more robust symlinks usage [Karel Zak] - partx changed default output format [Sami Kerola] - remove LD_LIBRARY_PATH from swapon tests [Karel Zak] + - remove lt- prefixes [Karel Zak] + - rename doslabel test [Karel Zak] - search for "none" by findmnt [Karel Zak] + - search mount point in canonicalized form in /proc/mounts [Bernhard Voelker] + - standardize fdisk headers in MBR tests [Karel Zak] - test non-canonical paths in fstab [Karel Zak] - tiny change in output header [Karel Zak] - update [Karel Zak] @@ -997,10 +1062,12 @@ tests: - update fdisk test (default output format changed) [Petr Uzel] - update iso tests [Karel Zak] - update libmount tests [Karel Zak] + - update non-lib build tests [Karel Zak] - update oddinput test [Karel Zak] - update partx, add missing whitespace [Karel Zak] - update paths to helpers [Karel Zak] - use eject --force [Karel Zak] + - use ts_is_mounted in mount/regfile [Bernhard Voelker] - wait a moment between mount and umount [Karel Zak] text-utils: - cleanup strtoxx_or_err() [Karel Zak] @@ -1025,6 +1092,8 @@ tunelp: - remove old, now unneeded header [Dave Reisner] ul: - fix shadow declaration [Sami Kerola] +util-linux: + - Document new FAT options [Steven J. Magnani] utmpdump: - add NLS and closestream support [Karel Zak] - add long options [Karel Zak] @@ -1053,6 +1122,7 @@ uuidd: - implement --no-fork option [Petr Uzel] - implement --no-pid option [Petr Uzel] - implement --socket-activation option [Petr Uzel] + - improve systemd unit files [Karel Zak] - introduce uuidd_cxt to pass arguments to server loop [Petr Uzel] - move from /var/run/uuidd to /run/uuidd [Karel Zak] - print all debugging information to stderr [Petr Uzel] @@ -1065,11 +1135,13 @@ uuidd: - use run configured state directory [Sami Kerola] vipw: - add noreturn function attribute [Sami Kerola] + - make vim writebackup mode work [Sami Kerola] - use rpmatch to yes/no question [Sami Kerola] - use xmkstemp() and lckpwdf() [Sami Kerola] wall: - use xmkstemp for temporary file [Sami Kerola] wdctl: + - add "--settimeout" to set the timeout [Harald Hoyer] - add --flags-only and optional column DEVICE [Karel Zak] - add --oneline [Karel Zak] - add man page [Karel Zak] @@ -1080,6 +1152,7 @@ wdctl: - fix conflicting types on old systems [Sami Kerola] - make timeouts output more parsable [Karel Zak] - rewrite to use lib/tt [Karel Zak] + - tiny change to man page [Karel Zak] - use err_exclusive_options() [Karel Zak] - use exclusive_option() [Sami Kerola] whereis: