Changes between v2.23-rc1 and v2.23-rc2 -------------------------------------------- commit e38f35d34e01d7db947216c2fed3d4e914b4ce7c Author: Karel Zak Date: Wed Apr 10 23:38:06 2013 +0200 build-sys: release++ (v2.23-rc2) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit ddaf270e080d2c6e1186ce4bfd6e0ffabab621b6 Author: Karel Zak Date: Wed Apr 10 23:36:46 2013 +0200 docs: update v2.23-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.23-ReleaseNotes | 151 +++++++++++++++++++++++++++++- 1 file changed, 150 insertions(+), 1 deletion(-) commit 0ff2e587ab03695b34935c72b4b955f3b48d7ee1 Author: Karel Zak Date: Wed Apr 10 23:34:23 2013 +0200 build-sys: make wall optional in bash-completion Signed-off-by: Karel Zak bash-completion/Makemodule.am | 1 - 1 file changed, 1 deletion(-) commit 8d6f0baee9035f4188e223ebb8b7c437e88a1ed4 Author: Karel Zak Date: Wed Apr 10 23:03:20 2013 +0200 build-sys: add --disable-fdformat Signed-off-by: Karel Zak bash-completion/Makemodule.am | 7 +++++-- configure.ac | 11 ++++++++++- disk-utils/Makemodule.am | 12 ++++++------ 3 files changed, 21 insertions(+), 9 deletions(-) commit 6acf31ac5c8bddaea304f94dfefe730f23bac89d Author: Karel Zak Date: Wed Apr 10 22:57:27 2013 +0200 build-sys: add --disable-hwclock Signed-off-by: Karel Zak configure.ac | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 834fc88cd40cb81e076dcb87628e6aac9ec43d0f Author: Karel Zak Date: Wed Apr 10 22:38:54 2013 +0200 build-sys: add --disable-bfs Signed-off-by: Karel Zak bash-completion/Makemodule.am | 5 ++++- configure.ac | 8 ++++++++ disk-utils/Makemodule.am | 2 ++ 3 files changed, 14 insertions(+), 1 deletion(-) commit 78cdc2541571aa4beb49345c58f78c6643913244 Author: Karel Zak Date: Wed Apr 10 22:27:31 2013 +0200 build-sys: add --disable-cytune Signed-off-by: Karel Zak bash-completion/Makemodule.am | 5 ++++- configure.ac | 9 +++++++++ sys-utils/Makemodule.am | 11 ++++++----- 3 files changed, 19 insertions(+), 6 deletions(-) commit dd97acfb656702ab4eed831b3fc45f32ac5cc030 Author: Karel Zak Date: Wed Apr 10 17:44:59 2013 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 1 + 1 file changed, 1 insertion(+) commit 8b4ccda12335ce595c91cc0f8ff5f89f9442e515 Author: Karel Zak Date: Wed Apr 10 17:43:19 2013 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 2016 ++++++++++++++++++++++++++--------------------- po/cs.po | 2263 +++++++++++++++++++++++++++++----------------------- po/da.po | 2095 ++++++++++++++++++++++++++---------------------- po/de.po | 2043 +++++++++++++++++++++++++---------------------- po/es.po | 2017 ++++++++++++++++++++++++++--------------------- po/et.po | 1888 +++++++++++++++++++++++++------------------- po/eu.po | 1932 +++++++++++++++++++++++++-------------------- po/fi.po | 2015 ++++++++++++++++++++++++++--------------------- po/fr.po | 2273 +++++++++++++++++++++++++++++----------------------- po/gl.po | 1881 ++++++++++++++++++++++++------------------- po/hr.po | 1864 ++++++++++++++++++++++++------------------- po/hu.po | 2096 ++++++++++++++++++++++++++---------------------- po/id.po | 2088 ++++++++++++++++++++++++++---------------------- po/it.po | 2018 ++++++++++++++++++++++++++--------------------- po/ja.po | 2050 +++++++++++++++++++++++++---------------------- po/nl.po | 2043 ++++++++++++++++++++++++++--------------------- po/pl.po | 2144 ++++++++++++++++++++++++++++--------------------- po/pt_BR.po | 2016 ++++++++++++++++++++++++++--------------------- po/ru.po | 2019 ++++++++++++++++++++++++++--------------------- po/sl.po | 2016 ++++++++++++++++++++++++++--------------------- po/sv.po | 2045 +++++++++++++++++++++++++---------------------- po/tr.po | 2016 ++++++++++++++++++++++++++--------------------- po/uk.po | 2145 ++++++++++++++++++++++++++++--------------------- po/util-linux.pot | 1855 ++++++++++++++++++++++++------------------- po/vi.po | 2277 ++++++++++++++++++++++++++++++----------------------- po/zh_CN.po | 1878 ++++++++++++++++++++++++------------------- po/zh_TW.po | 2091 ++++++++++++++++++++++++++---------------------- 27 files changed, 30537 insertions(+), 24547 deletions(-) commit 5d00280cdb5fae3ac54f1f1f8c7b7dd94749c1af Author: Karel Zak Date: Wed Apr 10 17:30:34 2013 +0200 blkid: use xalloc everywhere Signed-off-by: Karel Zak misc-utils/blkid.c | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) commit b46692cd436eab815ebda831ad62cec69298e7e3 Author: Karel Zak Date: Wed Apr 10 17:30:15 2013 +0200 tests: make line(1) optional Signed-off-by: Karel Zak tests/ts/misc/line | 4 ++++ 1 file changed, 4 insertions(+) commit 9b3a77246367d2991e5e31d4fafa5cfcc8f77bfc Author: Karel Zak Date: Wed Apr 10 17:16:28 2013 +0200 libblkid: remove duplicate includes Signed-off-by: Karel Zak libblkid/src/blkidP.h | 2 -- 1 file changed, 2 deletions(-) commit 2b88d3d72b6dde337ec7a3a437c74364f02b15ec Author: Karel Zak Date: Wed Apr 10 17:16:01 2013 +0200 lib/xalloc: add xstrndup() Signed-off-by: Karel Zak include/xalloc.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 78c70e23b5b533e2a48b0dc4bdf7d000ea918bb1 Author: Karel Zak Date: Wed Apr 10 15:26:10 2013 +0200 tests: update lscpu tests Signed-off-by: Karel Zak tests/expected/lscpu/lscpu-x86_64-64cpu | 1 + tests/expected/lscpu/lscpu-x86_64-dell_e4310 | 1 + 2 files changed, 2 insertions(+) commit 983a43e08b771c4c51cd869b3e88796c1f201cf8 Author: Karel Zak Date: Wed Apr 10 15:13:02 2013 +0200 libblkid: fix ZFS superblok offset for SBMAGIC # wipefs /dev/sdd1 offset type ---------------------------------------------------------------- 0x65000 zfs_member [raid] LABEL: zm1 UUID: 18067835215330778964 and "wipefs -o 0x65000 /dev/sdd1" seems to run in an endless loop. Reported-by: Helmut Hullen Signed-off-by: Karel Zak libblkid/src/superblocks/zfs.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 741fce3471fb3be26806cd3c2f1593a001a07c5c Author: Bernhard Voelker Date: Wed Apr 10 11:36:21 2013 +0200 bash-completion: add swapoff [kzak@redhat.com: remove short options] Signed-off-by: Bernhard Voelker Signed-off-by: Karel Zak bash-completion/swapoff | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit 1461094c142d4dbb6e4f6f477d763c498cb5ee19 Author: Karel Zak Date: Wed Apr 10 14:29:53 2013 +0200 lscpu: add Model name Signed-off-by: Karel Zak sys-utils/lscpu.c | 4 ++++ 1 file changed, 4 insertions(+) commit 49932ad8dbe2a792fec666e986038ac59a907ca7 Author: Karel Zak Date: Wed Apr 10 14:21:22 2013 +0200 su: remove '+' from getopt_long() # /bin/su - -c 'echo test' su: user -c does not exist Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=950495 Signed-off-by: Karel Zak login-utils/su-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 293714c0d157ae04d08bb587e800c70f05cc4a29 Author: Jeff Mahoney Date: Tue Apr 9 14:32:50 2013 +0200 loopdev: sync capacity after setting it I recently tried to mount an hfsplus file system from an image file with a partition table by using the loop offset and sizelimit options to specify the location of the file system. hfsplus stores some metadata at a set offset from the end of the partition, so it's sensitive to the device size reported by the kernel. It worked with this: But failed with this: /dev/loop0: [0089]:2 (), offset 32768, sizelimit 102400000 /dev/loop1: [0089]:2 (), offset 32768, sizelimit 102400000 /proc/partitions shows the correct number of blocks to match the sizelimit. But if I set a breakpoint in mount before the mount syscall, I could see: 102400000 102432768 The kernel loop driver will set the gendisk capacity of the device at LOOP_SET_STATUS64 but won't sync it to the block device until one of two conditions are met: All open file descriptors referring to the device are closed (and it will sync when re-opened) or if the LOOP_SET_CAPACITY ioctl is called to sync it. Since mount opens the device and passes it directly to the mount syscall after LOOP_SET_STATUS64 without closing and reopening it, the sizelimit argument is effectively ignroed. The capacity needs to be synced immediately for it to work as expected. This patch adds the LOOP_SET_CAPACITY call to loopctx_setup_device since the device isn't yet released to the user, so it's safe to sync the capacity immediately. [kzak@redhat.com: - port to the current git HEAD, - use uint64_t] Signed-off-by: Jeff Mahoney Signed-off-by: Karel Zak include/loopdev.h | 1 + lib/Makemodule.am | 2 +- lib/blkdev.c | 3 +- lib/loopdev.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++-- sys-utils/losetup.c | 19 +++--------- sys-utils/mount.8 | 16 ++++++++++ 6 files changed, 106 insertions(+), 21 deletions(-) commit 310f672874ed9d9c9b963f7a72e9edf3ea95de58 Author: Karel Zak Date: Tue Apr 9 13:12:15 2013 +0200 libblkid: export blkid_init_debug() Signed-off-by: Karel Zak libblkid/docs/libblkid-sections.txt | 5 ++++ libblkid/src/Makemodule.am | 1 + libblkid/src/blkid.h.in | 1 + libblkid/src/blkid.sym | 1 + libblkid/src/blkidP.h | 6 ++--- libblkid/src/cache.c | 23 ---------------- libblkid/src/init.c | 53 +++++++++++++++++++++++++++++++++++++ 7 files changed, 63 insertions(+), 27 deletions(-) commit 35cf827870c4777dc942873ef3eb658efa5b7351 Author: Karel Zak Date: Tue Apr 9 12:52:09 2013 +0200 libblkid: support LIBBLKID_DEBUG= only ... the BLKID_DEBUG= is not more supported. Signed-off-by: Karel Zak Documentation/releases/v2.23-ReleaseNotes | 3 +++ libblkid/src/cache.c | 3 --- tests/run.sh | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) commit 76041e708d7c1154a45585ebe11a939b3002cb49 Author: Karel Zak Date: Tue Apr 9 12:44:02 2013 +0200 libblkid: fix DBG() Signed-off-by: Karel Zak libblkid/src/blkidP.h | 11 +++++++---- tests/run.sh | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) commit 9c4040b0ae5f5b8a40f66bc741da8fcacbab7926 Author: Sami Kerola Date: Mon Apr 8 20:32:59 2013 +0100 docs: add fsck.cramfs manual page Signed-off-by: Sami Kerola disk-utils/Makemodule.am | 1 + disk-utils/fsck.cramfs.8 | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) commit 0ad2bacd889062abd075977b37540e38a4fffbaa Author: Sami Kerola Date: Mon Apr 8 20:32:58 2013 +0100 docs: add mkfs.cramfs manual page Signed-off-by: Sami Kerola disk-utils/Makemodule.am | 1 + disk-utils/mkfs.cramfs.8 | 90 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) commit eb7069693e39301a337c7a720b8f657385a10add Author: Sami Kerola Date: Mon Apr 8 20:32:57 2013 +0100 tools: make checkmans.sh to find missing manuals Finding missing manuals is loosely based on ideas in man-page-day-1.sh, wrote by Peter Schiffer. CC: Peter Schiffer Signed-off-by: Sami Kerola tools/checkmans.sh | 44 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 4 deletions(-) commit f014c1c259c30813baf255c6f43fd4a38241c6ac Author: Sami Kerola Date: Mon Apr 8 20:32:56 2013 +0100 docs: remove repeated words [checkmans.sh] Signed-off-by: Sami Kerola disk-utils/elvtune.8 | 2 +- libuuid/man/uuid_generate.3 | 2 +- sys-utils/cytune.8 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 9dd5ea62297af8c04d4bff42bf818efd3b91b6c5 Author: Sami Kerola Date: Mon Apr 8 20:32:55 2013 +0100 docs: col.1: fix manual page name section [checkmans.sh] $ lexgrog text-utils/col.1 text-utils/col.1: parse failed Signed-off-by: Sami Kerola text-utils/col.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 49c6c4f1e93f03f5c4b0b06887378e4c0a3e4081 Author: Sami Kerola Date: Mon Apr 8 20:32:54 2013 +0100 docs: mount.8: make propagation flags adjustable [checkmans.sh] Signed-off-by: Sami Kerola sys-utils/mount.8 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 12cc556bcae409665f084547cc4b0ebcc717e33f Author: Sami Kerola Date: Mon Apr 8 20:32:53 2013 +0100 tools: add checks to manual page test script This change includes - better way to detect manual page inclusion - man -k header test, which uses lexgrog - repeated word detection - static declaration to known repeated words Most of the changes are based on man-page-day-1.sh, that is in use at RedHat Quality Assurance, and wrote by Peter Schiffer. CC: Peter Schiffer Signed-off-by: Sami Kerola tools/checkmans.sh | 98 +++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 74 insertions(+), 24 deletions(-) commit 604ba9734f4e4c0f567884e8546a4c546162400f Author: Sami Kerola Date: Mon Apr 8 20:32:52 2013 +0100 libblkid: number of functions should not be declared extern [smatch scan] These functions are already marked extern in header file. libblkid/src/dev.c:70:19: warning: function 'blkid_dev_devname' with external linkage has definition libblkid/src/dev.c:128:26: warning: function 'blkid_dev_iterate_begin' with external linkage has definition libblkid/src/dev.c:148:12: warning: function 'blkid_dev_set_search' with external linkage has definition libblkid/src/dev.c:175:12: warning: function 'blkid_dev_next' with external linkage has definition libblkid/src/dev.c:196:13: warning: function 'blkid_dev_iterate_end' with external linkage has definition libblkid/src/tag.c:84:12: warning: function 'blkid_dev_has_tag' with external linkage has definition libblkid/src/tag.c:282:26: warning: function 'blkid_tag_iterate_begin' with external linkage has definition libblkid/src/tag.c:303:12: warning: function 'blkid_tag_next' with external linkage has definition libblkid/src/tag.c:322:13: warning: function 'blkid_tag_iterate_end' with external linkage has definition libblkid/src/tag.c:336:18: warning: function 'blkid_find_dev_with_tag' with external linkage has definition Signed-off-by: Sami Kerola libblkid/src/dev.c | 10 +++++----- libblkid/src/tag.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) commit 9e01635e326c787059e5c1b83b5fbb9dddd67275 Author: Sami Kerola Date: Mon Apr 8 20:32:51 2013 +0100 libmount, col: remove redundant null checks [smatch scan] libmount/src/context_umount.c:174 mnt_context_find_umount_fs() info: redundant null check on loopdev calling free() libmount/src/context_umount.c:179 mnt_context_find_umount_fs() info: redundant null check on loopdev calling free() text-utils/col.c:406 flush_lines() info: redundant null check on l->l_line calling free() Signed-off-by: Sami Kerola libmount/src/context_umount.c | 6 ++---- text-utils/col.c | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) commit c9f63764dcc3880201d11489a655f6d4be92f641 Author: Sami Kerola Date: Mon Apr 8 20:32:50 2013 +0100 various: fix shadow declarations [smatch scan] libmount/src/tab.c:990:34: warning: symbol 'fs' shadows an earlier one libmount/src/tab.c:970:26: originally declared here misc-utils/findmnt.c:492:30: warning: symbol 'tmp' shadows an earlier one misc-utils/findmnt.c:473:14: originally declared here fdisks/fdiskdoslabel.c:211:36: warning: symbol 'pe' shadows an earlier one fdisks/fdiskdoslabel.c:180:20: originally declared here fdisks/fdiskdoslabel.c:639:34: warning: symbol 'i' shadows an earlier one fdisks/fdiskdoslabel.c:578:16: originally declared here fdisks/fdiskdoslabel.c:947:21: warning: symbol 'i' shadows an earlier one fdisks/fdiskdoslabel.c:924:16: originally declared here fdisks/fdiskdoslabel.c:976:29: warning: symbol 'i' shadows an earlier one fdisks/fdiskdoslabel.c:924:16: originally declared here fdisks/fdiskdoslabel.c:984:29: warning: symbol 'i' shadows an earlier one fdisks/fdiskdoslabel.c:924:16: originally declared here [kzak@redhat.com: - don't use local 'tmp' in findmnt.c] Signed-off-by: Sami Kerola Signed-off-by: Karel Zak fdisks/fdiskdoslabel.c | 38 +++++++++++++++++++------------------- libmount/src/tab.c | 8 ++++---- misc-utils/findmnt.c | 1 - 3 files changed, 23 insertions(+), 24 deletions(-) commit 3acc206d39de38f7d78008950cd030fceb125ff0 Author: Sami Kerola Date: Mon Apr 8 20:32:49 2013 +0100 various: fix variable and function declarations [smatch scan] disk-utils/fsck.minix.c:511:9: warning: mixing declarations and code fdisks/sfdisk.c:982:5: warning: mixing declarations and code fdisks/sfdisk.c:1254:5: warning: mixing declarations and code fdisks/sfdisk.c:1564:5: warning: mixing declarations and code lib/mbsalign.c:279:7: warning: mixing declarations and code libblkid/src/devname.c:378:17: warning: mixing declarations and code libfdisk/src/alignment.c:219:9: warning: mixing declarations and code term-utils/wall.c:111:9: warning: mixing declarations and code text-utils/col.c:418:19: warning: non-ANSI function declaration of function 'flush_blanks' text-utils/col.c:553:12: warning: non-ANSI function declaration of function 'alloc_line' text-utils/rev.c:105:9: warning: mixing declarations and code text-utils/tailf.c:245:9: warning: mixing declarations and code Signed-off-by: Sami Kerola disk-utils/fsck.minix.c | 3 ++- fdisks/sfdisk.c | 8 ++++---- lib/mbsalign.c | 4 ++-- libblkid/src/devname.c | 6 +++--- libfdisk/src/alignment.c | 5 +++-- term-utils/wall.c | 10 +++++----- text-utils/col.c | 4 ++-- text-utils/rev.c | 12 ++++++------ text-utils/tailf.c | 10 +++++----- 9 files changed, 32 insertions(+), 30 deletions(-) commit a6f5836264e82b2b9421b671bac6bc7fd841b02d Author: Sami Kerola Date: Mon Apr 8 20:32:48 2013 +0100 bash-completion: swapon: add options and fix argument The initial bash-completion missed swapon options -L and -U. Use of block device was proposed to be more appropriate than a path to a file. Requested-by: Karel Zak References: http://marc.info/?l=util-linux-ng&m=136517310727426&w=2 Signed-off-by: Sami Kerola bash-completion/swapon | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit 6ad488cca9e3dbb7c2e99b578171733e18876404 Author: Sami Kerola Date: Mon Apr 8 20:32:47 2013 +0100 bash-completion: setarch: use correct list for architectures Signed-off-by: Sami Kerola bash-completion/setarch | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 69d00b75df659fa8ef13a36e07fe8d054d3a9800 Author: Sami Kerola Date: Mon Apr 8 20:32:46 2013 +0100 setarch: clean up usage() Requested-by: Karel Zak References: http://marc.info/?l=util-linux-ng&m=136516351523680&w=2 Signed-off-by: Sami Kerola sys-utils/setarch.c | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) commit 0540ea544d4b459bc148d29645225190b76ca8b7 Author: Karel Zak Date: Mon Apr 8 18:22:13 2013 +0200 libblkid: clean up DBG() - use stderr only - use BLKID_ prefix for debug masks - don't use \n in in messages and don't use printf(), but use generic blkid_debug(). Signed-off-by: Karel Zak libblkid/src/blkidP.h | 46 +++++++++++------- libblkid/src/cache.c | 43 ++++------------- libblkid/src/config.c | 23 ++++----- libblkid/src/dev.c | 21 ++++---- libblkid/src/devname.c | 42 ++++++++-------- libblkid/src/devno.c | 15 +++--- libblkid/src/evaluate.c | 26 ++++------ libblkid/src/partitions/bsd.c | 16 +++---- libblkid/src/partitions/dos.c | 6 +-- libblkid/src/partitions/gpt.c | 22 ++++----- libblkid/src/partitions/mac.c | 4 +- libblkid/src/partitions/minix.c | 4 +- libblkid/src/partitions/partitions.c | 67 +++++++++++--------------- libblkid/src/partitions/sgi.c | 4 +- libblkid/src/partitions/solaris_x86.c | 8 ++-- libblkid/src/partitions/sun.c | 7 ++- libblkid/src/partitions/unixware.c | 4 +- libblkid/src/probe.c | 85 ++++++++++++++------------------- libblkid/src/read.c | 37 +++++++------- libblkid/src/resolve.c | 7 ++- libblkid/src/save.c | 30 +++++------- libblkid/src/superblocks/btrfs.c | 2 +- libblkid/src/superblocks/ext.c | 2 +- libblkid/src/superblocks/lvm.c | 3 +- libblkid/src/superblocks/ntfs.c | 4 +- libblkid/src/superblocks/silicon_raid.c | 2 +- libblkid/src/superblocks/superblocks.c | 24 ++++------ libblkid/src/superblocks/vfat.c | 8 ++-- libblkid/src/superblocks/zfs.c | 4 +- libblkid/src/tag.c | 18 ++++--- libblkid/src/topology/dm.c | 9 ++-- libblkid/src/topology/lvm.c | 9 ++-- libblkid/src/topology/topology.c | 14 ++---- libblkid/src/verify.c | 23 ++++----- 34 files changed, 278 insertions(+), 361 deletions(-) commit e6d2618786e6d73367b3bf7ef2470c444ee2c6ce Author: Ville Skyttä Date: Sun Apr 7 11:56:12 2013 +0300 bash-completion: Symlink runuser symlink to su so it gets loaded on demand. Signed-off-by: Ville Skyttä Signed-off-by: Karel Zak [kzak@redhat.com: - use '-runuser' in the install hook - use the hook only if runuser is enabled] bash-completion/Makemodule.am | 7 +++++++ 1 file changed, 7 insertions(+) commit 0d5b9b8ab109200311ffb211535a999b57a4673e Author: Ville Skyttä Date: Sun Apr 7 11:12:08 2013 +0300 bash-completion: Don't offer short options where corresponding long one exists. Users who know the short options can just hit the short option instead of tab, and it's not likely that it would be helpful to present a list of single character options to users who don't know them, doing so just unnecessarily trashes the list of suggestions. Signed-off-by: Ville Skyttä bash-completion/addpart | 2 +- bash-completion/blkdiscard | 2 +- bash-completion/cal | 2 +- bash-completion/chcpu | 16 ++++++------ bash-completion/chfn | 2 +- bash-completion/chrt | 24 +++++++++--------- bash-completion/chsh | 2 +- bash-completion/col | 16 ++++++------ bash-completion/colcrt | 8 +++--- bash-completion/colrm | 2 +- bash-completion/column | 14 +++++------ bash-completion/cytune | 20 +++++++-------- bash-completion/delpart | 2 +- bash-completion/dmesg | 48 ++++++++++++++++++------------------ bash-completion/eject | 40 +++++++++++++++--------------- bash-completion/fallocate | 2 +- bash-completion/fdformat | 2 +- bash-completion/findmnt | 58 ++++++++++++++++++++++---------------------- bash-completion/flock | 20 +++++++-------- bash-completion/fsck.cramfs | 2 +- bash-completion/fsck.minix | 2 +- bash-completion/fsfreeze | 2 +- bash-completion/fstrim | 2 +- bash-completion/getopt | 2 +- bash-completion/hwclock | 46 +++++++++++++++++------------------ bash-completion/ionice | 2 +- bash-completion/ipcrm | 20 +++++++-------- bash-completion/ipcs | 28 ++++++++++----------- bash-completion/isosize | 2 +- bash-completion/ldattach | 24 +++++++++--------- bash-completion/logger | 2 +- bash-completion/look | 2 +- bash-completion/losetup | 32 ++++++++++++------------ bash-completion/lsblk | 40 +++++++++++++++--------------- bash-completion/lscpu | 18 +++++++------- bash-completion/lslocks | 14 +++++------ bash-completion/mcookie | 2 +- bash-completion/mesg | 2 +- bash-completion/mkfs | 2 +- bash-completion/mkfs.bfs | 2 +- bash-completion/mkswap | 2 +- bash-completion/mountpoint | 2 +- bash-completion/namei | 2 +- bash-completion/newgrp | 2 +- bash-completion/nsenter | 24 +++++++++--------- bash-completion/partx | 2 +- bash-completion/prlimit | 46 +++++++++++++++++------------------ bash-completion/raw | 2 +- bash-completion/readprofile | 24 +++++++++--------- bash-completion/rename | 2 +- bash-completion/renice | 12 ++++----- bash-completion/resizepart | 2 +- bash-completion/rev | 2 +- bash-completion/rtcwake | 20 +++++++-------- bash-completion/script | 18 +++++++------- bash-completion/scriptreplay | 10 ++++---- bash-completion/setarch | 30 +++++++++++------------ bash-completion/setpriv | 8 +++--- bash-completion/setsid | 2 +- bash-completion/sfdisk | 50 +++++++++++++++++++------------------- bash-completion/su | 21 ++++++++-------- bash-completion/swaplabel | 2 +- bash-completion/swapon | 26 ++++++++++---------- bash-completion/tailf | 2 +- bash-completion/taskset | 2 +- bash-completion/tunelp | 26 ++++++++++---------- bash-completion/ul | 2 +- bash-completion/unshare | 16 ++++++------ bash-completion/utmpdump | 2 +- bash-completion/uuidd | 2 +- bash-completion/uuidgen | 2 +- bash-completion/wall | 2 +- bash-completion/wdctl | 24 +++++++++--------- bash-completion/wipefs | 2 +- 74 files changed, 461 insertions(+), 462 deletions(-) commit 58c41e15b360eb6c873818150e68c900927b62cf Author: Ville Skyttä Date: Sun Apr 7 11:12:07 2013 +0300 Spelling fixes. Signed-off-by: Ville Skyttä Documentation/TODO | 2 +- libfdisk/src/context.c | 4 ++-- libmount/src/context_mount.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 0e85c43dd8f1a9ca6f1b8c5a14739274f154e622 Author: Ville Skyttä Date: Sun Apr 7 11:12:06 2013 +0300 uuidd.8: Document --debug and --quiet long options. Signed-off-by: Ville Skyttä misc-utils/uuidd.8.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d6b975ef4492543fb1d31709906193b3ae01d574 Author: Ville Skyttä Date: Sun Apr 7 11:12:05 2013 +0300 bash-completion: Avoid some unnecessary subshells. Signed-off-by: Ville Skyttä bash-completion/findmnt | 2 +- bash-completion/flock | 2 +- bash-completion/ionice | 4 ++-- bash-completion/logger | 2 +- bash-completion/renice | 2 +- bash-completion/setterm | 10 +++++----- bash-completion/swapon | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) commit d4f9b8d74c5110c6ee92483facd7a0d94a1a9e57 Author: Ville Skyttä Date: Sun Apr 7 11:12:04 2013 +0300 bash-completion: Don't offer any more completions after help or version. Signed-off-by: Ville Skyttä bash-completion/blkdiscard | 3 +++ bash-completion/blkid | 3 +++ bash-completion/cal | 8 +++++++- bash-completion/cfdisk | 3 +++ bash-completion/chcpu | 3 +++ bash-completion/chfn | 8 +++++++- bash-completion/chrt | 8 +++++++- bash-completion/chsh | 3 +++ bash-completion/col | 3 +++ bash-completion/colcrt | 8 +++++++- bash-completion/colrm | 8 +++++++- bash-completion/column | 3 +++ bash-completion/ctrlaltdel | 10 ++++++++-- bash-completion/cytune | 3 +++ bash-completion/delpart | 5 +++++ bash-completion/dmesg | 3 +++ bash-completion/eject | 3 +++ bash-completion/fallocate | 3 +++ bash-completion/fdformat | 8 +++++++- bash-completion/fdisk | 3 +++ bash-completion/findmnt | 3 +++ bash-completion/flock | 3 +++ bash-completion/fsck | 3 +++ bash-completion/fsck.cramfs | 3 +++ bash-completion/fsck.minix | 8 +++++++- bash-completion/fsfreeze | 8 +++++++- bash-completion/fstrim | 3 +++ bash-completion/getopt | 3 +++ bash-completion/hexdump | 3 +++ bash-completion/hwclock | 3 +++ bash-completion/ionice | 3 +++ bash-completion/ipcrm | 3 +++ bash-completion/ipcs | 3 +++ bash-completion/isosize | 3 +++ bash-completion/ldattach | 3 +++ bash-completion/logger | 3 +++ bash-completion/look | 3 +++ bash-completion/losetup | 3 +++ bash-completion/lsblk | 3 +++ bash-completion/lscpu | 3 +++ bash-completion/lslocks | 4 +++- bash-completion/mcookie | 3 +++ bash-completion/mesg | 8 +++++++- bash-completion/mkfs | 3 +++ bash-completion/mkfs.bfs | 3 +++ bash-completion/mkfs.cramfs | 3 +++ bash-completion/mkfs.minix | 3 +++ bash-completion/mkswap | 2 +- bash-completion/more | 8 +++++++- bash-completion/mountpoint | 3 +++ bash-completion/namei | 6 ++++++ bash-completion/newgrp | 6 ++++++ bash-completion/nsenter | 3 +++ bash-completion/partx | 3 +++ bash-completion/pg | 3 +++ bash-completion/pivot_root | 8 +++++++- bash-completion/prlimit | 3 +++ bash-completion/raw | 8 +++++++- bash-completion/readprofile | 3 +++ bash-completion/rename | 6 ++++++ bash-completion/renice | 3 +++ bash-completion/resizepart | 6 ++++++ bash-completion/rev | 8 +++++++- bash-completion/rtcwake | 3 +++ bash-completion/script | 3 +++ bash-completion/scriptreplay | 3 +++ bash-completion/setarch | 8 +++++++- bash-completion/setpriv | 3 +++ bash-completion/setsid | 8 +++++++- bash-completion/setterm | 3 +++ bash-completion/sfdisk | 3 +++ bash-completion/su | 3 +++ bash-completion/swaplabel | 3 +++ bash-completion/swapon | 3 +++ bash-completion/tailf | 3 +++ bash-completion/taskset | 3 +++ bash-completion/tunelp | 3 +++ bash-completion/ul | 3 +++ bash-completion/unshare | 8 +++++++- bash-completion/utmpdump | 6 ++++++ bash-completion/uuidd | 3 +++ bash-completion/uuidgen | 8 +++++++- bash-completion/wall | 3 +++ bash-completion/wdctl | 3 +++ bash-completion/whereis | 3 +++ bash-completion/wipefs | 4 +++- bash-completion/write | 8 +++++++- 87 files changed, 353 insertions(+), 23 deletions(-) commit 2885c533fd11cb91ddd5dae17ed93b4de363496b Author: Karel Zak Date: Mon Apr 8 16:39:59 2013 +0200 logger: make socket initialization in main() more readable Signed-off-by: Karel Zak misc-utils/logger.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 68265d070d3041d16ab074ba25c610d6ef6c842e Author: Sami Kerola Date: Fri Apr 5 21:17:24 2013 +0100 logger: allow to log using tcp transport protocol This commit fixes error in usage() text, which claimed TCP is default transport protocol. That was not true, and neither it should be. The syslog messages has traditionally sent using UDP. For the logger remains using UDP as first transport, but if it fails a TCP connection is attempted. If an user wishes remote logging can be forced to use either UDP or TCP. The service port for UDP is familiar 'syslog', for TCP the port 'syslog-conn' seems like reasonable default. [kzak@redhat.com: - rename myopenlog to unix_socket(), - always reset st to -1] Signed-off-by: Sami Kerola Signed-off-by: Karel Zak misc-utils/logger.1 | 37 +++++++++----- misc-utils/logger.c | 138 +++++++++++++++++++++++++++++++++------------------- 2 files changed, 113 insertions(+), 62 deletions(-) commit e442ab76b5483fb844c98df0faf2d69a303b7bb6 Author: Karel Zak Date: Mon Apr 8 13:32:16 2013 +0200 fsfreeze: add note about atime to the man page Signed-off-by: Karel Zak sys-utils/fsfreeze.8 | 5 +++++ 1 file changed, 5 insertions(+) commit ece777e9de4abe3256cef3b6e6278056da3efef7 Author: Karel Zak Date: Fri Apr 5 15:54:31 2013 +0200 build-sys: add --disable-bash-completion Signed-off-by: Karel Zak bash-completion/Makemodule.am | 4 ++++ configure.ac | 7 +++++++ 2 files changed, 11 insertions(+) commit 20da58084a68b118b15fa01228192463b61fa28f Author: Karel Zak Date: Fri Apr 5 14:58:07 2013 +0200 bash-completion: rename shell-completion -> bash-completion Signed-off-by: Karel Zak Makefile.am | 2 +- bash-completion/Makemodule.am | 248 +++++++++++++++++++++++++++++++++++++++++ bash-completion/addpart | 25 +++++ bash-completion/blkdiscard | 25 +++++ bash-completion/blkid | 64 +++++++++++ bash-completion/blockdev | 44 ++++++++ bash-completion/cal | 15 +++ bash-completion/cfdisk | 35 ++++++ bash-completion/chcpu | 44 ++++++++ bash-completion/chfn | 16 +++ bash-completion/chrt | 32 ++++++ bash-completion/chsh | 23 ++++ bash-completion/col | 24 ++++ bash-completion/colcrt | 20 ++++ bash-completion/colrm | 23 ++++ bash-completion/column | 34 ++++++ bash-completion/ctrlaltdel | 11 ++ bash-completion/cytune | 37 ++++++ bash-completion/delpart | 23 ++++ bash-completion/dmesg | 53 +++++++++ bash-completion/eject | 61 ++++++++++ bash-completion/fallocate | 24 ++++ bash-completion/fdformat | 11 ++ bash-completion/fdisk | 47 ++++++++ bash-completion/findmnt | 121 ++++++++++++++++++++ bash-completion/flock | 42 +++++++ bash-completion/fsck | 36 ++++++ bash-completion/fsck.cramfs | 18 +++ bash-completion/fsck.minix | 11 ++ bash-completion/fsfreeze | 18 +++ bash-completion/fstrim | 25 +++++ bash-completion/getopt | 34 ++++++ bash-completion/hexdump | 32 ++++++ bash-completion/hwclock | 53 +++++++++ bash-completion/ionice | 34 ++++++ bash-completion/ipcrm | 59 ++++++++++ bash-completion/ipcs | 30 +++++ bash-completion/isosize | 17 +++ bash-completion/last | 38 +++++++ bash-completion/ldattach | 54 +++++++++ bash-completion/logger | 43 +++++++ bash-completion/look | 24 ++++ bash-completion/losetup | 64 +++++++++++ bash-completion/lsblk | 65 +++++++++++ bash-completion/lscpu | 45 ++++++++ bash-completion/lslocks | 43 +++++++ bash-completion/mcookie | 23 ++++ bash-completion/mesg | 16 +++ bash-completion/mkfs | 25 +++++ bash-completion/mkfs.bfs | 28 +++++ bash-completion/mkfs.cramfs | 40 +++++++ bash-completion/mkfs.minix | 33 ++++++ bash-completion/mkswap | 35 ++++++ bash-completion/more | 22 ++++ bash-completion/mountpoint | 24 ++++ bash-completion/namei | 17 +++ bash-completion/newgrp | 16 +++ bash-completion/nsenter | 44 ++++++++ bash-completion/partx | 38 +++++++ bash-completion/pg | 29 +++++ bash-completion/pivot_root | 14 +++ bash-completion/prlimit | 60 ++++++++++ bash-completion/raw | 17 +++ bash-completion/readprofile | 33 ++++++ bash-completion/rename | 27 +++++ bash-completion/renice | 38 +++++++ bash-completion/resizepart | 25 +++++ bash-completion/rev | 17 +++ bash-completion/rtcwake | 40 +++++++ bash-completion/script | 36 ++++++ bash-completion/scriptreplay | 28 +++++ bash-completion/setarch | 42 +++++++ bash-completion/setpriv | 82 ++++++++++++++ bash-completion/setsid | 17 +++ bash-completion/setterm | 113 +++++++++++++++++++ bash-completion/sfdisk | 79 +++++++++++++ bash-completion/su | 44 ++++++++ bash-completion/swaplabel | 28 +++++ bash-completion/swapon | 48 ++++++++ bash-completion/tailf | 24 ++++ bash-completion/taskset | 38 +++++++ bash-completion/tunelp | 48 ++++++++ bash-completion/ul | 29 +++++ bash-completion/unshare | 24 ++++ bash-completion/utmpdump | 17 +++ bash-completion/uuidd | 33 ++++++ bash-completion/uuidgen | 15 +++ bash-completion/wall | 24 ++++ bash-completion/wdctl | 60 ++++++++++ bash-completion/whereis | 24 ++++ bash-completion/wipefs | 32 ++++++ bash-completion/write | 22 ++++ shell-completion/Makemodule.am | 248 ----------------------------------------- shell-completion/addpart | 25 ----- shell-completion/blkdiscard | 25 ----- shell-completion/blkid | 64 ----------- shell-completion/blockdev | 44 -------- shell-completion/cal | 15 --- shell-completion/cfdisk | 35 ------ shell-completion/chcpu | 44 -------- shell-completion/chfn | 16 --- shell-completion/chrt | 32 ------ shell-completion/chsh | 23 ---- shell-completion/col | 24 ---- shell-completion/colcrt | 20 ---- shell-completion/colrm | 23 ---- shell-completion/column | 34 ------ shell-completion/ctrlaltdel | 11 -- shell-completion/cytune | 37 ------ shell-completion/delpart | 23 ---- shell-completion/dmesg | 53 --------- shell-completion/eject | 61 ---------- shell-completion/fallocate | 24 ---- shell-completion/fdformat | 11 -- shell-completion/fdisk | 47 -------- shell-completion/findmnt | 121 -------------------- shell-completion/flock | 42 ------- shell-completion/fsck | 36 ------ shell-completion/fsck.cramfs | 18 --- shell-completion/fsck.minix | 11 -- shell-completion/fsfreeze | 18 --- shell-completion/fstrim | 25 ----- shell-completion/getopt | 34 ------ shell-completion/hexdump | 32 ------ shell-completion/hwclock | 53 --------- shell-completion/ionice | 34 ------ shell-completion/ipcrm | 59 ---------- shell-completion/ipcs | 30 ----- shell-completion/isosize | 17 --- shell-completion/last | 38 ------- shell-completion/ldattach | 54 --------- shell-completion/logger | 43 ------- shell-completion/look | 24 ---- shell-completion/losetup | 64 ----------- shell-completion/lsblk | 65 ----------- shell-completion/lscpu | 45 -------- shell-completion/lslocks | 43 ------- shell-completion/mcookie | 23 ---- shell-completion/mesg | 16 --- shell-completion/mkfs | 25 ----- shell-completion/mkfs.bfs | 28 ----- shell-completion/mkfs.cramfs | 40 ------- shell-completion/mkfs.minix | 33 ------ shell-completion/mkswap | 35 ------ shell-completion/more | 22 ---- shell-completion/mountpoint | 24 ---- shell-completion/namei | 17 --- shell-completion/newgrp | 16 --- shell-completion/nsenter | 44 -------- shell-completion/partx | 38 ------- shell-completion/pg | 29 ----- shell-completion/pivot_root | 14 --- shell-completion/prlimit | 60 ---------- shell-completion/raw | 17 --- shell-completion/readprofile | 33 ------ shell-completion/rename | 27 ----- shell-completion/renice | 38 ------- shell-completion/resizepart | 25 ----- shell-completion/rev | 17 --- shell-completion/rtcwake | 40 ------- shell-completion/script | 36 ------ shell-completion/scriptreplay | 28 ----- shell-completion/setarch | 42 ------- shell-completion/setpriv | 82 -------------- shell-completion/setsid | 17 --- shell-completion/setterm | 113 ------------------- shell-completion/sfdisk | 79 ------------- shell-completion/su | 44 -------- shell-completion/swaplabel | 28 ----- shell-completion/swapon | 48 -------- shell-completion/tailf | 24 ---- shell-completion/taskset | 38 ------- shell-completion/tunelp | 48 -------- shell-completion/ul | 29 ----- shell-completion/unshare | 24 ---- shell-completion/utmpdump | 17 --- shell-completion/uuidd | 33 ------ shell-completion/uuidgen | 15 --- shell-completion/wall | 24 ---- shell-completion/wdctl | 60 ---------- shell-completion/whereis | 24 ---- shell-completion/wipefs | 32 ------ shell-completion/write | 22 ---- 183 files changed, 3414 insertions(+), 3414 deletions(-) commit aead7c7e690ab019e0706f228a226b8c17eeab38 Merge: fe6999d 20a5105 Author: Karel Zak Date: Fri Apr 5 14:14:28 2013 +0200 Merge branch 'shell-completion' of git://github.com/kerolasa/lelux-utiliteetit * 'shell-completion' of git://github.com/kerolasa/lelux-utiliteetit: bash-completion: add completion files to Makefile.am bash-completion: text-utils bash-completion: term-utils bash-completion: sys-utils bash-completion: schedutils bash-completion: misc-utils bash-completion: login-utils bash-completion: fdisks bash-completion: disk-utils bash-completion: add bash completetion configure option commit fe6999da0a7e6f14f50342666b72a6ec41d1227a Author: Sami Kerola Date: Tue Apr 2 20:42:57 2013 +0100 logger: make local sockets to try both stream and datagram When journald, from systemd, is in use logger gave following error. $ logger --socket /dev/log test logger: connect /dev/log: Protocol wrong type for socket The journald supports only AF_DGRAM, and nothing else. Support for AF_STREAM sockets was dropped because it messed up message ordering. From an users point of view necessity to add --udp (UNIX(TM) Datagram Protocol?) option when talking to syslog via unix socket felt confusing and wrong. The command should know what is the socket type, and silently use the correct one, unless the type is explicitely defined. CC: Karel Zak Adviced-by: Lennart Poettering Signed-off-by: Sami Kerola misc-utils/logger.c | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) commit 5d1607e260be44a03067f09cc2034d2208c713de Author: Sami Kerola Date: Tue Apr 2 20:42:53 2013 +0100 setarch: add option to list settable architectures Signed-off-by: Sami Kerola sys-utils/setarch.8 | 3 +++ sys-utils/setarch.c | 18 +++++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) commit fdf8fb1cc02d88b562f67b3d79b93ed04aa41c26 Author: Sami Kerola Date: Tue Apr 2 20:42:56 2013 +0100 chrt: make command syntax easier to understand in usage() And mention in manual that the default is referring to the internal default of this command, not the Linux system default. Manual page example also tries to be a little more complete how to use the command. Signed-off-by: Sami Kerola schedutils/chrt.1 | 11 ++++++++--- schedutils/chrt.c | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) commit cc8e993401cf6553034999e8c3086954a6273d29 Author: Sami Kerola Date: Tue Apr 2 20:42:55 2013 +0100 vipw: add usage() function Signed-off-by: Sami Kerola login-utils/vipw.c | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) commit 2dc87166a7b347c2f0bf7023b3ad2528f0d67671 Author: Sami Kerola Date: Tue Apr 2 20:42:54 2013 +0100 setterm: fix various color option argument lists The lists did not have correct colors in usage(). Because the usage() had to be fixed, it is best to make the output easy for translators to work with. Signed-off-by: Sami Kerola term-utils/setterm.c | 74 ++++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) commit f059bdf6085d0b28c8e0eebfef39c47c48622691 Author: Sami Kerola Date: Tue Apr 2 20:42:52 2013 +0100 partx: remove deprecated option from usage() The fact that -l, --list is deprecated will remain in manual page till unforeseeable future. Meanwhile the usage() can be made shorter. Signed-off-by: Sami Kerola disk-utils/partx.c | 1 - 1 file changed, 1 deletion(-) commit ac56e5558e02f78c05d9bb8c05e5956a817c6645 Author: Sami Kerola Date: Tue Apr 2 20:42:51 2013 +0100 lscpu: fix error message Signed-off-by: Sami Kerola sys-utils/lscpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 114ade3d1be7c9091999d49ba97130641c4dde86 Author: Sami Kerola Date: Tue Apr 2 20:42:50 2013 +0100 losetup: allow -j option argument to be relative path Signed-off-by: Sami Kerola sys-utils/losetup.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 5543aaad235ec5ec8a8e354f4271aa9268ed4e28 Author: Sami Kerola Date: Tue Apr 2 20:42:49 2013 +0100 fsfreeze: tell user when mandatory option is not specified This commit also removes use of internal magic values by replacing them with a enum definition. Signed-off-by: Sami Kerola sys-utils/fsfreeze.c | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) commit 963ac50734a60a771da972b62819acf4b187141c Author: Sami Kerola Date: Tue Apr 2 20:42:48 2013 +0100 dmesg: fix usage() output consistancy Possible facilities and levels are meant to be printed to same file as the rest of the usage output. Signed-off-by: Sami Kerola sys-utils/dmesg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 86ad1432e89a249aef115a41ff7fe95b66c96069 Author: Sami Kerola Date: Tue Apr 2 20:42:47 2013 +0100 agetty: the command does not have -h and -V options Signed-off-by: Sami Kerola term-utils/agetty.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 5fb01f4331fef93727f12cbb447136ad7fdac0e1 Author: Sami Kerola Date: Tue Apr 2 20:42:46 2013 +0100 newgrp: use xstrdup to check allocation succeeded Signed-off-by: Sami Kerola login-utils/newgrp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8d8ea18ea7b51e2b6515265026d86c46d266df26 Author: Karel Zak Date: Fri Apr 5 13:35:30 2013 +0200 docs: remove repeated words Signed-off-by: Karel Zak disk-utils/mkfs.8 | 1 - sys-utils/hwclock.8 | 2 +- sys-utils/swapon.8 | 2 +- term-utils/agetty.8 | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) commit 49ebda9b89fc7360d15ca651b8492633b3bbc1d7 Author: Karel Zak Date: Fri Apr 5 13:19:13 2013 +0200 rtcwake: add --auto to usage() Signed-off-by: Karel Zak sys-utils/rtcwake.c | 1 + 1 file changed, 1 insertion(+) commit d58adea4bd19ae0c8b81887e31ca998162c6c5f0 Author: Karel Zak Date: Fri Apr 5 13:16:02 2013 +0200 readprofile: reorder options in man page Signed-off-by: Karel Zak sys-utils/readprofile.8 | 54 ++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) commit 0ca4988c37d6e9f73747c6e53078cb17fe96809e Author: Karel Zak Date: Fri Apr 5 13:13:10 2013 +0200 readprofile: add --counters to the man page Signed-off-by: Karel Zak sys-utils/readprofile.8 | 3 +++ 1 file changed, 3 insertions(+) commit 1b8ce047a08db0d990083b0cb7c442cae2bc42ca Author: Karel Zak Date: Fri Apr 5 13:07:59 2013 +0200 fsck: cleanup usage() Signed-off-by: Karel Zak disk-utils/fsck.c | 55 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 29 insertions(+), 26 deletions(-) commit 4b856ee4b93979365142f9ab274e970bad88a7b8 Author: Karel Zak Date: Fri Apr 5 12:55:20 2013 +0200 agetty: add --chroot to usage() and man page Signed-off-by: Karel Zak term-utils/agetty.8 | 3 +++ term-utils/agetty.c | 1 + 2 files changed, 4 insertions(+) commit 1505a0b2667d442420c803b0c76f0a0b4b65e62c Author: Karel Zak Date: Fri Apr 5 12:47:42 2013 +0200 agetty: add -E, --remote to usage() Signed-off-by: Karel Zak term-utils/agetty.c | 1 + 1 file changed, 1 insertion(+) commit a2343e0312a5459365a09694cf494dc17909c2a9 Author: Karel Zak Date: Fri Apr 5 12:43:51 2013 +0200 ul: cleanup usage() and man page Signed-off-by: Karel Zak text-utils/ul.1 | 2 +- text-utils/ul.c | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) commit 4fa491b3f4a7eaf9eb457c752907ebb4870c8183 Author: Karel Zak Date: Fri Apr 5 12:36:29 2013 +0200 raw: add long options to man page Signed-off-by: Karel Zak disk-utils/raw.8 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 6d402bbedc9b752c96f85f04266010ce819b2ba5 Author: Karel Zak Date: Fri Apr 5 12:32:34 2013 +0200 mount: add --read-write to man page sys-utils/mount.8 | 2 +- sys-utils/mount.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 81009d72557cadf610b540a99bb971a137e78118 Author: Karel Zak Date: Fri Apr 5 12:19:40 2013 +0200 mount: add --show-labels to man page Signed-off-by: Karel Zak sys-utils/mount.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit edd82b9c99ec0af86998b44e057fb594f2e5f55f Author: Karel Zak Date: Fri Apr 5 11:49:37 2013 +0200 setarch: normalize man page formatting Signed-off-by: Karel Zak sys-utils/setarch.8 | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) commit 3706db7c085fccdcaa26e6fddcaeb47e6e5c1c6c Author: Karel Zak Date: Fri Apr 5 11:21:17 2013 +0200 getopt: fix usage() typo unquote -> unquoted Signed-off-by: Karel Zak misc-utils/getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 395eb05d1697ce5e029f439839b49ddecee5b6f8 Author: Karel Zak Date: Fri Apr 5 11:19:56 2013 +0200 findmnt: fix typo fsroot -> nofsroot Signed-off-by: Karel Zak misc-utils/findmnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3b1346a877bd9c45699394a52f8ebb8e7851d742 Author: Karel Zak Date: Wed Apr 3 16:14:47 2013 +0200 blkid: use O_CLOEXEC ... to make "strace -e open blkid" for libblkid stuff without exceptions. Signed-off-by: Karel Zak misc-utils/blkid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4000fc128c015dda734e7794c3ceac65ae239a38 Author: Karel Zak Date: Wed Apr 3 16:14:15 2013 +0200 libblkid: use O_CLOEXEC Signed-off-by: Karel Zak libblkid/src/config.c | 2 +- libblkid/src/devname.c | 6 +++--- libblkid/src/devno.c | 2 +- libblkid/src/evaluate.c | 2 +- libblkid/src/read.c | 2 +- libblkid/src/save.c | 6 +++--- libblkid/src/superblocks/ext.c | 4 ++-- libblkid/src/topology/dm.c | 2 +- libblkid/src/topology/lvm.c | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) commit 1eb8539d3b1d2cb636bb73222daeb0bf4f68d7ae Author: Karel Zak Date: Wed Apr 3 16:14:03 2013 +0200 libmount: use O_CLOEXEC Signed-off-by: Karel Zak libmount/src/lock.c | 4 ++-- libmount/src/tab_parse.c | 8 ++++---- libmount/src/tab_update.c | 2 +- libmount/src/utils.c | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) commit a61cac5b6474494fe5c409b82d09236c45856b07 Author: Karel Zak Date: Wed Apr 3 16:13:55 2013 +0200 libuuid: use O_CLOEXEC Signed-off-by: Karel Zak libuuid/src/gen_uuid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 065070f216d27ae09d27172509fe03d192fd9b15 Author: Karel Zak Date: Wed Apr 3 16:13:45 2013 +0200 libfdisk: use O_CLOEXEC Signed-off-by: Karel Zak libfdisk/src/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b1fa3e2234fab95960eaa8499384000f189def13 Author: Karel Zak Date: Wed Apr 3 16:13:06 2013 +0200 lib: use O_CLOEXEC in libcommon Signed-off-by: Karel Zak lib/blkdev.c | 2 +- lib/canonicalize.c | 2 +- lib/fileutils.c | 2 +- lib/ismounted.c | 6 +++--- lib/loopdev.c | 10 +++++----- lib/path.c | 8 ++++---- lib/randutils.c | 4 ++-- lib/sysfs.c | 13 +++++++------ lib/wholedisk.c | 2 +- 9 files changed, 25 insertions(+), 24 deletions(-) commit 7e3729e7509ce25b2f9eb5a78f35232b6cd9b998 Author: Karel Zak Date: Wed Apr 3 16:12:34 2013 +0200 include/fileutils: use O_CLOEXEC for mktemp stuff Signed-off-by: Karel Zak include/fileutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2ffad204c0c78009a497b093f9c9bbc148c6ed9a Author: Karel Zak Date: Wed Apr 3 16:11:19 2013 +0200 include/c: add macro UL_CLOEXECSTR ... to make "e" for fopen() portable to systems without O_CLOEXEC. Signed-off-by: Karel Zak include/c.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit 4e5262e450a7ca2835d6c64edef8df0ad24f75a9 Author: Karel Zak Date: Wed Apr 3 13:32:39 2013 +0200 lib/canonicalize: don't use /dev/mapper/ if the node does not exist Signed-off-by: Karel Zak lib/canonicalize.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 39de73f5f1c15c8acc5285a0162b43888354e6aa Author: Karel Zak Date: Tue Apr 2 22:26:12 2013 +0200 libmount: add version and features to debug output Signed-off-by: Karel Zak libmount/src/init.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 20a5105648703f95636d6d48f2ae666d57f4a6bb Author: Sami Kerola Date: Tue Mar 26 20:54:47 2013 +0000 bash-completion: add completion files to Makefile.am And remove shell completion TODO item. Signed-off-by: Sami Kerola Documentation/TODO | 7 +- shell-completion/Makemodule.am | 249 ++++++++++++++++++++++++++++++++++++++++- 2 files changed, 252 insertions(+), 4 deletions(-) commit c72fca2cedfb2ab206847efa43d798f6484872de Author: Sami Kerola Date: Tue Mar 26 19:40:20 2013 +0000 bash-completion: text-utils Signed-off-by: Sami Kerola shell-completion/col | 24 ++++++++++++++++++++++++ shell-completion/colcrt | 20 ++++++++++++++++++++ shell-completion/colrm | 23 +++++++++++++++++++++++ shell-completion/column | 34 ++++++++++++++++++++++++++++++++++ shell-completion/hexdump | 32 ++++++++++++++++++++++++++++++++ shell-completion/more | 22 ++++++++++++++++++++++ shell-completion/pg | 29 +++++++++++++++++++++++++++++ shell-completion/rev | 17 +++++++++++++++++ shell-completion/tailf | 24 ++++++++++++++++++++++++ shell-completion/ul | 29 +++++++++++++++++++++++++++++ 10 files changed, 254 insertions(+) commit 8884f6d5f41aec30ae45c35590eedfd0d6a41858 Author: Sami Kerola Date: Mon Mar 25 21:37:36 2013 +0000 bash-completion: term-utils Signed-off-by: Sami Kerola shell-completion/mesg | 16 ++++++ shell-completion/script | 36 ++++++++++++++ shell-completion/scriptreplay | 28 +++++++++++ shell-completion/setterm | 113 ++++++++++++++++++++++++++++++++++++++++++ shell-completion/wall | 24 +++++++++ shell-completion/write | 22 ++++++++ 6 files changed, 239 insertions(+) commit c6f8c3f5cec47bb71b59cdf9a8d8aaf98055caf6 Author: Sami Kerola Date: Sun Mar 24 17:19:09 2013 +0000 bash-completion: sys-utils Signed-off-by: Sami Kerola shell-completion/blkdiscard | 25 ++++++++++++++ shell-completion/chcpu | 44 ++++++++++++++++++++++++ shell-completion/ctrlaltdel | 11 ++++++ shell-completion/cytune | 37 ++++++++++++++++++++ shell-completion/dmesg | 53 ++++++++++++++++++++++++++++ shell-completion/eject | 61 ++++++++++++++++++++++++++++++++ shell-completion/fallocate | 24 +++++++++++++ shell-completion/flock | 42 +++++++++++++++++++++++ shell-completion/fsfreeze | 18 ++++++++++ shell-completion/fstrim | 25 ++++++++++++++ shell-completion/hwclock | 53 ++++++++++++++++++++++++++++ shell-completion/ipcrm | 59 +++++++++++++++++++++++++++++++ shell-completion/ipcs | 30 ++++++++++++++++ shell-completion/ldattach | 54 +++++++++++++++++++++++++++++ shell-completion/losetup | 64 ++++++++++++++++++++++++++++++++++ shell-completion/lscpu | 45 ++++++++++++++++++++++++ shell-completion/mountpoint | 24 +++++++++++++ shell-completion/nsenter | 44 ++++++++++++++++++++++++ shell-completion/pivot_root | 14 ++++++++ shell-completion/prlimit | 60 ++++++++++++++++++++++++++++++++ shell-completion/readprofile | 33 ++++++++++++++++++ shell-completion/renice | 38 ++++++++++++++++++++ shell-completion/rtcwake | 40 +++++++++++++++++++++ shell-completion/setarch | 42 +++++++++++++++++++++++ shell-completion/setpriv | 82 ++++++++++++++++++++++++++++++++++++++++++++ shell-completion/setsid | 17 +++++++++ shell-completion/swapon | 48 ++++++++++++++++++++++++++ shell-completion/tunelp | 48 ++++++++++++++++++++++++++ shell-completion/unshare | 24 +++++++++++++ shell-completion/wdctl | 60 ++++++++++++++++++++++++++++++++ 30 files changed, 1219 insertions(+) commit 18b0017ae6a80f2eb4e7e1bdf81264b7f4d457f6 Author: Sami Kerola Date: Sun Mar 24 17:10:55 2013 +0000 bash-completion: schedutils Signed-off-by: Sami Kerola shell-completion/chrt | 32 ++++++++++++++++++++++++++++++++ shell-completion/ionice | 34 ++++++++++++++++++++++++++++++++++ shell-completion/taskset | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+) commit 76dceb10a19be9bbfd667cfd02baba59626803d8 Author: Sami Kerola Date: Sat Mar 23 17:41:32 2013 +0000 bash-completion: misc-utils Signed-off-by: Sami Kerola shell-completion/blkid | 64 +++++++++++++++++++++++++ shell-completion/cal | 15 ++++++ shell-completion/findmnt | 121 +++++++++++++++++++++++++++++++++++++++++++++++ shell-completion/getopt | 34 +++++++++++++ shell-completion/logger | 43 +++++++++++++++++ shell-completion/look | 24 ++++++++++ shell-completion/lsblk | 65 +++++++++++++++++++++++++ shell-completion/lslocks | 43 +++++++++++++++++ shell-completion/mcookie | 23 +++++++++ shell-completion/namei | 17 +++++++ shell-completion/rename | 27 +++++++++++ shell-completion/uuidd | 33 +++++++++++++ shell-completion/uuidgen | 15 ++++++ shell-completion/whereis | 24 ++++++++++ shell-completion/wipefs | 32 +++++++++++++ 15 files changed, 580 insertions(+) commit 41e5a92cf1cd8950df8b02fdd2ea8be571dbab02 Author: Sami Kerola Date: Sat Mar 23 16:49:52 2013 +0000 bash-completion: login-utils Signed-off-by: Sami Kerola shell-completion/chfn | 16 ++++++++++++++++ shell-completion/chsh | 23 +++++++++++++++++++++++ shell-completion/last | 38 ++++++++++++++++++++++++++++++++++++++ shell-completion/newgrp | 16 ++++++++++++++++ shell-completion/su | 44 ++++++++++++++++++++++++++++++++++++++++++++ shell-completion/utmpdump | 17 +++++++++++++++++ 6 files changed, 154 insertions(+) commit 2bd3b27a254e3cb9bb250fd9e69397355d51c075 Author: Sami Kerola Date: Sat Mar 23 16:18:37 2013 +0000 bash-completion: fdisks Signed-off-by: Sami Kerola shell-completion/cfdisk | 35 ++++++++++++++++++++++ shell-completion/fdisk | 47 +++++++++++++++++++++++++++++ shell-completion/sfdisk | 79 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 161 insertions(+) commit bf60993cf2442f67bd47bcfcf6bd49c7392c2ba1 Author: Sami Kerola Date: Fri Mar 22 23:37:11 2013 +0000 bash-completion: disk-utils Signed-off-by: Sami Kerola shell-completion/addpart | 25 +++++++++++++++++++++++++ shell-completion/blockdev | 44 ++++++++++++++++++++++++++++++++++++++++++++ shell-completion/delpart | 23 +++++++++++++++++++++++ shell-completion/fdformat | 11 +++++++++++ shell-completion/fsck | 36 ++++++++++++++++++++++++++++++++++++ shell-completion/fsck.cramfs | 18 ++++++++++++++++++ shell-completion/fsck.minix | 11 +++++++++++ shell-completion/isosize | 17 +++++++++++++++++ shell-completion/mkfs | 25 +++++++++++++++++++++++++ shell-completion/mkfs.bfs | 28 ++++++++++++++++++++++++++++ shell-completion/mkfs.cramfs | 40 ++++++++++++++++++++++++++++++++++++++++ shell-completion/mkfs.minix | 33 +++++++++++++++++++++++++++++++++ shell-completion/mkswap | 35 +++++++++++++++++++++++++++++++++++ shell-completion/partx | 38 ++++++++++++++++++++++++++++++++++++++ shell-completion/raw | 17 +++++++++++++++++ shell-completion/resizepart | 25 +++++++++++++++++++++++++ shell-completion/swaplabel | 28 ++++++++++++++++++++++++++++ 17 files changed, 454 insertions(+) commit 9cc36e9fdf24a67cc7a7d186a39cbf8398ba9d37 Author: Sami Kerola Date: Tue Mar 19 22:24:41 2013 +0000 bash-completion: add bash completetion configure option Signed-off-by: Sami Kerola Makefile.am | 5 +++++ configure.ac | 13 +++++++++++++ shell-completion/Makemodule.am | 1 + 3 files changed, 19 insertions(+) commit c7e76cd145b0c40e1d346203f3222f5937146939 Author: Karel Zak Date: Fri Mar 29 17:16:02 2013 +0100 lsblk: add --paths Now it's not so simple to generate full paths to devices if you want to use user friendly names like /dev/mapper/foo. Let's make it easy. misc-utils/lsblk.8 | 3 +++ misc-utils/lsblk.c | 61 +++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 45 insertions(+), 19 deletions(-) commit 4cd271adc1dd3231e705c9e074491a7f49a721b8 Author: Karel Zak Date: Wed Mar 27 16:47:46 2013 +0100 libmount: make mnt_table_find_* more robust [coverity scan] Signed-off-by: Karel Zak libmount/src/tab.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 05ba8c8483a3a2b35989d1059a3dbf1612c0e6e4 Author: Karel Zak Date: Wed Mar 27 16:34:11 2013 +0100 wipefs: make do_wipe() more readable [coverity scan] Signed-off-by: Karel Zak misc-utils/wipefs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 23b4715b8d40a6e5da7545abab5637777a11b063 Author: Karel Zak Date: Wed Mar 27 16:29:48 2013 +0100 rename: fix memory leak [coverity scan] Signed-off-by: Karel Zak misc-utils/rename.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4e6fc1139b42b0051665ea1809baf491087369b1 Author: Karel Zak Date: Wed Mar 27 16:25:30 2013 +0100 wipefs: fix memory leak [coverity scan] Signed-off-by: Karel Zak misc-utils/wipefs.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit a77e7ac77c0bb8e7fd56aa04d6645aef11f8f56c Author: Karel Zak Date: Wed Mar 27 16:22:56 2013 +0100 setterm: fix memory leak [coverity scan] Signed-off-by: Karel Zak term-utils/setterm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 1544dea1c9108ada0e04319a5acaa4fc0e7dede7 Author: Karel Zak Date: Wed Mar 27 16:18:33 2013 +0100 mkfs.cramfs: fix resource leak [coverity scan] Signed-off-by: Karel Zak disk-utils/mkfs.cramfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 765056b37265da3bc367899f54f833210a2cc2df Author: Karel Zak Date: Wed Mar 27 16:16:46 2013 +0100 pg: fix memory leak [coverity scan] Signed-off-by: Karel Zak text-utils/pg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c1253a3b10534c525de5a2a5ceba2b8731a3e841 Author: Karel Zak Date: Wed Mar 27 16:15:57 2013 +0100 libfdisk: (gpt) fix memory leak [coverity scan] Signed-off-by: Karel Zak libfdisk/src/gpt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 985b351ed8ec1d7ce7aeebca27cc7c88571a5657 Author: Karel Zak Date: Wed Mar 27 16:13:39 2013 +0100 mkfs.cramfs: fix memory leak [coverity scan] Signed-off-by: Karel Zak disk-utils/mkfs.cramfs.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit 8362545b4a3dc1b2903b7aa2e40eaf472aec130c Author: Karel Zak Date: Wed Mar 27 16:08:47 2013 +0100 lib/xalloc: fix mamory leak in xgethostname() [coverity scan] Signed-off-by: Karel Zak include/xalloc.h | 6 ++++-- term-utils/agetty.c | 10 ++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) commit 6acde8a3b1738afa8e3512e4203905f548465eb0 Author: Karel Zak Date: Wed Mar 27 16:02:07 2013 +0100 libblkid: (udf) fix possible null pointer dereference [coverity scan] Signed-off-by: Karel Zak libblkid/src/superblocks/udf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b3eff5dd7422233b186df22fbcbd693da7ae3786 Author: Karel Zak Date: Wed Mar 27 15:59:40 2013 +0100 lscpu: make /proc/sysinfo usage more robust [coverity scan] Signed-off-by: Karel Zak sys-utils/lscpu.c | 2 ++ 1 file changed, 2 insertions(+) commit e36aad2139c0b7ccc7b44645e6cadb97062d42fd Author: Karel Zak Date: Wed Mar 27 15:01:41 2013 +0100 lscpu: remove dead code [coverity scan] Signed-off-by: Karel Zak sys-utils/lscpu.c | 2 -- 1 file changed, 2 deletions(-) commit ad85c7bad93613fd4b3110b6dac7fd2fea7295f3 Author: Karel Zak Date: Wed Mar 27 14:50:52 2013 +0100 sulogin: don't run if not found passww entry [coverity scan] sulogin(8) should not run if there is no /etc/{passwd,shadow} entry and --force command line option is no specified otherwise NULL pointer dereference is possible. Signed-off-by: Karel Zak login-utils/sulogin.c | 1 + 1 file changed, 1 insertion(+) commit 3c7fbc82da796c21fd107221a218397af0764d30 Author: Karel Zak Date: Wed Mar 27 14:40:42 2013 +0100 flock: possible pointer dereferences [coverity scan] Signed-off-by: Karel Zak sys-utils/flock.c | 1 + 1 file changed, 1 insertion(+) commit 31bfda07a4d00ff1b011aff3ad84112adfc0250f Author: Karel Zak Date: Wed Mar 27 14:38:07 2013 +0100 getopt: fix normalize() usage [coverity scan] Signed-off-by: Karel Zak misc-utils/getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82455ad52a9081a2c0310bc0876c6d765c95534a Author: Karel Zak Date: Wed Mar 27 14:33:17 2013 +0100 su: make code more robust [coverity scan] ... and more readable for static analyzers Signed-off-by: Karel Zak login-utils/su-common.c | 3 +++ 1 file changed, 3 insertions(+) commit 915c1d99f60d81278726e6f4441a80da755c4227 Author: Karel Zak Date: Wed Mar 27 14:33:17 2013 +0100 agetty: make \{4,6} issue file code more robust [coverity scan] ... and more readable for static analyzers Signed-off-by: Karel Zak term-utils/agetty.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 66c00f1f95e7b87ecb9c819f57a09e2b3493d755 Author: Karel Zak Date: Wed Mar 27 14:28:42 2013 +0100 libmount: fix __mnt_optstr_append_option() nonull attribute [coverity scan] Signed-off-by: Karel Zak libmount/src/optstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b48d80fbe0c02af2ca8b71139735e9790743a3e2 Author: Karel Zak Date: Wed Mar 27 14:22:31 2013 +0100 libmount: fix __mnt_cache_find_tag_value() [coverity scan] Signed-off-by: Karel Zak libmount/src/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88a6006bc83cc917141d02fd0351d7008e534790 Author: Karel Zak Date: Wed Mar 27 14:17:52 2013 +0100 lsblk: fix hctl buffer usage [coverity scan] Signed-off-by: Karel Zak lib/sysfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 65060bd04d3f9758a321443485125e43aabbd6b2 Author: Karel Zak Date: Wed Mar 27 14:13:12 2013 +0100 lsblk: check returns [coverity scan] Signed-off-by: Karel Zak misc-utils/lsblk.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7488d4c06804ba258569f6f36aa7518f917fe291 Author: Karel Zak Date: Wed Mar 27 14:13:00 2013 +0100 login: check returns [coverity scan] Signed-off-by: Karel Zak login-utils/login.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit bbe8e6a98e0bdecc6f8143a692b625594c22f50d Author: Karel Zak Date: Wed Mar 27 14:12:47 2013 +0100 libfdisk: check returns [coverity scan] Signed-off-by: Karel Zak libfdisk/src/gpt.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit eb542dff6a919aafaa9ca3febe77fbe8fdaf1790 Author: Karel Zak Date: Wed Mar 27 14:12:37 2013 +0100 libblkid: check returns [coverity scan] Signed-off-by: Karel Zak libblkid/src/devname.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b3f30f50ab726fc5de88c8acc0b3b8e95b9ccb87 Author: Karel Zak Date: Wed Mar 27 14:12:23 2013 +0100 fsck.cramfs: check returns [coverity scan] Signed-off-by: Karel Zak disk-utils/fsck.cramfs.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 45b048b340742402695741229f01b151cce871c9 Author: Karel Zak Date: Wed Mar 27 11:37:57 2013 +0100 libblkid: fix NTFS prober on big-endian machines MFT_RECORD_ATTR_VOLUME_NAME = cpu_to_le32(0x60), ^ ./include/bitops.h:94:36: error: braced-group within expression allowed only inside a function Signed-off-by: Karel Zak libblkid/src/superblocks/ntfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 17206c059dc2e42e7081079b76eafda68cc9a5b8 Author: Karel Zak Date: Tue Mar 26 16:05:07 2013 +0100 libmount: fix user-mount by root for mount. helpers Append options like "exec" "suid" and "dev" to mount. helpers command line if the options are in fstab. This is relevant for root user who calls mount(8) for fstab entries with "user,exec" etc. Signed-off-by: Karel Zak libmount/src/context_mount.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit 35bc7a2b67f59d9ad4257816970492ef05605c6f Author: Karel Zak Date: Tue Mar 26 13:48:25 2013 +0100 docs: add note about /var/lib/hwclock to TODO Signed-off-by: Karel Zak Documentation/TODO | 7 +++++++ 1 file changed, 7 insertions(+) commit d9b22d179a274013dd1eb29c7b9ab5225bfd7d70 Author: Daniel Stodden Date: Mon Mar 25 02:33:59 2013 -0700 schedutils: don't apply -a without -p The unsuspecting user might use taskset -a mask command. Behavior then is to exec with no affinity applied at all. Better handled by ignoring all_tasks if no pid was given. Signed-off-by: Daniel Stodden schedutils/taskset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 09e092ad5cb7fe835f16c9ba37138a1730541bba Author: Karel Zak Date: Tue Mar 26 12:14:31 2013 +0100 rtcwake: clean up usage Signed-off-by: Karel Zak sys-utils/rtcwake.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 7528fae9e9baa8cdc71696faf651ab076856aa30 Author: Karel Zak Date: Tue Mar 26 11:45:45 2013 +0100 include/pathnames: rename _PATH_ADJPATH to _PATH_ADJTIME Signed-off-by: Karel Zak include/pathnames.h | 3 ++- sys-utils/hwclock.c | 4 ++-- sys-utils/rtcwake.c | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) commit 3a2f3e82bba616c93d80fd88938b38144e66eee7 Author: Karel Zak Date: Tue Mar 26 11:16:12 2013 +0100 rtcwake: add --adjfile command line option ... for better compatibility with hwclock. Signed-off-by: Karel Zak sys-utils/rtcwake.8 | 5 ++++- sys-utils/rtcwake.c | 44 ++++++++++++++++++++++++++------------------ 2 files changed, 30 insertions(+), 19 deletions(-) commit e4544ec1e4247d49ecffb2a4b167b04975c3f87b Author: Samuel Thibault Date: Fri Mar 22 14:41:47 2013 +0100 sulogin: couple of obvious fixes for non-linux systems Signed-off-by: Karel Zak login-utils/sulogin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2ba83ec2e035fa9d78b89992b01683f5c5ca90cc Author: Sami Kerola Date: Thu Mar 21 21:47:15 2013 +0000 docs: arch is gone, use delpart as usage() function example The arch.c was removed in commit 27abd809. Signed-off-by: Sami Kerola Documentation/howto-usage-function.txt | 2 +- include/c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit fe20e5d14a5909b1325468401e647df4c39980ec Author: Sami Kerola Date: Thu Mar 21 21:47:14 2013 +0000 blkid: use xalloc.h when possible Signed-off-by: Sami Kerola misc-utils/blkid.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit fcc0413a12efde3f413064a622ea0a0595ede49f Author: Karel Zak Date: Mon Mar 25 13:58:53 2013 +0100 mount: improve --move error message on shared trees Signed-off-by: Karel Zak sys-utils/mount.8 | 5 +++++ sys-utils/mount.c | 46 ++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 45 insertions(+), 6 deletions(-) commit dcc15ce5afc7a5f86f65f9084a780f9509e15613 Author: Karel Zak Date: Mon Mar 25 13:56:31 2013 +0100 libmount: add mnt_table_find_mountpoint() This is more robust implementation of mnt_get_mountpoint() that does not ignore bind mountpoints (mount --bind /mnt /mnt) as it does not depend on st_dev numbers. Signed-off-by: Karel Zak libmount/docs/libmount-sections.txt | 1 + libmount/src/libmount.h.in | 2 + libmount/src/libmount.sym | 1 + libmount/src/mountP.h | 2 + libmount/src/tab.c | 76 +++++++++++++++++++++++++++++++++++++ libmount/src/utils.c | 2 +- 6 files changed, 83 insertions(+), 1 deletion(-) commit ece5d1136b3747be0a1279bc9956d34426ccbe78 Author: Karel Zak Date: Mon Mar 25 13:40:06 2013 +0100 libmount: make libmount.h consistent with code The function with nonnull attribute are silently optimized by gcc so all "if (foo)" are removed if the "foo" is expected as non-null. It make the code less usable and robust in some situations. Signed-off-by: Karel Zak libmount/src/libmount.h.in | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) commit 52a285bf4e8d3a78d7211694977f5894a748bdac Author: Karel Zak Date: Mon Mar 25 09:17:52 2013 +0100 libmount: umount crashes when trying to umount a non-mountpoint Reported-by: Mantas Mikulėnas Signed-off-by: Karel Zak libmount/src/context_umount.c | 4 ++-- libmount/src/fs.c | 3 +++ libmount/src/libmount.h.in | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-)