]>
git.ipfire.org Git - thirdparty/util-linux.git/log
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>
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>
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>
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>
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>
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>
Karel Zak [Fri, 5 Apr 2013 11:07:59 +0000 (13:07 +0200)]
fsck: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
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>
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>
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>
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>
Karel Zak [Fri, 5 Apr 2013 10:32:34 +0000 (12:32 +0200)]
mount: add --read-write 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Karel Zak [Thu, 21 Mar 2013 22:19:54 +0000 (23:19 +0100)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Tomislav Krznar [Thu, 21 Mar 2013 22:08:23 +0000 (23:08 +0100)]
po: add hr.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)
David Prévot [Thu, 21 Mar 2013 22:08:23 +0000 (23:08 +0100)]
po: update fr.po (from translationproject.org)
Petr Pisar [Thu, 21 Mar 2013 22:08:23 +0000 (23:08 +0100)]
po: update cs.po (from translationproject.org)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Karel Zak [Wed, 20 Mar 2013 13:40:19 +0000 (14:40 +0100)]
remove duplicate includes
Signed-off-by: Karel Zak <kzak@redhat.com>
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>
Benno Schulenberg [Sun, 17 Mar 2013 21:05:19 +0000 (22:05 +0100)]
docs: make the section AVAILABILITY always come last in man pages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Sun, 17 Mar 2013 20:59:21 +0000 (21:59 +0100)]
docs: normalize formatting of lslocks man page
Also alphabetize the options and improve some wording.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Sun, 17 Mar 2013 19:39:12 +0000 (20:39 +0100)]
docs: normalize formatting of wipefs man page
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Mon, 4 Mar 2013 20:01:29 +0000 (21:01 +0100)]
docs: normalize formatting of findmnt man page
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Fri, 1 Mar 2013 21:50:05 +0000 (22:50 +0100)]
docs: sort the options in findmnt man page alphabetically
Also improve wording and formatting a bit.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Fri, 1 Mar 2013 21:18:30 +0000 (22:18 +0100)]
blkid: also accept -V for displaying version information
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>