diff options
author | Karel Zak | 2012-02-06 18:27:05 +0100 |
---|---|---|
committer | Karel Zak | 2012-02-06 18:27:05 +0100 |
commit | 983ddee513a544d280278a0c92bb75b2df703ad8 (patch) | |
tree | 9049b2d6b2c48b883fe3616023625bd3dd66690c /Documentation | |
parent | libblkid: remove >> 9 from GPT code (diff) | |
download | kernel-qcow2-util-linux-983ddee513a544d280278a0c92bb75b2df703ad8.tar.gz kernel-qcow2-util-linux-983ddee513a544d280278a0c92bb75b2df703ad8.tar.xz kernel-qcow2-util-linux-983ddee513a544d280278a0c92bb75b2df703ad8.zip |
docs: update v2.21-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/releases/v2.21-ReleaseNotes | 131 |
1 files changed, 130 insertions, 1 deletions
diff --git a/Documentation/releases/v2.21-ReleaseNotes b/Documentation/releases/v2.21-ReleaseNotes index 32074cba9..772ce0e6a 100644 --- a/Documentation/releases/v2.21-ReleaseNotes +++ b/Documentation/releases/v2.21-ReleaseNotes @@ -94,6 +94,7 @@ Changes between v2.20 and v2.21 agetty: - add --nohints [Karel Zak] - add static and const qualifiers [Francesco Cosoleto] + - check localtime() result [Karel Zak] - don't use log_err() for non-fatal errors [Karel Zak] - double equals sign typo in opentty() [Karel Zak] - map NL to CR-NL on output in initial termiossettings [Jacoby Hickerson] @@ -105,20 +106,29 @@ arch: blkdev: - add is_blkdev function [Davidlohr Bueso] blkid: + - add comment to keep static analysers happy [Karel Zak] + - check fd before use [coverity scan] [Karel Zak] - fix unfinished sentence for -l option in blkid.8 [Dave Reisner] + - move cache to /run on new systems [Karel Zak] - potential null derefence [smatch scan] [Karel Zak] - print ID_PART_ENTRY_* for small devices [Karel Zak] + - remove -w option from man page and usage() output [Karel Zak] + - remove dead assigment [Karel Zak] blockdev: - make functions static [Wanlong Gao] + - make the code more readable for static analysers [Karel Zak] - remove non-ANSI function declaration [smatch scan] [Karel Zak] build-sys: - add --enable-most-builds [Sami Kerola] - add --enable-new-mount [Karel Zak] - add UL_BUILD_INIT macro [Karel Zak] - add UL_REQUIRES_* macros [Karel Zak] + - add changelog target [Karel Zak] - add checksmatch target [Karel Zak] - add checkxalloc to toplevel Makefile [Karel Zak] - add err and errx to smatch no_return_funcs [Karel Zak] + - add ko-release-gen script [Karel Zak] + - add ko-release-push script [Karel Zak] - add log_err to smatch non-return functions [Karel Zak] - add missing BUILD_PRLIMIT [Karel Zak] - add missing headers to dist [Sami Kerola] @@ -157,16 +167,20 @@ build-sys: - ddate typo fixed [Sami Kerola] - don't install ru/ddate.1 if ddate disabled [Karel Zak] - don't use full paths for smatch [Karel Zak] + - enable .xz, disable .gz [Karel Zak] - enhance error message for missing libtoolize [Sami Kerola] - fix UL_INIT_BUILD macro [Karel Zak] - fix libuuid initialization [Karel Zak] - fixes to USAGE_* macros [Sami Kerola] + - improve changelog target [Karel Zak] + - improve ko-release-* scripts [Karel Zak] - move --enable-lib{mount,uuid,blkid} before others --enable-* [Karel Zak] - move --with-* before --enable-* [Karel Zak] - move gettext check before --enable-* [Karel Zak] - move structs, types, descs checks before --enable-* [Karel Zak] - move swapon from mount/ to sys-utils/ [Karel Zak] - move type checks before --enable-* [Karel Zak] + - release++ (v2.21-rc1) [Karel Zak] - remove redundant __progname check [Karel Zak] - remove redundant flags from mount/Makefile.am [Karel Zak] - remove unnecessary perl check [Karel Zak] @@ -181,7 +195,9 @@ cal: - non-ANSI definition [smatch scan] [Karel Zak] cfdisk: - add note about alignment to the man page [Karel Zak] + - wctomb() returns -1 on error [Karel Zak] chcpu: + - check get_max_number_of_cpus() result properly [Karel Zak] - convert to use lib/path.c [Heiko Carstens] - man page update [Heiko Carstens] - new tool [Heiko Carstens] @@ -191,6 +207,7 @@ chcpu,cpuset: chfn: - align with howto-usage-function.txt [Sami Kerola] - fix coding style [Sami Kerola] + - fix use-after-free [coverity scan] [Karel Zak] - remove non-ANSI definitions [smatch scan] [Karel Zak] - remove non-PAM code [Karel Zak] - use libc error printing facilities [Sami Kerola] @@ -200,6 +217,8 @@ chfn, chsh, setpwnam: - get true/false from stdbool.h [Sami Kerola] chfn, setpwnam: - let config.h be in control of extensions in use [Sami Kerola] +chrt: + - add comment to keep static analysers happy [Karel Zak] chsh: - align with howto-usage-function.txt [Sami Kerola] - build bug do not override config.h definition [Sami Kerola] @@ -250,6 +269,7 @@ docs: - add notes about tools/config-gen [Karel Zak] - add prlimit to the TODO file [Karel Zak] - add usage() howto for contributors [Sami Kerola] + - add v2.21 ReleaseNotes [Karel Zak] - add x-mount-mkdir to TODO file [Karel Zak] - align col.1 with howto-man-page.txt [Sami Kerola] - align colcrt.1 with howto-man-page.txt [Sami Kerola] @@ -282,6 +302,7 @@ docs: - note about independent super block structs [Sami Kerola] - refresh TODO file [Karel Zak] - remove README.clear [Sami Kerola] + - remove URL to u-l webpage [Karel Zak] - remove duplicated text [Sami Kerola] - require kernel support before accepting use of it [Sami Kerola] - restructure flock.1 manual page [Sami Kerola] @@ -292,6 +313,7 @@ docs: - update TODO file [Davidlohr Bueso] - update TODO file [Karel Zak] - use .LGPL extension for file with GNU Lesser License [Karel Zak] + - use correct translation project url [Sami Kerola] fallocate: - add FALLOC_FL_PUNCH_HOLE support [Cong Wang] - clean up fallbacks for FALLOC_FL_* flags [Karel Zak] @@ -299,12 +321,15 @@ fdformat: - fix uninitialized variable [Francesco Cosoleto] fdisk: - Fix bad invalid flag 0x00000 warning message [Francesco Cosoleto] + - add missing break [Karel Zak] - avoid an intermediate variable in command_prompt() [Francesco Cosoleto] - avoid segfault validating a sgi label (boot/swap not set) [Francesco Cosoleto] - don't shorten long path to disk device [Karel Zak] + - don't swap unsigned char [Karel Zak] - don't use get_existing_partition() if disk label isn't dos [Francesco Cosoleto] - drop one parameter from try() function [Francesco Cosoleto] - enable expert menu with SGI label [Francesco Cosoleto] + - fix cdrom detection [Karel Zak] - fix incorrect position of is_ide_cdrom_or_tape() call [Francesco Cosoleto] - fix last sector dialog bug after an incorrect input with suffix [Francesco Cosoleto] - fix poor coding style [Karel Zak] @@ -318,6 +343,7 @@ fdisk: - print welcome message [Francesco Cosoleto] - remove PACKED macro [Karel Zak] - remove possibly_osf_label variable that is only assigned [Francesco Cosoleto] + - remove uneecessary code [Karel Zak] - remove unused 'require' member in enum action [Francesco Cosoleto] - remove unused guess_device_type() function [Francesco Cosoleto] - rename bselect, xselect functions [Francesco Cosoleto] @@ -328,11 +354,18 @@ fdisk: - use CDROM_GET_CAPABILITY ioctl [Davidlohr Bueso] - use ngettext() in str_units() for plural forms [Francesco Cosoleto] findmnt: + - add note about LIBMOUNT_* env.variables [Karel Zak] + - fix resource leak [coverity scan] [Karel Zak] + - initialize rc variable [Karel Zak] + - make --poll more robust [Karel Zak] + - revert --fstab behavior, add --tab-file option [Karel Zak] - support alternative location of fstab [Dave Reisner] + - support multiple --tab-file options [Karel Zak] - use warnx for libmnt error callback [Dave Reisner] flock: - align with howto-usage-function.txt [Sami Kerola] - fix coding style [Sami Kerola] + - fix sizeof usage [clang -Wsizeof-pointer-memaccess] [Karel Zak] - make flock(1) work on NFSv4 [Michal Kubecek] - move long_options struct to function scope [Sami Kerola] - simplify strtotimeval() [Sami Kerola] @@ -345,12 +378,18 @@ flock: fsck: - make fs->type usage more robust [smatch scan] [Karel Zak] - use FS blacklist for non-all mode too [Karel Zak] +fsck.cramfs: + - mark usage() as noreturn [Karel Zak] fsck.minix: - fix zone_map memory allocation failure check [Francesco Cosoleto] - remove unnecessary memset calls [Francesco Cosoleto] fstrim: - fix section number in referral to manpage [Petr Uzel] +hexdump: + - make code more robust [Karel Zak] hwclock: + - clean usage, remove redundat code [Karel Zak] + - remove never read value [Karel Zak] - remove non-ANSI function declaration [smatch scan] [Karel Zak] include,c.h: - include fcntl.h before check for O_CLOEXEC [smatch scan] [Karel Zak] @@ -387,6 +426,7 @@ ipcs: islocal: - fix coding style [Sami Kerola] kill: + - fix fd leak [Karel Zak] - fix issue warned by smatch [Sami Kerola] - potential null derefence [smatch scan] [Karel Zak] last: @@ -427,20 +467,42 @@ lib,tt: - add TT_FL_NOEXTREMES [Karel Zak] - don't trim last line char [Karel Zak] - fix compiler warning [-Wreturn-type] [Karel Zak] +lib/loopdev: + - fix part scan detection code [Karel Zak] + - fix possible dir leak on error [Karel Zak] + - remove dead assigment and null deference [Karel Zak] +lib/sysfs: + - fix handle leak [Karel Zak] + - fix possible fd leak on error [Karel Zak] libblkid: - DRBD proxy data-log identification. [Philipp Marek] - add BLKID_PARTS_MAGIC [Karel Zak] - add blkid_do_wipe() [Karel Zak] + - check blkid_probe_set_magic() return in GPT code [coverity scan] [Karel Zak] + - check blkid_probe_set_magic() return in ultrix code [coverity scan] [Karel Zak] + - check blkid_probe_set_magic() return value [coverity scan] [Karel Zak] + - check for NULL in blkid_flush_cache() [coverity scan] [Karel Zak] + - check rename() return value [coverity scan] [Karel Zak] + - check return values in safe_probe code [coverity scan] [Karel Zak] + - comparing an array to null is not useful [coverity scan] [Karel Zak] - don't call CDROM_GET_CAPABILITY for partitions [Karel Zak] - export PTMAGIC also if only PTTYPE requested [Karel Zak] - export info about PT magic strings [Karel Zak] + - fix blkid_do_fullprobe() [coverity scan] [Karel Zak] + - fix limit for OCFS check [Karel Zak] - fix mac partition detection [Francesco Cosoleto] - fix smatch warning [Sami Kerola] + - fix suspicious implicit sign extension [coverity scan] [Karel Zak] + - fix use-after-free [coverity scan] [Karel Zak] + - make fd usage in md code more robust [Karel Zak] - minor docs changes [Francesco Cosoleto] + - more robust idx usage [coverity scan] [Karel Zak] - new magic for 8.4 style (unclean) activity log. [Philipp Marek] + - remove >> 9 from GPT code [Karel Zak] - remove unnecessary position check from list_for_each_safe loops [Karel Zak] - silence a format string warning [-Wformat] [Francesco Cosoleto] libmount: + - Use filter arg of scandir* to pickup /etc/fstab.d/*.fstab files [Masatake YAMATO] - add "+" prefix for options pattern (e.g findmnt -O) [Karel Zak] - add --pass-fd to samples/mount [Karel Zak] - add -a to umount(8) sample [Karel Zak] @@ -460,14 +522,28 @@ libmount: - avoid resolving pseudofs source on update [Dave Reisner] - cleanup post-umount operations [Karel Zak] - consolidate MNT_FS_* code [Karel Zak] + - consolidate sysconf() usage [Karel Zak] + - don't ignore chmod/own errors [Karel Zak] + - don't pass comments=/x-* to mount.<type> helpers [Karel Zak] - don't use "new" in header file [Karel Zak] + - export info about library features [Karel Zak] - fix MS_BIND|MS_REC usage, improve some bitwise operations [Karel Zak] + - fix a potential memory leak at mnt_table_parse_dir [Masatake YAMATO] - fix auto-loopdev [Karel Zak] + - fix buffer overflow and leaks in tests [Karel Zak] - fix bugs detected by [smatch scan] [Karel Zak] - fix chdir to parent for restricted (user) umounts [Karel Zak] + - fix checked-return [coverity scan] [Karel Zak] - fix compiler warning [-Wimplicit-function-declaration] [Karel Zak] - fix compiler warnings [-Wsign-compare] [Karel Zak] - fix compiler warnings [-Wuninitialized -Wformat] [Karel Zak] + - fix context test logic [Karel Zak] + - fix leak in tab parsing error code [Karel Zak] + - fix leak in tab_update.c test [Karel Zak] + - fix leak in tabdiff test [Karel Zak] + - fix negative returns [coverity scan] [Karel Zak] + - fix possible null dereferencing [coverity scan] [Karel Zak] + - fix resource leak [coverity scan] [Karel Zak] - fix trivial typos in debugging output [Petr Uzel] - fix typo in function name [Dave Reisner] - fix use of logical '&&' with constant operand [Francesco Cosoleto] @@ -475,15 +551,21 @@ libmount: - ignore "defaults" mount option [Karel Zak] - ignore tailing slash in netfs source paths [Petr Uzel] - improve verbose message [Karel Zak] + - make iter reset more robust [coverity scan] [Karel Zak] - make options in fstab optional [Karel Zak] - potential null derefence [smatch scan] [Karel Zak] - previously assumed null pointer [smatch scan] [Karel Zak] - redundant null check on calling free() [smatch scan] [Karel Zak] + - remove dead assigment [Karel Zak] + - remove fstab.d support [Karel Zak] - remove magic constatnt from mount(8) [Karel Zak] + - scandirat based mnt_table_parse_dir implementation [Masatake YAMATO] - support -o loop=<devname> [Karel Zak] + - support dirs for mnt_table_parse_fstab(), add mnt_table_parse_dir() [Karel Zak] - support umount /path/file.img [Karel Zak] - support {offset,sizelimit}= foor loopdevs [Karel Zak] - unable to umount nfs shares using the force option [Karel Zak] + - use #ifdef fr selinux specific variables [Karel Zak] - use USAGE_* from mount(8) sample [Karel Zak] - use loopdev debug facility [Karel Zak] - use unsigned int for bitfields [smatch scan] [Karel Zak] @@ -499,6 +581,7 @@ logger: - fix remote logging [Karel Zak] - non-ANSI definition [smatch scan] [Karel Zak] login: + - (and chsh) make pw_shell usage more robust [Karel Zak] - PAM account checks refactoring [Karel Zak] - PAM auth refactoring [Karel Zak] - PAM initialization refactoring [Karel Zak] @@ -510,11 +593,14 @@ login: - add struct login_context, consolidate tty code [Karel Zak] - add username to login_context struct [Karel Zak] - add version printing option [Sami Kerola] + - allocate buffer with shell name [Karel Zak] - clean FAIL_DELAY usage [Karel Zak] - cleanup begin of the login.c file [Karel Zak] + - comparing an array to null is not useful [coverity scan] [Karel Zak] - cosmetic changes in docs [Karel Zak] - env initialization refactoring [Karel Zak] - fix compiler warning [-Wreturn-type] [Karel Zak] + - fix leak, improve strtok usage [Karel Zak] - fork & session initialization refactoring [Karel Zak] - host{name,address} initialization refactoring [Karel Zak] - improve hushed mode (merge suse changes) [Karel Zak] @@ -522,6 +608,7 @@ login: - indent -linux [Karel Zak] - lastlog code refactoring [Karel Zak] - log good logins refactoring [Karel Zak] + - more robust sysconf() usage [coverity scan] [Karel Zak] - move _PATH_BTMP to pathnames.h [Karel Zak] - move signal stuff to the one place [Karel Zak] - remove PAM_FAIL_CHECK and PAM_END macros [Karel Zak] @@ -582,6 +669,7 @@ losetup: lsblk: - add UUID to --fs output [Karel Zak] - add udev support [Ilias Mamedov] + - check stat() return code [Karel Zak] - inform about depencency to /sys/dev/block [Sami Kerola] - remove __NCOLUMNS [Davidlohr Bueso] lscpu: @@ -601,12 +689,14 @@ lscpu: - add s390 test case [Heiko Carstens] - allow read_cache() to be called for offline cpus [Heiko Carstens] - cleanup output modes [Karel Zak] + - dereferencing NULL pointer [coverity scan] [Karel Zak] - detect IBM hypervisor [Heiko Carstens] - fix -e output [Heiko Carstens] - fix cache output for extended parsable output [Heiko Carstens] - fix compiler warnings [Davidlohr Bueso] - fix cpu map array sizes [Heiko Carstens] - fix fallback nthreads calculation [Heiko Carstens] + - fix fd leak [Karel Zak] - fix s390 bogomips detection coding style [Heiko Carstens] - fix typo in help text [Heiko Carstens] - gettextize two columns [Karel Zak] @@ -633,15 +723,27 @@ mkfs.minix: - inode numbers are 32-bit wide in V3 filesystems [Maurizio Lombardi] - remove redundant code [Maurizio Lombardi] mkswap: + - check blkid_probe_lookup_values() return [coverity scan] [Karel Zak] - wipe all old signatures [Karel Zak] +more: + - add comment [Karel Zak] mount: + - (new) add --fstab <path> option [Karel Zak] + - (new) add --fstab to the man page [Karel Zak] + - (new) add more info about --stab to mount.8 [Karel Zak] + - (new) add selinux warning [Karel Zak] + - (new) add source/target to error messages [Karel Zak] + - (new) fix resource leak [coverity scan] [Karel Zak] + - (new) improve mount -a exist codes and erroer messages [Karel Zak] - (new) print error messages [Karel Zak] + - (new) share exit codes by include/exitcodes.h [Karel Zak] - add hint that context= has to be quoted [Karel Zak] + - add info about libmount features to --version output [Karel Zak] - append inverting options for mount.<type> [Karel Zak] - avoid canonicalizing pseudofs paths [Dave Reisner] - check for target before source on remount [Karel Zak] + - define fallback selinux_warning macro with 2 params [Dave Reisner] - don't canonicalize the source of a pseudofs [Dave Reisner] - - enable fstab.d [Masatake YAMATO] - fix __attribute__ keyword [Karel Zak] - fix build [Davidlohr Bueso] - fix compiler warning [-Wunused-parameter] [Karel Zak] @@ -658,13 +760,18 @@ mountpoint: - refactor exit path [Dave Reisner] - return dev_t from dir_to_device [Dave Reisner] - support symbolic and relative paths [Karel Zak] +namei: + - more robust add_it() [coverity scan] [Karel Zak] newgrp: - add version and help options [Sami Kerola] - fix coding style [Sami Kerola] + - fix possible FILE leak on error [Karel Zak] partx: + - check sysfs_init() return value [coverity scan] [Karel Zak] - cleanup usage() and man page, add undocumented --verbose [Karel Zak] - don't print error when partition already doesn't exist [Phillip Susi] - don't treat empty partition table as error [Karel Zak] + - fix small leak [Karel Zak] - remove __NCOLUMNS [Davidlohr Bueso] - support loop devices [Davidlohr Bueso] - use USAGE_ macros [Davidlohr Bueso] @@ -724,14 +831,19 @@ setsid: setterm: - order man page items alphabetically [Jari Aalto] sfdisk: + - add comment to keep static analysers happy [Karel Zak] - add note about alignment to the man page [Karel Zak] + - cleanup fd usage [Karel Zak] - file descriptor is of int type [Petr Uzel] + - fix fd leak [Karel Zak] - fix poor coding style [Karel Zak] + - fix typo in cdrom detection [Karel Zak] - fix weird indentation in msdos_partition() [Petr Uzel] - get_disksize() returns long long [Petr Uzel] - introduce get_ull() function [Petr Uzel] - make the cylinder boundary check less fatal [Petr Uzel] - remove PACKED macro [Karel Zak] + - remove dead assigment [Karel Zak] - remove do_warn [Davidlohr Bueso] - remove duplicate includes [Karel Zak] - remove fatal [Davidlohr Bueso] @@ -740,6 +852,7 @@ sfdisk: - use unsigned long long to internally represent sector number [Petr Uzel] - warn if partition exceeds partition table limits [Petr Uzel] swapon: + - add break to keep static analysers happy [Karel Zak] - merge swap_constants.h into swapon.c [Karel Zak] switch_root: - add nls support [Sami Kerola] @@ -749,12 +862,22 @@ switch_root: test: - refresh build-sys tests [Karel Zak] tests: + - add --memcheck to [Karel Zak] - add build-sys regression test [Karel Zak] - add exceptions for libmount [Karel Zak] + - add infrastructure for valgrind [Karel Zak] - add loopdev libmount test [Karel Zak] - add missing file [Karel Zak] - add mkfs.carmfs test for small FS with duplicate files [Karel Zak] - add ts_fdisk_clean function to make fdisk output comparable [Francesco Cosoleto] + - add valgrind to libmount context tests [Karel Zak] + - add valgrind to libmount context utab tests [Karel Zak] + - add valgrind to libmount lock tests [Karel Zak] + - add valgrind to libmount tab parse test [Karel Zak] + - add valgrind to libmount tabdiff tests [Karel Zak] + - add valgrind to libmount tags eval. tests [Karel Zak] + - call valgrind from libmount optstr test [Karel Zak] + - call valgrind from libmount utils and update tests [Karel Zak] - cleanup islocal test [Karel Zak] - cleanup paths [Karel Zak] - fix mount/special to be compatible with libmount [Karel Zak] @@ -773,6 +896,9 @@ tunelp: - use libc error printing facilities [Sami Kerola] - use symbolic exit values [Sami Kerola] umount: + - (new) fix resource leak [coverity scan] [Karel Zak] + - (new) use the same exit codes as mount(8) [Karel Zak] + - add missing break [Karel Zak] - add warning [Karel Zak] - use new lib/loopdev.c code [Karel Zak] unshare: @@ -780,11 +906,14 @@ unshare: uuidd: - Add missing break to option case statement [Eric Sandeen] vipw: + - don't modify environment, check strtok() return value [Karel Zak] - fix coding style [Sami Kerola] - stop printing non-sense version string [Sami Kerola] - use libc error printing facilities [Sami Kerola] + - use xalloc.h [Karel Zak] whereis: - fix gcc warnings [-Wsign-compare] [Karel Zak] + - move token assignment into loop syntax [Karel Zak] - non-ANSI definition [smatch scan] [Karel Zak] - remove unused value warning [Francesco Cosoleto] - search in path [Davidlohr Bueso] |