Changes between v2.25-rc2 and v2.25 -------------------------------------------- commit 1687d0a028d1176a796059f1fae84c4de87e3b35 Author: Karel Zak Date: Tue Jul 22 11:12:05 2014 +0200 build-sys: release++ (v2.25) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit fdd3a1264437f519ac91eba13d01b9d9e848dd45 Author: Karel Zak Date: Tue Jul 22 11:11:01 2014 +0200 docs: update v2.25-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.25-ReleaseNotes | 91 +++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) commit b59c86c8d552f98ac6e4624891e3e646f3eeeb94 Author: Benno Schulenberg Date: Mon Jul 21 23:56:02 2014 +0200 docs: bring one more man page closer to standard formatting Signed-off-by: Benno Schulenberg sys-utils/umount.8 | 144 +++++++++++++++++++++++++++-------------------------- 1 file changed, 73 insertions(+), 71 deletions(-) commit e5a367db587193762e9c43bc088ef9157b87195d Author: Karel Zak Date: Tue Jul 22 10:42:32 2014 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 055093182d87f949bf43ee601b480cf1657bc01c Author: Karel Zak Date: Tue Jul 22 10:39:11 2014 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 1558 ++- po/cs.po | 27808 +++++++++++++++++++++++++++------------------------- po/da.po | 25044 +++++++++++++++++++++++----------------------- po/de.po | 1484 +-- po/es.po | 2101 ++-- po/et.po | 1558 ++- po/eu.po | 1558 ++- po/fi.po | 1479 +-- po/fr.po | 1484 +-- po/gl.po | 1558 ++- po/hr.po | 1556 ++- po/hu.po | 1558 ++- po/id.po | 1558 ++- po/it.po | 1563 ++- po/ja.po | 27394 ++++++++++++++++++++++++++------------------------- po/nl.po | 1484 +-- po/pl.po | 1484 +-- po/pt_BR.po | 25786 +++++++++++++++++++++++++----------------------- po/ru.po | 1558 ++- po/sl.po | 1558 ++- po/sv.po | 1558 ++- po/tr.po | 1558 ++- po/uk.po | 1566 +-- po/util-linux.pot | 1531 ++- po/vi.po | 1484 +-- po/zh_CN.po | 25427 ++++++++++++++++++++++++----------------------- po/zh_TW.po | 1568 ++- 27 files changed, 84799 insertions(+), 81024 deletions(-) commit f862938183f314f14082b9c1ad2a7d81d5cc1117 Author: Wylmer Wang Date: Tue Jul 22 10:33:18 2014 +0200 po: update zh_CN.po (from translationproject.org) po/zh_CN.po | 27339 ++++++++++++++++++++++++++++------------------------------ 1 file changed, 13176 insertions(+), 14163 deletions(-) commit 528ef7ad40b6bc18a3f92a21f5bdf4dcfe8f49a9 Author: Trần Ngọc Quân Date: Tue Jul 22 10:33:18 2014 +0200 po: update vi.po (from translationproject.org) po/vi.po | 1567 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 662 insertions(+), 905 deletions(-) commit b7b9d9bfb148e0ba8dddcbf5488451ecc1beeb29 Author: Yuri Chornoivan Date: Tue Jul 22 10:33:18 2014 +0200 po: update uk.po (from translationproject.org) po/uk.po | 1374 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 575 insertions(+), 799 deletions(-) commit e9a7a47b9abeec54839a49d85c1c16f6ca52f723 Author: Rafael Ferreira Date: Tue Jul 22 10:33:18 2014 +0200 po: update pt_BR.po (from translationproject.org) po/pt_BR.po | 25837 ++++++++++++++++++++++++++++------------------------------ 1 file changed, 12440 insertions(+), 13397 deletions(-) commit 984814c55b5b774f0b794986744b4235fc3ee580 Author: Jakub Bogusz Date: Tue Jul 22 10:33:18 2014 +0200 po: update pl.po (from translationproject.org) po/pl.po | 2870 ++++++++++++-------------------------------------------------- 1 file changed, 558 insertions(+), 2312 deletions(-) commit 75d401d884c22deec29dc053957d7a21f96cb502 Author: Benno Schulenberg Date: Tue Jul 22 10:33:18 2014 +0200 po: update nl.po (from translationproject.org) po/nl.po | 1860 +++++++++++++++++++++++--------------------------------------- 1 file changed, 689 insertions(+), 1171 deletions(-) commit 1a152bf319e40d16b869b59a1ed851744ac4c03a Author: Takeshi Hamasaki Date: Tue Jul 22 10:33:18 2014 +0200 po: update ja.po (from translationproject.org) po/ja.po | 25639 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 12314 insertions(+), 13325 deletions(-) commit fb2ab613da3230a049a3b89f8ec13d7610fcbeee Author: David Prévot Date: Tue Jul 22 10:33:18 2014 +0200 po: update fr.po (from translationproject.org) po/fr.po | 1498 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 641 insertions(+), 857 deletions(-) commit 9219ccc571577fda9f33ecffca5f70958869b2c1 Author: Lauri Nurmi Date: Tue Jul 22 10:33:18 2014 +0200 po: update fi.po (from translationproject.org) po/fi.po | 3987 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 2019 insertions(+), 1968 deletions(-) commit f45c72154ddcf0e44f35bed687c1049be8989dc9 Author: Antonio Ceballos Roa Date: Tue Jul 22 10:33:18 2014 +0200 po: update es.po (from translationproject.org) po/es.po | 9990 ++++++++++++++++++-------------------------------------------- 1 file changed, 2844 insertions(+), 7146 deletions(-) commit e7ca0606918a3909f1d12e053af410f6fb501932 Author: Mario Blättermann Date: Tue Jul 22 10:33:18 2014 +0200 po: update de.po (from translationproject.org) po/de.po | 1481 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 653 insertions(+), 828 deletions(-) commit fca91f748b4145ce0341be48da30237fbc6f4eb3 Author: Joe Hansen Date: Tue Jul 22 10:33:17 2014 +0200 po: update da.po (from translationproject.org) po/da.po | 27032 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 13074 insertions(+), 13958 deletions(-) commit 26a35330554d2beaaf9b0c9cbb2cfb91e664f3ba Author: Petr Písař Date: Tue Jul 22 10:33:17 2014 +0200 po: update cs.po (from translationproject.org) po/cs.po | 27659 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 13346 insertions(+), 14313 deletions(-) commit c6f637e66743b4513b7386563ee84249251b0638 Author: Karel Zak Date: Mon Jul 21 16:09:38 2014 +0200 prlimit: remove repeating words from man page Signed-off-by: Karel Zak sys-utils/prlimit.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 86407f2cae326030a021f1d57c61a7b74b5e0812 Author: Benno Schulenberg Date: Mon Jul 21 13:37:11 2014 +0200 cfdisk: actually translate the partition types in the menu [kzak@redhat.com: - translate also GPT types] Signed-off-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/cfdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c372860ddb4a768f7f6c50cd26d60119370d5cd5 Author: Benno Schulenberg Date: Sun Jul 20 23:15:47 2014 +0200 docs: bring eight more man pages closer to standard formatting Also, for chcpu, the options -c, -d, -e and -g are mutually exclusive, and for the mode argument the option -p is not optional. For ldattach, use the standard options separator ", " instead of the unusual " | ". And add the missing --version to several of the pages. Besides, improve the wording and the consistency of the spacing. Signed-off-by: Benno Schulenberg sys-utils/blkdiscard.8 | 51 ++++++++++-------- sys-utils/chcpu.8 | 58 ++++++++++---------- sys-utils/fsfreeze.8 | 45 ++++++++-------- sys-utils/fstrim.8 | 58 +++++++++++--------- sys-utils/ldattach.8 | 76 +++++++++++++-------------- sys-utils/losetup.8 | 140 ++++++++++++++++++++++++++++--------------------- sys-utils/setarch.8 | 45 ++++++++-------- sys-utils/wdctl.8 | 51 ++++++++++-------- 8 files changed, 279 insertions(+), 245 deletions(-) commit cf8e0bae341e1f4e6922725f5305bbdf86bbb149 Author: Benno Schulenberg Date: Sun Jul 20 23:15:46 2014 +0200 docs: bring five more man pages closer to standard formatting Also, for renice, adapt the descriptions to the behaviour: the -g, -p and -u options do not actually need to be followed by any ID. Signed-off-by: Benno Schulenberg sys-utils/nsenter.1 | 2 +- sys-utils/renice.1 | 18 +++++------ sys-utils/setpriv.1 | 92 ++++++++++++++++++++++++++++------------------------- sys-utils/setsid.1 | 12 +++---- sys-utils/unshare.1 | 24 +++++++------- 5 files changed, 77 insertions(+), 71 deletions(-) commit 06716dffdc69cb735f3b7748bc7fc973d13e3ac2 Author: Karel Zak Date: Mon Jul 21 10:27:25 2014 +0200 mount: update info about mtab in mount.8 Reported-by: Bernhard Voelker Signed-off-by: Karel Zak sys-utils/mount.8 | 48 +++++++++++++++++++----------------------------- 1 file changed, 19 insertions(+), 29 deletions(-) commit 7887c6e0f0fad362f2e82193de880b8ad487c13e Author: Karel Zak Date: Fri Jul 18 13:22:52 2014 +0200 prlimit: clean up columns[] usage Signed-off-by: Karel Zak sys-utils/prlimit.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit a560a3487b4187894c705946a5363b7809c3da51 Author: Karel Zak Date: Fri Jul 18 13:22:52 2014 +0200 swapon: clean up columns[] usage Signed-off-by: Karel Zak sys-utils/swapon.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d78deddc6d9d11bfef79b8d6acec1febb248a2c7 Author: Karel Zak Date: Fri Jul 18 13:22:52 2014 +0200 losetup: clean up columns[] usage Signed-off-by: Karel Zak sys-utils/losetup.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 87a144a502cc4e7dc74aa60043409da89239035a Author: Karel Zak Date: Fri Jul 18 13:17:48 2014 +0200 lslogins: more robust usage of columns[] For more details see commit dcc8dbdc8137cb3da5100158639b565565b89875. Signed-off-by: Karel Zak login-utils/lslogins.c | 73 +++++++++++++++++++++++++++++++------------------- 1 file changed, 45 insertions(+), 28 deletions(-) commit 059a91f8d0de7a1f2018d97e9e161cd68991f843 Author: Karel Zak Date: Fri Jul 18 13:22:52 2014 +0200 wdctl: clean up columns[] usage Signed-off-by: Karel Zak sys-utils/wdctl.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit edaf38cf8cd52e5502d65fe60788fc7f24a396bf Author: Karel Zak Date: Fri Jul 18 13:17:48 2014 +0200 findmnt: more robust usage of columns[] For more details see commit dcc8dbdc8137cb3da5100158639b565565b89875. Signed-off-by: Karel Zak misc-utils/findmnt.c | 80 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 46 insertions(+), 34 deletions(-) commit 21abf83d6d918eca616d3f294803753acf5df813 Author: Karel Zak Date: Fri Jul 18 13:08:45 2014 +0200 lslocks: clean up columns[] usage Signed-off-by: Karel Zak misc-utils/lslocks.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit b6327c6fd835018406f29321278e0d5fffd92251 Author: Karel Zak Date: Thu Jul 17 17:17:46 2014 +0200 lsblk: check number of used columns The current code does not check size of the columns[] array when add the next on command line specified column. We check the array size for "-o " but not for another options. Old version: $ for x in $(seq 0 100); do echo "-t"; done | xargs lsblk xargs: lsblk: terminated by signal 11 new version: $ for x in $(seq 0 100); do echo "-t"; done | xargs lsblk lsblk: too many columns specified, the limit is 83 columns. Signed-off-by: Karel Zak misc-utils/lsblk.c | 104 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 59 insertions(+), 45 deletions(-) commit 03df0d1150d5b8512397ca299edbe10810bb7fbf Author: Karel Zak Date: Thu Jul 17 15:35:52 2014 +0200 lsblk: differentiate between infos[] and columns[] Signed-off-by: Karel Zak misc-utils/lsblk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5ffe4d514ce044ce4a457eef31391c000044ec10 Merge: a4f0a42 9d2926b Author: Karel Zak Date: Fri Jul 18 12:59:46 2014 +0200 Merge branch 'patch-1' of https://github.com/bneijt/util-linux commit a4f0a42dd212d30ca62bfaab341c808839518587 Author: Karel Zak Date: Fri Jul 18 12:54:40 2014 +0200 cfdisk: use /dev/sda by default .. this all is for backward compatibility. Signed-off-by: Karel Zak disk-utils/cfdisk.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) commit 479912e7b3619e989413b0ed19df3855be244f7f Author: Karel Zak Date: Thu Jul 17 15:19:34 2014 +0200 wall: add fallback for failed sysconf() Signed-off-by: Karel Zak term-utils/wall.c | 3 +++ 1 file changed, 3 insertions(+) commit 86c58c4a8201251bd0083d0af8cda4e5610efa48 Author: Karel Zak Date: Thu Jul 17 15:12:35 2014 +0200 umount: fix memory leak [coverity scan] Signed-off-by: Karel Zak sys-utils/umount.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit df1a1ca0c9f30be08438a93d8cff9744e882d32c Author: Karel Zak Date: Thu Jul 17 15:07:49 2014 +0200 fstrim: fix memory leak [coverity scan] Signed-off-by: Karel Zak sys-utils/fstrim.c | 1 + 1 file changed, 1 insertion(+) commit aea3a3ba2ccaa11e66d50f4b4658e33d6675715a Author: Karel Zak Date: Thu Jul 17 15:00:17 2014 +0200 findmnt: fix memory leak [coverity scan] Signed-off-by: Karel Zak misc-utils/findmnt.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit fa936c9f9b8c7afd47a57b49eb4b0e4eb7d5036d Author: Karel Zak Date: Thu Jul 17 14:47:20 2014 +0200 sulogin: don't use uninitialized struct sigaction [coverity scan] Signed-off-by: Karel Zak login-utils/sulogin.c | 1 + 1 file changed, 1 insertion(+) commit c210324c67ac0ccd2b93d04c4a53af4f8755a5c3 Author: Karel Zak Date: Thu Jul 17 14:42:00 2014 +0200 sulogin: check result of the open() [coverity scan] Signed-off-by: Karel Zak login-utils/sulogin.c | 2 ++ 1 file changed, 2 insertions(+) commit 2e118e709bce91b3397dafdb1e25137f33bab31f Author: Karel Zak Date: Thu Jul 17 14:39:11 2014 +0200 last: fix is_phantom() logic [coverity scan] Signed-off-by: Karel Zak login-utils/last.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 98d391c0b66fbb9c3540b2612e433125c19b4fbd Author: Karel Zak Date: Thu Jul 17 14:31:05 2014 +0200 libmount: add missing assert() Signed-off-by: Karel Zak libmount/src/context_loopdev.c | 1 + 1 file changed, 1 insertion(+) commit f9953bbaa2e7736bdc583fb35079174143f3230b Author: Karel Zak Date: Thu Jul 17 14:20:03 2014 +0200 libblkid: comparing an array to null is not useful [coverity scan] Signed-off-by: Karel Zak libblkid/src/partitions/partitions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8471bc61f9bde2c1b0498f05d11d43b1ec8bf483 Author: Karel Zak Date: Thu Jul 17 14:11:28 2014 +0200 lib/procutils: check fgets() return value [coverity scan] Signed-off-by: Karel Zak lib/procutils.c | 2 ++ 1 file changed, 2 insertions(+) commit cba69bb55115470bb37d5d859a7ecdcadfd67aa8 Author: Karel Zak Date: Thu Jul 17 14:08:18 2014 +0200 lib/loopdev: comparing an array to null is not useful [coverity scan] Signed-off-by: Karel Zak lib/loopdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d179d01950df5902ca4bc2ef1589b666300518a3 Author: Benno Schulenberg Date: Wed Jul 16 23:09:50 2014 +0200 docs: bring four more man pages closer to standard formatting In the IPC man pages strictly adhere to the memory, queue, semaphore order, to reduce disorientation. And for 'ipcmk', the arguments for -M and -S and -p are not optional. Add --version for 'mountpoint'. Signed-off-by: Benno Schulenberg sys-utils/ipcmk.1 | 39 ++++++++++++++++++++------------------- sys-utils/ipcrm.1 | 16 ++++++++-------- sys-utils/ipcs.1 | 26 ++++++++++++++------------ sys-utils/mountpoint.1 | 37 +++++++++++++++++++++++-------------- 4 files changed, 65 insertions(+), 53 deletions(-) commit e612ead96a0ba6599c27a920493687db74edf900 Author: Sami Kerola Date: Wed Jul 16 21:54:58 2014 +0100 fstrim: avoid TOCTOU race Signed-off-by: Sami Kerola sys-utils/fstrim.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 0407c1bef9f5bc39da0fcf2e21bc5bd8b48b5349 Author: Sami Kerola Date: Wed Jul 16 21:54:57 2014 +0100 fallocate: avoid unnecessary computation Where POSIX_FADV_SEQUENTIAL and HAVE_POSIX_FADVISE are not available it is waste of resources to have variables that are meaningful only for posix_fadvise(). Also initialize the variables immediately to correct values, and since cachesz is never changed mark it read only. Signed-off-by: Sami Kerola sys-utils/fallocate.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) commit 8a03628de9c8638172ec5991c4bcbc690cb2a56a Author: Sami Kerola Date: Wed Jul 16 21:54:56 2014 +0100 lib/colors: remove memory leak Signed-off-by: Sami Kerola lib/colors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c0b406deb7982f46012fd0751ca34054406248b Author: Benno Schulenberg Date: Wed Jul 16 13:09:53 2014 +0200 build-sys: harmonize some indentation Signed-off-by: Benno Schulenberg configure.ac | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit cfbebb2905a40d0cbd7760f026fc5be3d118141c Author: Benno Schulenberg Date: Wed Jul 16 13:09:52 2014 +0200 docs: improve the wording and conventions in the man-page howto Signed-off-by: Benno Schulenberg Documentation/howto-man-page.txt | 97 ++++++++++++++++++++++------------------ 1 file changed, 53 insertions(+), 44 deletions(-) commit 1000a59543834fce395d8dd22ce2692fa8fc9970 Author: Benno Schulenberg Date: Wed Jul 16 13:09:51 2014 +0200 docs: improve the formatting and wording of two man pages Signed-off-by: Benno Schulenberg login-utils/sulogin.8 | 39 ++++++++++++++++++++------------------- login-utils/utmpdump.1 | 16 ++++++++-------- 2 files changed, 28 insertions(+), 27 deletions(-) commit d02c203512f823c18c644e1f57f8dfcb4cc88257 Author: Karel Zak Date: Thu Jul 17 13:59:01 2014 +0200 cfdisk: make code more readable for analyzers [coverity scan] Signed-off-by: Karel Zak disk-utils/cfdisk.c | 2 ++ 1 file changed, 2 insertions(+) commit a9408274b79012759aaeab781353435dbf0aeeb3 Author: Karel Zak Date: Thu Jul 17 13:46:27 2014 +0200 cfdisk: fix possible memory leak [coverity scan] Signed-off-by: Karel Zak disk-utils/cfdisk.c | 1 + 1 file changed, 1 insertion(+) commit 9d2926bf12393ed5fc81dcacbe3c4a5a1b19f4a7 Author: A. Bram Neijt Date: Wed Jul 16 21:07:04 2014 +0200 Add missing paragraph mark before -f the sections on -P and -f where glued together. misc-utils/logger.1 | 1 + 1 file changed, 1 insertion(+) commit e33ee284f9ca894c584a00d65141dff0746fa0c6 Author: Benno Schulenberg Date: Tue Jul 15 23:07:38 2014 +0200 docs: bring some more man pages closer to standard formatting Signed-off-by: Benno Schulenberg sys-utils/dmesg.1 | 52 ++++++++++++++++++++++++++++----------------------- sys-utils/eject.1 | 56 ++++++++++++++++++++++++++++--------------------------- sys-utils/flock.1 | 44 +++++++++++++++++++++++-------------------- 3 files changed, 82 insertions(+), 70 deletions(-) commit 6e72fa5965d121812db5d0186b06fd988bb5699c Author: Benno Schulenberg Date: Tue Jul 15 23:07:37 2014 +0200 docs: bring a few more man pages closer to standard formatting Signed-off-by: Benno Schulenberg term-utils/mesg.1 | 43 ++++++++++++++++++++----------------------- term-utils/reset.1 | 4 ++-- term-utils/script.1 | 32 ++++++++++++++++---------------- term-utils/scriptreplay.1 | 12 ++++++------ term-utils/setterm.1 | 2 +- term-utils/wall.1 | 8 ++++---- term-utils/write.1 | 7 ++++--- 7 files changed, 53 insertions(+), 55 deletions(-) commit 07990fdcd4e71ebc5a6a0029a183ad58d8b7b209 Author: Benno Schulenberg Date: Tue Jul 15 23:07:36 2014 +0200 docs: bring several man pages closer to standard formatting Signed-off-by: Benno Schulenberg text-utils/col.1 | 31 ++++++++++++++----------------- text-utils/colcrt.1 | 9 ++++++--- text-utils/column.1 | 27 ++++++++++++++------------- text-utils/hexdump.1 | 8 +++++++- text-utils/pg.1 | 34 +++++++++++++++++----------------- text-utils/rev.1 | 5 +++-- text-utils/tailf.1 | 19 +++++++++---------- text-utils/ul.1 | 14 +++++++------- 8 files changed, 77 insertions(+), 70 deletions(-) commit bdba3fd9b503041c50f3a4bdcc1852b7f57cd786 Author: Karel Zak Date: Wed Jul 16 11:25:03 2014 +0200 lslogins: make --notruncate more robust - keep coldescs[] read-only - don't expect that only COL_GECOS uses truncate flag Signed-off-by: Karel Zak login-utils/lslogins.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit 4b6ae07123ce4ad3fbcf381db7961195f47f577c Author: Karel Zak Date: Wed Jul 16 11:19:09 2014 +0200 lslogins: add --noheadings That's fatal mistake that this option which is required for script is missing. Signed-off-by: Karel Zak login-utils/lslogins.1 | 3 +++ login-utils/lslogins.c | 18 ++++++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) commit 37019cbc27f26c8800019a8f2f358f014d6f1120 Author: Karel Zak Date: Wed Jul 16 11:04:53 2014 +0200 lslogins: use bit-array, cleanup SELinux code Signed-off-by: Karel Zak login-utils/lslogins.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit 2ddfd9e4247dbf5fa40acdacbee5d9b266b31ef6 Author: Benno Schulenberg Date: Mon Jul 14 22:53:36 2014 +0200 cfdisk: restore the license that was lost in January Signed-off-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/cfdisk.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 08626e33d471fe3ff662c06360925340f92c9c35 Author: Benno Schulenberg Date: Mon Jul 14 22:53:35 2014 +0200 docs: mount -o nouser is not useful, be clearer about that Signed-off-by: Benno Schulenberg sys-utils/mount.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9bef99ccb19d398d6dac08287f2c834c07f53212 Author: Benno Schulenberg Date: Mon Jul 14 22:53:34 2014 +0200 docs: improve wording and formatting of the man page of cfdisk Signed-off-by: Benno Schulenberg disk-utils/cfdisk.8 | 82 +++++++++++++++++++++++++++++------------------------ 1 file changed, 45 insertions(+), 37 deletions(-) commit 558445c93d4b7b2f4cc5bcb80ed13c83bebd02c1 Author: Sami Kerola Date: Mon Jul 14 18:52:05 2014 +0100 tests: add kill --queue check Correction. The final failure to catch signal exit should not use exiter() function. --->8---- From: Sami Kerola Date: Mon, 14 Jul 2014 18:35:56 +0100 Subject: [PATCH] tests: add kill --queue check Signed-off-by: Sami Kerola tests/expected/kill/queue | 1 + tests/helpers/test_sigreceive.c | 17 +++++++++---- tests/ts/kill/options | 2 -- tests/ts/kill/queue | 53 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 7 deletions(-) commit 33f7c502c62c7e0ed5362c352d6f43a61d159b7f Author: Karel Zak Date: Tue Jul 15 13:12:23 2014 +0200 cfdisk: fix warning usage, improve 's' help Signed-off-by: Karel Zak disk-utils/cfdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bfdb3244e3e5cb522ed029ba3c9c434433288a79 Author: Karel Zak Date: Tue Jul 15 13:01:56 2014 +0200 cfdisk: accept 's' as well as 'S' for sectors Reported-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/cfdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad5d45c046583aa9aa7bb2fb09185f7aa08b4270 Author: Karel Zak Date: Tue Jul 15 12:41:30 2014 +0200 cfdisk: make menus sensitive to ESC Reported-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/cfdisk.c | 2 ++ 1 file changed, 2 insertions(+) commit 8fc37981cf15868c70d58594c4878e73283e3155 Author: Karel Zak Date: Tue Jul 15 12:32:38 2014 +0200 cfdisk: use \n for messages on stdout and stderr Reported-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/cfdisk.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit bc787727d4a114d5f8926fb9c22fb11c40d1d8c0 Author: Karel Zak Date: Tue Jul 15 12:28:16 2014 +0200 libfdisk: make disk sync() optional ... this allows to avoid unnecessary sync() from cfdisk. Reported-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/cfdisk.c | 5 ++++- disk-utils/fdisk-menu.c | 2 +- libfdisk/src/context.c | 19 ++++++++++++------- libfdisk/src/libfdisk.h | 2 +- 4 files changed, 18 insertions(+), 10 deletions(-) commit 993fdba0861db11f7c7b566d5baceb1f9785c488 Author: Benno Schulenberg Date: Mon Jul 14 11:03:01 2014 +0200 docs: fix name and URL of 2.25-rc1 Signed-off-by: Benno Schulenberg NEWS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0dc5e9ba037784cfa76d309288f09f78db4ea0c0 Author: Benno Schulenberg Date: Mon Jul 14 11:03:00 2014 +0200 libmount: adjust the ordering of a #define and tweak some comments Signed-off-by: Benno Schulenberg libmount/src/libmount.h.in | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) commit 3711f11307fdf2842c54fcbb8491ef9e9c65f308 Author: Benno Schulenberg Date: Mon Jul 14 11:02:59 2014 +0200 docs: many tiny formatting and wording improvements to man page of mount Signed-off-by: Benno Schulenberg sys-utils/mount.8 | 985 +++++++++++++++++++++++++++--------------------------- 1 file changed, 490 insertions(+), 495 deletions(-) commit 1f94a78ce8962fbc9cacd0eb7be220dc0a8e3201 Author: Benno Schulenberg Date: Mon Jul 14 11:02:58 2014 +0200 docs: improve formatting and wording of a few man pages Signed-off-by: Benno Schulenberg lib/terminal-colors.d.5 | 64 ++++++++++++++-------------- sys-utils/prlimit.1 | 108 ++++++++++++++++++++++++------------------------ sys-utils/swapon.8 | 72 ++++++++++++++++---------------- text-utils/hexdump.1 | 23 ++++++----- 4 files changed, 134 insertions(+), 133 deletions(-) commit 7d78e9880a399d5939194296ff7cc4dd5c69c523 Author: Benno Schulenberg Date: Mon Jul 14 11:02:57 2014 +0200 build-sys: exclude Documentation/ from looking for translatable strings Signed-off-by: Benno Schulenberg po/update-potfiles | 1 + 1 file changed, 1 insertion(+) commit 36a3cd56abac1f2a8f60b26e7aefc1e5b0ead05f Author: Benno Schulenberg Date: Wed Jul 9 15:29:09 2014 +0200 textual: fix the usage message of kill Using angular brackets around each individual argument, indenting a continuation line, not using a space before =, improving some wordings, and the argument of --queue is a value (a piece of data), not a signal. Signed-off-by: Benno Schulenberg misc-utils/kill.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 2fa32bea49992d5adeac2a37a42e97241ee73439 Merge: 89c80bd 4e6604e Author: Karel Zak Date: Mon Jul 14 16:03:48 2014 +0200 Merge branch 'minor-fixes' of git://github.com/kerolasa/lelux-utiliteetit * 'minor-fixes' of git://github.com/kerolasa/lelux-utiliteetit: lscpu: avoid double free libsmartcols: avoid variable dereference after release libfdisk: do not do the same thing twice in single if statement whereis: avoid printing uninitialized string setpriv: avoid alloca() use xmalloc() instead dmesg: avoid unnecessary variable assignment fdisk: avoid code duplication mkfs.cramfs: use defined failure name rather than magic value fdformat: match variable and print format types cfdisk: add braces to ensure operation order lscpu: avoid use of bzero() in favor of memset() setterm: remove unnecessary variable cal: remove unnused structure and definition textual: fix some typos commit 89c80bd25aabd38cbd66421d64a4c898ebc7eafe Author: Andreas Henriksson Date: Fri Jul 11 15:08:41 2014 +0200 uuidd.rc: Requires remote_fs The Debian package checking tool lintian thinks that the script is missing Requires on $remote_fs because it pokes at stuff under /usr and it's probably right. Signed-off-by: Andreas Henriksson misc-utils/uuidd.rc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 928601e6307479de6929ac8e1f1c90750111f0b4 Author: Andreas Henriksson Date: Fri Jul 11 15:08:40 2014 +0200 uuidd.rc: drop on-demand mode from script The on-demand mode was dropped from libuuid in commit ea4f8845f0241c7 "libuuid: don't exec uuidd" You now need systemd (socket activation) to use uuidd on demand. Signed-off-by: Andreas Henriksson misc-utils/uuidd.rc.in | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit a3443c3067027e0155a8135d13a6205528b48cd5 Author: Sami Kerola Date: Wed Jul 9 21:49:03 2014 +0100 kill: use --queue option argument as sigval integer value The sigqueue(3) takes two values, signal and sigval. Contents of the signal can be altered with --signal option argument, so the --queue argument should be reserved to affect sigval_int. This is regression fix introduced by commit 9e8dffd5cd29f03029b1ac99eecb129532ca5c0f. Reference: http://man7.org/linux/man-pages/man3/sigqueue.3.html Reported-by: Benno Schulenberg Signed-off-by: Sami Kerola misc-utils/kill.c | 4 +--- tests/ts/kill/options | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) commit bdef457d34183eb1d8152a6c3950ebfa93986e84 Author: Benno Schulenberg Date: Wed Jul 9 17:20:10 2014 +0200 build-sys: improve the informative message when not building some util Signed-off-by: Benno Schulenberg m4/ul.m4 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 8309826200b41a0fe6023c9278f07f9960062f7c Author: Benno Schulenberg Date: Wed Jul 9 15:29:10 2014 +0200 docs: fix many wording and some formatting issues in the man page of kill Also, add the most-used form of '-signal' to the synopsis. Signed-off-by: Benno Schulenberg misc-utils/kill.1 | 100 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 52 insertions(+), 48 deletions(-) commit 8a112182134f300775d10d580a0ee9fa2bad0a13 Author: Andreas Henriksson Date: Wed Jul 9 14:09:34 2014 +0200 whereis: fix missing newline on empty results Running "whereis foo.bar.quux" previously resulted in printing the "foo.bar:" pattern prefix without any newline following it. Signed-off-by: Andreas Henriksson misc-utils/whereis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7c2cfb18964b00881e65c461742af9038bd5b287 Author: Karel Zak Date: Mon Jul 14 14:53:41 2014 +0200 libfdisk: make first sector buffer usage more robust $ ~/util-linux/fdisk -b 4096 xxx .. Segmentation fault The buffer has to be reinitialized always when we apply a new device properties (e.g. sector size). Reported-by: Bernhard Voelker Signed-off-by: Karel Zak libfdisk/src/alignment.c | 5 +++-- libfdisk/src/context.c | 1 + libfdisk/src/dos.c | 5 ++++- libfdisk/src/fdiskP.h | 4 +++- libfdisk/src/gpt.c | 5 ++++- libfdisk/src/sgi.c | 6 +++++- libfdisk/src/sun.c | 6 +++++- libfdisk/src/utils.c | 41 ++++++++++++++++++++++++++++------------- 8 files changed, 53 insertions(+), 20 deletions(-) commit 4e6604e51a5460653cd1189c51f5935ae0cde550 Author: Sami Kerola Date: Sun Jul 13 18:30:32 2014 +0100 lscpu: avoid double free The double free was possible for architectures other than x86_64 or i386. Signed-off-by: Sami Kerola sys-utils/lscpu-dmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b697fc994aac21ba0ccc8658fc6a3f9fdfdd096b Author: Sami Kerola Date: Sun Jul 13 18:23:44 2014 +0100 libsmartcols: avoid variable dereference after release Signed-off-by: Sami Kerola libsmartcols/src/line.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 99cacc6adf201c17866d032842b4390d6b7eb33a Author: Sami Kerola Date: Sun Jul 13 18:16:35 2014 +0100 libfdisk: do not do the same thing twice in single if statement The second argument was very likely meant to be 'be->offset'. Maintainers review & sign-off will further verify this change being correct. Signed-off-by: Sami Kerola libfdisk/src/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46ed18361327845670316ecc6ab13afba7cceb43 Author: Sami Kerola Date: Sun Jul 13 18:13:38 2014 +0100 whereis: avoid printing uninitialized string The patbuf[] needs to be filled before print out. Signed-off-by: Sami Kerola misc-utils/whereis.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 7370501f60f1e7cc386c0f7d5b30eab1824cd613 Author: Sami Kerola Date: Sun Jul 13 17:58:36 2014 +0100 setpriv: avoid alloca() use xmalloc() instead The getgroups() can return up to NGROUPS_MAX supplementary groups, that is (since kernel 2.6.3) 65536 in total. The git_t is 4 bytes, so maximum request is 256 kilobytes. When a system happen to have memory preasure alloca() may not be able to allocate enough memory, making debugging unnecessarily difficult. IMHO 64 pages is significant enough amount of memory to be properly error checked at a time of allocation. Reference: http://www.gnu.org/software/libc/manual/html_node/Disadvantages-of-Alloca.html Signed-off-by: Sami Kerola sys-utils/setpriv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d9bdd89db1ae0e35d31adf0a21ed9c8e5badf0cf Author: Sami Kerola Date: Sun Jul 13 17:42:08 2014 +0100 dmesg: avoid unnecessary variable assignment Signed-off-by: Sami Kerola sys-utils/dmesg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit bbe67996ada5c9f689b650775ad5262081cf256e Author: Sami Kerola Date: Sun Jul 13 17:40:31 2014 +0100 fdisk: avoid code duplication To me having call to close() twice is less readable than one new variable. Signed-off-by: Sami Kerola disk-utils/fdisk.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 9cbf20040b2f8af98dcff0fc889208dde50e3dd4 Author: Sami Kerola Date: Sun Jul 13 17:36:33 2014 +0100 mkfs.cramfs: use defined failure name rather than magic value From manual page; 'On error, the value MAP_FAILED is returned, and errno is set appropriately'. Reference: http://man7.org/linux/man-pages/man2/mmap.2.html Signed-off-by: Sami Kerola disk-utils/mkfs.cramfs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 18b1fcb9cc62f4dd26eccd1c35f612ac6db1cd9b Author: Sami Kerola Date: Sun Jul 13 17:34:25 2014 +0100 fdformat: match variable and print format types Signed-off-by: Sami Kerola disk-utils/fdformat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3524452a71e6c08e49628b2fc37b450a529ead84 Author: Sami Kerola Date: Sun Jul 13 17:31:11 2014 +0100 cfdisk: add braces to ensure operation order Signed-off-by: Sami Kerola disk-utils/cfdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9dd2d497352da9727570ca5fd51d196cbe582be2 Author: Sami Kerola Date: Sun Jul 13 17:27:54 2014 +0100 lscpu: avoid use of bzero() in favor of memset() The bzero() is marked as LEGACY in POSIX.1-2001. Signed-off-by: Sami Kerola sys-utils/lscpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4636f0613de3d06e2a057d5d948fa85142758721 Author: Sami Kerola Date: Sun Jul 13 17:27:10 2014 +0100 setterm: remove unnecessary variable Signed-off-by: Sami Kerola term-utils/setterm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 34a7e101cc43463c8931b65e0f8b7b724aca25fc Author: Sami Kerola Date: Sun Jul 13 17:25:14 2014 +0100 cal: remove unnused structure and definition Signed-off-by: Sami Kerola misc-utils/cal.c | 5 ----- 1 file changed, 5 deletions(-) commit 0e65dcde88a73a009696ecdb5d779deea9dff8da Author: Sami Kerola Date: Sun Jul 13 17:17:51 2014 +0100 textual: fix some typos Found with misspell-check version 2.0d. Reference: https://github.com/lyda/misspell-check Signed-off-by: Sami Kerola lib/strutils.c | 2 +- libfdisk/src/partition.c | 2 +- libmount/src/tab.c | 2 +- libsmartcols/src/version.c | 2 +- login-utils/last.c | 2 +- sys-utils/fstrim.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)