]> git.ipfire.org Git - thirdparty/util-linux.git/log
thirdparty/util-linux.git
12 years agosetterm: fix various color option argument lists
Sami Kerola [Tue, 2 Apr 2013 19:42:54 +0000 (20:42 +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 <kerolasa@iki.fi>
12 years agopartx: remove deprecated option from usage()
Sami Kerola [Tue, 2 Apr 2013 19:42:52 +0000 (20:42 +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 <kerolasa@iki.fi>
12 years agolscpu: fix error message
Sami Kerola [Tue, 2 Apr 2013 19:42:51 +0000 (20:42 +0100)] 
lscpu: fix error message

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agolosetup: allow -j option argument to be relative path
Sami Kerola [Tue, 2 Apr 2013 19:42:50 +0000 (20:42 +0100)] 
losetup: allow -j option argument to be relative path

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agofsfreeze: tell user when mandatory option is not specified
Sami Kerola [Tue, 2 Apr 2013 19:42:49 +0000 (20:42 +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 <kerolasa@iki.fi>
12 years agodmesg: fix usage() output consistancy
Sami Kerola [Tue, 2 Apr 2013 19:42:48 +0000 (20:42 +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 <kerolasa@iki.fi>
12 years agoagetty: the command does not have -h and -V options
Sami Kerola [Tue, 2 Apr 2013 19:42:47 +0000 (20:42 +0100)] 
agetty: the command does not have -h and -V options

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agonewgrp: use xstrdup to check allocation succeeded
Sami Kerola [Tue, 2 Apr 2013 19:42:46 +0000 (20:42 +0100)] 
newgrp: use xstrdup to check allocation succeeded

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agodocs: remove repeated words
Karel Zak [Fri, 5 Apr 2013 11:35:30 +0000 (13:35 +0200)] 
docs: remove repeated words

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agortcwake: add --auto to usage()
Karel Zak [Fri, 5 Apr 2013 11:19:13 +0000 (13:19 +0200)] 
rtcwake: add --auto to usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoreadprofile: reorder options in man page
Karel Zak [Fri, 5 Apr 2013 11:16:02 +0000 (13:16 +0200)] 
readprofile: reorder options in man page

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoreadprofile: add --counters to the man page
Karel Zak [Fri, 5 Apr 2013 11:13:10 +0000 (13:13 +0200)] 
readprofile: add --counters to the man page

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agofsck: cleanup usage()
Karel Zak [Fri, 5 Apr 2013 11:07:59 +0000 (13:07 +0200)] 
fsck: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoagetty: add --chroot to usage() and man page
Karel Zak [Fri, 5 Apr 2013 10:55:20 +0000 (12:55 +0200)] 
agetty: add --chroot to usage() and man page

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoagetty: add -E, --remote to usage()
Karel Zak [Fri, 5 Apr 2013 10:47:42 +0000 (12:47 +0200)] 
agetty: add -E, --remote to usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoul: cleanup usage() and man page
Karel Zak [Fri, 5 Apr 2013 10:43:51 +0000 (12:43 +0200)] 
ul: cleanup usage() and man page

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoraw: add long options to man page
Karel Zak [Fri, 5 Apr 2013 10:36:29 +0000 (12:36 +0200)] 
raw: add long options to man page

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agomount: add --read-write to man page
Karel Zak [Fri, 5 Apr 2013 10:32:34 +0000 (12:32 +0200)] 
mount: add --read-write to man page

12 years agomount: add --show-labels to man page
Karel Zak [Fri, 5 Apr 2013 10:19:40 +0000 (12:19 +0200)] 
mount: add --show-labels to man page

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agosetarch: normalize man page formatting
Karel Zak [Fri, 5 Apr 2013 09:49:37 +0000 (11:49 +0200)] 
setarch: normalize man page formatting

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agogetopt: fix usage() typo unquote -> unquoted
Karel Zak [Fri, 5 Apr 2013 09:21:17 +0000 (11:21 +0200)] 
getopt: fix usage() typo unquote -> unquoted

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agofindmnt: fix typo fsroot -> nofsroot
Karel Zak [Fri, 5 Apr 2013 09:19:56 +0000 (11:19 +0200)] 
findmnt: fix typo fsroot -> nofsroot

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoblkid: use O_CLOEXEC
Karel Zak [Wed, 3 Apr 2013 14:14:47 +0000 (16:14 +0200)] 
blkid: use O_CLOEXEC

... to make "strace -e open blkid" for libblkid stuff without
exceptions.

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibblkid: use O_CLOEXEC
Karel Zak [Wed, 3 Apr 2013 14:14:15 +0000 (16:14 +0200)] 
libblkid: use O_CLOEXEC

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibmount: use O_CLOEXEC
Karel Zak [Wed, 3 Apr 2013 14:14:03 +0000 (16:14 +0200)] 
libmount: use O_CLOEXEC

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibuuid: use O_CLOEXEC
Karel Zak [Wed, 3 Apr 2013 14:13:55 +0000 (16:13 +0200)] 
libuuid: use O_CLOEXEC

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibfdisk: use O_CLOEXEC
Karel Zak [Wed, 3 Apr 2013 14:13:45 +0000 (16:13 +0200)] 
libfdisk: use O_CLOEXEC

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolib: use O_CLOEXEC in libcommon
Karel Zak [Wed, 3 Apr 2013 14:13:06 +0000 (16:13 +0200)] 
lib: use O_CLOEXEC in libcommon

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoinclude/fileutils: use O_CLOEXEC for mktemp stuff
Karel Zak [Wed, 3 Apr 2013 14:12:34 +0000 (16:12 +0200)] 
include/fileutils: use O_CLOEXEC for mktemp stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoinclude/c: add macro UL_CLOEXECSTR
Karel Zak [Wed, 3 Apr 2013 14:11:19 +0000 (16:11 +0200)] 
include/c: add macro UL_CLOEXECSTR

... to make "e" for fopen() portable to systems without O_CLOEXEC.

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolib/canonicalize: don't use /dev/mapper/<name> if the node does not exist
Karel Zak [Wed, 3 Apr 2013 11:32:39 +0000 (13:32 +0200)] 
lib/canonicalize: don't use /dev/mapper/<name> if the node does not exist

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibmount: add version and features to debug output
Karel Zak [Tue, 2 Apr 2013 20:26:12 +0000 (22:26 +0200)] 
libmount: add version and features to debug output

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolsblk: add --paths
Karel Zak [Fri, 29 Mar 2013 16:16:02 +0000 (17:16 +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.

12 years agolibmount: make mnt_table_find_* more robust [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:47:46 +0000 (16:47 +0100)] 
libmount: make mnt_table_find_* more robust [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agowipefs: make do_wipe() more readable [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:34:11 +0000 (16:34 +0100)] 
wipefs: make do_wipe() more readable [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agorename: fix memory leak [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:29:48 +0000 (16:29 +0100)] 
rename: fix memory leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agowipefs: fix memory leak [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:25:30 +0000 (16:25 +0100)] 
wipefs: fix memory leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agosetterm: fix memory leak [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:22:56 +0000 (16:22 +0100)] 
setterm: fix memory leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agomkfs.cramfs: fix resource leak [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:18:33 +0000 (16:18 +0100)] 
mkfs.cramfs: fix resource leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agopg: fix memory leak [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:16:46 +0000 (16:16 +0100)] 
pg: fix memory leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibfdisk: (gpt) fix memory leak [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:15:57 +0000 (16:15 +0100)] 
libfdisk: (gpt) fix memory leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agomkfs.cramfs: fix memory leak [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:13:39 +0000 (16:13 +0100)] 
mkfs.cramfs: fix memory leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolib/xalloc: fix mamory leak in xgethostname() [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:08:47 +0000 (16:08 +0100)] 
lib/xalloc: fix mamory leak in xgethostname() [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibblkid: (udf) fix possible null pointer dereference [coverity scan]
Karel Zak [Wed, 27 Mar 2013 15:02:07 +0000 (16:02 +0100)] 
libblkid: (udf) fix possible null pointer dereference [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolscpu: make /proc/sysinfo usage more robust [coverity scan]
Karel Zak [Wed, 27 Mar 2013 14:59:40 +0000 (15:59 +0100)] 
lscpu: make /proc/sysinfo usage more robust [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolscpu: remove dead code [coverity scan]
Karel Zak [Wed, 27 Mar 2013 14:01:41 +0000 (15:01 +0100)] 
lscpu: remove dead code [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agosulogin: don't run if not found passww entry [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:50:52 +0000 (14:50 +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 <kzak@redhat.com>
12 years agoflock: possible pointer dereferences [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:40:42 +0000 (14:40 +0100)] 
flock: possible pointer dereferences [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agogetopt: fix normalize() usage [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:38:07 +0000 (14:38 +0100)] 
getopt: fix normalize() usage [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agosu: make code more robust [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:33:17 +0000 (14:33 +0100)] 
su: make code more robust [coverity scan]

 ... and more readable for static analyzers

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoagetty: make \{4,6} issue file code more robust [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:33:17 +0000 (14:33 +0100)] 
agetty: make \{4,6} issue file code more robust [coverity scan]

 ... and more readable for static analyzers

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibmount: fix __mnt_optstr_append_option() nonull attribute [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:28:42 +0000 (14:28 +0100)] 
libmount: fix __mnt_optstr_append_option() nonull attribute [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibmount: fix __mnt_cache_find_tag_value() [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:22:31 +0000 (14:22 +0100)] 
libmount: fix __mnt_cache_find_tag_value() [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolsblk: fix hctl buffer usage [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:17:52 +0000 (14:17 +0100)] 
lsblk: fix hctl buffer usage [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolsblk: check returns [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:13:12 +0000 (14:13 +0100)] 
lsblk: check returns [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agologin: check returns [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:13:00 +0000 (14:13 +0100)] 
login: check returns [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibfdisk: check returns [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:12:47 +0000 (14:12 +0100)] 
libfdisk: check returns [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibblkid: check returns [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:12:37 +0000 (14:12 +0100)] 
libblkid: check returns [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agofsck.cramfs: check returns [coverity scan]
Karel Zak [Wed, 27 Mar 2013 13:12:23 +0000 (14:12 +0100)] 
fsck.cramfs: check returns [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibblkid: fix NTFS prober on big-endian machines
Karel Zak [Wed, 27 Mar 2013 10:37:57 +0000 (11:37 +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 <kzak@redhat.com>
12 years agolibmount: fix user-mount by root for mount.<type> helpers
Karel Zak [Tue, 26 Mar 2013 15:05:07 +0000 (16:05 +0100)] 
libmount: fix user-mount by root for mount.<type> helpers

Append options like "exec" "suid" and "dev" to mount.<type> 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 <kzak@redhat.com>
12 years agodocs: add note about /var/lib/hwclock to TODO
Karel Zak [Tue, 26 Mar 2013 12:48:25 +0000 (13:48 +0100)] 
docs: add note about /var/lib/hwclock to TODO

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoschedutils: don't apply -a without -p
Daniel Stodden [Mon, 25 Mar 2013 09:33:59 +0000 (02:33 -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 <daniel.stodden@gmail.com>
12 years agortcwake: clean up usage
Karel Zak [Tue, 26 Mar 2013 11:14:31 +0000 (12:14 +0100)] 
rtcwake: clean up usage

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoinclude/pathnames: rename _PATH_ADJPATH to _PATH_ADJTIME
Karel Zak [Tue, 26 Mar 2013 10:45:45 +0000 (11:45 +0100)] 
include/pathnames: rename _PATH_ADJPATH to _PATH_ADJTIME

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agortcwake: add --adjfile command line option
Karel Zak [Tue, 26 Mar 2013 10:16:12 +0000 (11:16 +0100)] 
rtcwake: add --adjfile command line option

 ... for better compatibility with hwclock.

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agosulogin: couple of obvious fixes for non-linux systems
Samuel Thibault [Fri, 22 Mar 2013 13:41:47 +0000 (14:41 +0100)] 
sulogin: couple of obvious fixes for non-linux systems

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agodocs: arch is gone, use delpart as usage() function example
Sami Kerola [Thu, 21 Mar 2013 21:47:15 +0000 (21:47 +0000)] 
docs: arch is gone, use delpart as usage() function example

The arch.c was removed in commit 27abd809.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoblkid: use xalloc.h when possible
Sami Kerola [Thu, 21 Mar 2013 21:47:14 +0000 (21:47 +0000)] 
blkid: use xalloc.h when possible

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agomount: improve --move error message on shared trees
Karel Zak [Mon, 25 Mar 2013 12:58:53 +0000 (13:58 +0100)] 
mount: improve --move error message on shared trees

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibmount: add mnt_table_find_mountpoint()
Karel Zak [Mon, 25 Mar 2013 12:56:31 +0000 (13:56 +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 <kzak@redhat.com>
12 years agolibmount: make libmount.h consistent with code
Karel Zak [Mon, 25 Mar 2013 12:40:06 +0000 (13:40 +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 <kzak@redhat.com>
12 years agolibmount: umount crashes when trying to umount a non-mountpoint
Karel Zak [Mon, 25 Mar 2013 08:17:52 +0000 (09:17 +0100)] 
libmount: umount crashes when trying to umount a non-mountpoint

Reported-by: Mantas Mikulėnas <grawity@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agobuild-sys: release++ (v2.23-rc1) v2.23-rc1
Karel Zak [Fri, 22 Mar 2013 11:34:28 +0000 (12:34 +0100)] 
build-sys: release++ (v2.23-rc1)

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agobuild-sys: keep libuser optional
Karel Zak [Fri, 22 Mar 2013 11:33:27 +0000 (12:33 +0100)] 
build-sys: keep libuser optional

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agodocs: upadte v2.23-ReleaseNotes
Karel Zak [Fri, 22 Mar 2013 09:17:10 +0000 (10:17 +0100)] 
docs: upadte v2.23-ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agodocs: add v2.23-ReleaseNotes
Karel Zak [Fri, 22 Mar 2013 00:01:17 +0000 (01:01 +0100)] 
docs: add v2.23-ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agomount: fix typos in man page
Karel Zak [Thu, 21 Mar 2013 22:56:35 +0000 (23:56 +0100)] 
mount: fix typos in man page

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agodocs: update AUTHORS file
Karel Zak [Thu, 21 Mar 2013 22:29:45 +0000 (23:29 +0100)] 
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agopo: merge changes
Karel Zak [Thu, 21 Mar 2013 22:19:54 +0000 (23:19 +0100)] 
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agopo: add hr.po (from translationproject.org)
Tomislav Krznar [Thu, 21 Mar 2013 22:08:23 +0000 (23:08 +0100)] 
po: add hr.po (from translationproject.org)

12 years agopo: update vi.po (from translationproject.org)
Trần Ngọc Quân [Thu, 21 Mar 2013 22:08:23 +0000 (23:08 +0100)] 
po: update vi.po (from translationproject.org)

12 years agopo: update fr.po (from translationproject.org)
David Prévot [Thu, 21 Mar 2013 22:08:23 +0000 (23:08 +0100)] 
po: update fr.po (from translationproject.org)

12 years agopo: update cs.po (from translationproject.org)
Petr Pisar [Thu, 21 Mar 2013 22:08:23 +0000 (23:08 +0100)] 
po: update cs.po (from translationproject.org)

12 years agotests: update build tests
Karel Zak [Thu, 21 Mar 2013 21:35:11 +0000 (22:35 +0100)] 
tests: update build tests

 * remove ld-linux-* from output
 * findmnt linked with libudev
 * lslocks linked with libmount
 * uuidd linked with librt
 * static binaries are no more enabled by default
 * chfn/chsh linked with libuser
 * add nsenter, runuser, setpriv

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agotests: add chfnsh build tests
Karel Zak [Thu, 21 Mar 2013 21:34:35 +0000 (22:34 +0100)] 
tests: add chfnsh build tests

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agobuild-sys: set dependence fdisk -> libfdisk -> libuuid
Karel Zak [Thu, 21 Mar 2013 12:22:10 +0000 (13:22 +0100)] 
build-sys: set dependence fdisk -> libfdisk -> libuuid

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agobuild-sys: lslocks depends on libmount
Karel Zak [Thu, 21 Mar 2013 12:13:23 +0000 (13:13 +0100)] 
build-sys: lslocks depends on libmount

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agobuild-sys: don't use libs from pkg-config from libuser
Karel Zak [Thu, 21 Mar 2013 12:12:52 +0000 (13:12 +0100)] 
build-sys: don't use libs from pkg-config from libuser

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agobuild-sys: don't use nested BUILD_*
Karel Zak [Thu, 21 Mar 2013 12:11:09 +0000 (13:11 +0100)] 
build-sys: don't use nested BUILD_*

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agohwclock: cleanup _() usage in synchronize_to_clock_tick_rtc()
Karel Zak [Thu, 21 Mar 2013 07:56:15 +0000 (08:56 +0100)] 
hwclock: cleanup _() usage in synchronize_to_clock_tick_rtc()

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agohwclock: don't confuse users with select() timeout warning
Karel Zak [Thu, 21 Mar 2013 07:51:22 +0000 (08:51 +0100)] 
hwclock: don't confuse users with select() timeout warning

Reported-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoraw: fix "Error setting raw device: Success"
Karel Zak [Thu, 21 Mar 2013 07:23:36 +0000 (08:23 +0100)] 
raw: fix "Error setting raw device: Success"

 # raw /dev/raw/raw1 253 40
 raw: Error setting raw device:Success

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=923820
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agofdisk: remove unwanted operator [smatch scan]
Karel Zak [Thu, 21 Mar 2013 07:12:35 +0000 (08:12 +0100)] 
fdisk: remove unwanted operator [smatch scan]

Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoipcs: fix compiler warning [clang -Wuninitialized]
Karel Zak [Wed, 20 Mar 2013 14:20:47 +0000 (15:20 +0100)] 
ipcs: fix compiler warning [clang -Wuninitialized]

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoscript: use __noreturn__ for really last function [clang -Winvalid-noreturn]
Karel Zak [Wed, 20 Mar 2013 14:17:13 +0000 (15:17 +0100)] 
script: use __noreturn__ for really last function [clang -Winvalid-noreturn]

Use 'noreturn' for done() only.

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agobuild-sys: check for security_get_initial_context()
Karel Zak [Wed, 20 Mar 2013 13:59:21 +0000 (14:59 +0100)] 
build-sys: check for security_get_initial_context()

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agolibfdisk: (gpt) rmeove xalloc calls
Karel Zak [Wed, 20 Mar 2013 13:46:03 +0000 (14:46 +0100)] 
libfdisk: (gpt) rmeove xalloc calls

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agoremove duplicate includes
Karel Zak [Wed, 20 Mar 2013 13:40:19 +0000 (14:40 +0100)] 
remove duplicate includes

Signed-off-by: Karel Zak <kzak@redhat.com>
12 years agodocs: add AVAILABILITY section to isosize man page, and tweak wording
Benno Schulenberg [Sun, 17 Mar 2013 21:23:45 +0000 (22:23 +0100)] 
docs: add AVAILABILITY section to isosize man page, and tweak wording

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>