]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Sami Kerola [Sat, 14 Jul 2012 21:50:15 +0000 (23:50 +0200)]
look: remove extra semicolon
The both macro SKIP_PAST_NEWLINE and location where macro is used will
not need semicolon at the end of line.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 14 Jul 2012 21:47:07 +0000 (23:47 +0200)]
utmpdump: remove unused variable
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 14 Jul 2012 21:44:56 +0000 (23:44 +0200)]
swapon: remove unused variables
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 14 Jul 2012 21:35:41 +0000 (23:35 +0200)]
lib/loopdev: minor bug fix: add missing semicolon
Missing semicolon made test_loop_info() to return function
loopcxt_enable_debug() return value, which happen to be void. I
suspect the loopcxt_enable_debug() was usually not executed, while it
should be.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 14 Jul 2012 21:16:28 +0000 (23:16 +0200)]
lib/pager: minor compiler warning fixes
Add missing function prototype, and declare structure before use of it.
lib/pager.c:162:6: warning: no previous prototype for function 'setup_pager' [-Wmissing-prototypes]
lib/pager.c:20:29: warning: tentative definition of variable with internal linkage has incomplete non-array type 'struct child_process' [-Wtentative-definition-incomplete-type]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 14 Jul 2012 20:25:25 +0000 (22:25 +0200)]
libblkid: remove duplicate entries in symbols
The commit
a0487b1cb5beffb8f6783476664b01e8833e0ea8 added symbol
dublicates. The symbols should only be listed in BLKID_1.0 segment.
/usr/bin/ld.gold: warning: using 'BLKID_1.0' as version for 'blkid_probe_all' which is also named in version 'BLKID_2.15' in script
/usr/bin/ld.gold: warning: using 'BLKID_1.0' as version for 'blkid_probe_all_new' which is also named in version 'BLKID_2.15' in script
copying selected object files to avoid basename conflicts...
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Thu, 12 Jul 2012 14:33:52 +0000 (16:33 +0200)]
login: close tty before vhangup()
Let's close all tty file descriptors before vhangup() call.
References: https://lkml.org/lkml/2012/6/5/145
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 12 Jul 2012 14:31:22 +0000 (16:31 +0200)]
agetty: close tty before vhangup()
Let's close all tty file descriptors if called with --hangup option.
References: https://lkml.org/lkml/2012/6/5/145
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 11 Jul 2012 16:15:21 +0000 (18:15 +0200)]
agetty: make tcsetpgrp() optional
The session setup TIOCSCTTY is optional, so tcsetpgrp() that depends
on controlling terminal should be optional too.
Reported-by: Hilko Bengen <bengen@debian.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 11 Jul 2012 16:00:09 +0000 (18:00 +0200)]
build-sys: add missing files
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Wed, 27 Jun 2012 21:24:56 +0000 (23:24 +0200)]
swapon: fix --summary output regression
Commit
64b588814e5f081a7ab37f820984aa7a2de9eee9 changed --summary
header alignment, and usage of spaces vs tabs in output.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Wed, 27 Jun 2012 20:51:34 +0000 (22:51 +0200)]
swapon: make --show size to be human readable by default
Cc: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sun, 24 Jun 2012 20:43:48 +0000 (22:43 +0200)]
swapon: add --show option
The --show uses lib/tt.c, which allows user to specify columns he is
interested of, and avoids using hard coded field sizes which may be
problematic when system has large enough swap.
[kzak@redhat.com: - improve usage(), remove unused code]
Cc: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sat, 23 Jun 2012 07:17:00 +0000 (09:17 +0200)]
uuidd: use configured run state directory in manual etc
[kzak@redhat.com: - minor clean up in configure.in]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sat, 23 Jun 2012 07:02:36 +0000 (09:02 +0200)]
agetty: use configured run state directory
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 23 Jun 2012 06:56:13 +0000 (08:56 +0200)]
uuidd: use run configured state directory
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sat, 23 Jun 2012 05:05:14 +0000 (07:05 +0200)]
build-sys: change --localstatedir to /run
Enable user to define where run state files are wrote. Default for
these files is /run. See reference for rationale why /var/run is no
longer the default.
Reference: http://lists.fedoraproject.org/pipermail/devel/2011-March/150031.html
CC: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Tue, 10 Jul 2012 09:23:35 +0000 (11:23 +0200)]
utmpdump: cleanup file descriptor usage
- don't support --follow for stdin at all
- inotify based implementation closes the file, so don't close it in
main() again
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sun, 8 Jul 2012 21:20:04 +0000 (23:20 +0200)]
utmpdump: encourage users not to follow stdin
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 10 Jul 2012 08:59:58 +0000 (10:59 +0200)]
utmpdump: use inotify to when following file
Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 8 Jul 2012 19:03:14 +0000 (21:03 +0200)]
utmpdump: fixes based on static analysis [cppcheck]
[utmpdump.c:82]: (style) The function 'unspace' is never used
[utmpdump.c:131]: (style) The scope of the variable 't' can be reduced
[utmpdump.c:167]: (warning) scanf without field width limits can crash with huge input data
[kzak@redhat.com: - don't use scanf field width limits for integers]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 9 Jul 2012 20:26:27 +0000 (22:26 +0200)]
fix buffer overrun in some calls to sscanf
Reported-by: Sergei Antonov <saproj@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Wed, 4 Jul 2012 20:33:15 +0000 (22:33 +0200)]
utmpdump: white space fix
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 3 Jul 2012 19:35:09 +0000 (21:35 +0200)]
docs: clean up utmpdump.1 manual
Align with Documentation/howto-man-page.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Conflicts:
login-utils/utmpdump.1
Karel Zak [Mon, 9 Jul 2012 15:26:15 +0000 (17:26 +0200)]
libblkid: cleanup _attribute__ usage
Karel Zak [Mon, 9 Jul 2012 15:17:59 +0000 (17:17 +0200)]
Merge branch 'master' of https://github.com/dankamongmen/util-linux
Björn Jacke [Wed, 4 Jul 2012 20:00:08 +0000 (22:00 +0200)]
docs: mention the required mount options for journaled version 2 quota
Björn Jacke [Wed, 4 Jul 2012 12:49:43 +0000 (14:49 +0200)]
docs: add quota mount option support description for ext2
Bernhard Voelker [Tue, 3 Jul 2012 07:42:55 +0000 (09:42 +0200)]
utmpdump: document optional filename argument
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Bernhard Voelker [Thu, 28 Jun 2012 14:24:56 +0000 (16:24 +0200)]
findmnt: fix typo in manpage
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Dave Reisner [Sat, 30 Jun 2012 16:01:18 +0000 (12:01 -0400)]
build-sys: ensure BUILD_CFDISK is always defined
This avoids an error when configuring without ncurses:
configure: error: conditional "BUILD_CFDISK" was never defined.
Usually this means the macro was only invoked conditionally.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Karel Zak [Mon, 9 Jul 2012 15:03:19 +0000 (17:03 +0200)]
docs: remove unused config/texinfo.tex
Signed-off-by: Karel Zak <kzak@redhat.com>
Bernhard Voelker [Wed, 27 Jun 2012 13:23:05 +0000 (15:23 +0200)]
docs: fix typos found by misspellings
The tool misspellings (https://github.com/lyda/misspell-check)
detected several typos. Command used:
$ git ls-files | grep -v ^po/ | misspellings -f -
* Documentation/releases/v2.18-ReleaseNotes: Fix typo in news entry.
* NEWS: Likewise.
* config/texinfo.tex: Fix typo in comments.
* libmount/src/context.c: Fix typo in comment.
* libmount/src/fs.c: Likewise.
* login-utils/login.c: Likewise.
* login-utils.su.1: Fix typo in man page.
* sys-utils/chcpu.c: Fix typo in error message.
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Karel Zak [Mon, 9 Jul 2012 14:53:13 +0000 (16:53 +0200)]
build-sys: add -Wredundant-decls
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 9 Jul 2012 14:44:25 +0000 (16:44 +0200)]
build-sys: support separate libintl
Addresses: https://github.com/karelzak/util-linux/pull/13
Reported-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 9 Jul 2012 14:23:51 +0000 (16:23 +0200)]
build-sys: always use default $(LDADD)
The global variable $(LDADD) is always used if program_LDADD is
not specified. Let's use $LDADD everywhere to avoid exceptions for
people who need to specify global $LDADD.
Signed-off-by: Karel Zak <kzak@redhat.com>
nick black [Sat, 7 Jul 2012 15:42:35 +0000 (11:42 -0400)]
use proper printf format spec %lu
nick black [Sat, 7 Jul 2012 15:42:17 +0000 (11:42 -0400)]
use memcpy() to cope with possible misalignment
nick black [Sat, 7 Jul 2012 15:41:15 +0000 (11:41 -0400)]
properly check for ansi c99 vsnprint truncation
nick black [Sat, 7 Jul 2012 15:40:45 +0000 (11:40 -0400)]
use GCC format __attribute__ on sprinf
Karel Zak [Wed, 4 Jul 2012 11:40:01 +0000 (13:40 +0200)]
hwclock: don't set time for --systz
Not sure why, but the current --systz uses non-NULL timeval for
settimeofday(). It means that build-in kernel warp clock mechanism is
not used and the system time is always modified.
The built-in kernel implementation allows to move the clock by
timezone only for very first settimeofday() call.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 29 Jun 2012 15:34:12 +0000 (17:34 +0200)]
utmpdump: use xalloc.h, minor coding style changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 29 Jun 2012 15:27:40 +0000 (17:27 +0200)]
utmpdump: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 29 Jun 2012 15:22:42 +0000 (17:22 +0200)]
utmpdump: add long options
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 29 Jun 2012 15:09:51 +0000 (17:09 +0200)]
utmpdump: use err.h stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 29 Jun 2012 14:59:32 +0000 (16:59 +0200)]
utmpdump: add NLS and closestream support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 29 Jun 2012 14:56:04 +0000 (16:56 +0200)]
utmpdump: remove dead code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 29 Jun 2012 14:52:30 +0000 (16:52 +0200)]
utmpdump: remove libc5 support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 29 Jun 2012 14:43:37 +0000 (16:43 +0200)]
utmpdump: cleanup comments, funcs definition lines
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 29 Jun 2012 14:34:46 +0000 (16:34 +0200)]
utmpdump: new command, merge from sysvinit
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Jun 2012 13:42:06 +0000 (15:42 +0200)]
findmnt: add TID column
just in case we read from more mountinfo files.
For example get mountpoint from the current namespace which is invisible
for initd (PID=1):
# unsahre -m bash
# mount /dev/sdb /mnt/test
# echo $$
30070
# findmnt -n -o TARGET,TID,SOURCE --task 1 --task $$ | \
sort -u --key=1,1 | awk ' ($2 != 1) { print $0 }'
/mnt/test 30070 /dev/sdb
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Jun 2012 13:40:16 +0000 (15:40 +0200)]
libmount: save task ID for mountinfo tiles
Add new function mnt_fs_get_tid() to get task ID for the given filesystem.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Jun 2012 11:51:34 +0000 (13:51 +0200)]
findmnt: add --task <tid> option
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Jun 2012 11:20:31 +0000 (13:20 +0200)]
findmnt: don't use tree-like output if more -F options specified
Signed-off-by: Karel Zak <kzak@redhat.com>
Dave Reisner [Wed, 27 Jun 2012 13:47:20 +0000 (09:47 -0400)]
findmnt: add FSROOT column
Provide this separately in an unambiguous format, mainly to avoid the
need for scripts to parse the source of a btrfs subvol or bind mount.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Karel Zak [Wed, 27 Jun 2012 12:04:03 +0000 (14:04 +0200)]
swapon: fix typo
Reported-by: Manan Tuli <mt_void@yahoo.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 27 Jun 2012 09:27:36 +0000 (11:27 +0200)]
docs: add note about non-recursive build-sys
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 21:03:22 +0000 (23:03 +0200)]
build-sys: add sd-daemon.h to Makemodule.am
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 18:57:45 +0000 (20:57 +0200)]
build-sys: add pager.h to Makemodule.am
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 12 Jun 2012 11:14:06 +0000 (13:14 +0200)]
build-sys: fix swaplabel
Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 6 Jun 2012 19:31:59 +0000 (21:31 +0200)]
build-sys: create static uuid_generate_*.3 files
It seems more simple to create small three files with man page links
than generate the files on the fly.
Note that the libuuid/man directory is not in builddir by default so
you have to create proper directory and then create the man pages...
too complex task for this three tiny files.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 16:42:49 +0000 (18:42 +0200)]
build-sys: enable libmount and libblkid docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 6 Jun 2012 11:28:06 +0000 (13:28 +0200)]
build-sys: cleanup .gitignore files
- move all binaries to top-level .gitignore
- remove unnecessary */.gitignore files
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 4 Jun 2012 08:36:37 +0000 (10:36 +0200)]
build-sys: convert lib/ to libcommon.la
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 16:31:53 +0000 (18:31 +0200)]
build-sys: remove include-Makefile.am
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 1 Jun 2012 14:15:29 +0000 (16:15 +0200)]
build-sys: rename fdisk -> fdisks/, convert to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 1 Jun 2012 13:30:56 +0000 (15:30 +0200)]
build-sys: convert tests/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 16:24:16 +0000 (18:24 +0200)]
build-sys: move partx to disk-utils/
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 16:20:00 +0000 (18:20 +0200)]
build-sys: convert disk-utils/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 16:17:22 +0000 (18:17 +0200)]
build-sys: move getopt to misc-utils/
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 16:14:36 +0000 (18:14 +0200)]
build-sys: convert misc-utils/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 31 May 2012 09:15:07 +0000 (11:15 +0200)]
build-sys: move hwclock to sys-utils/
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 16:06:21 +0000 (18:06 +0200)]
build-sys: convert sys-utils/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 31 May 2012 08:55:14 +0000 (10:55 +0200)]
tools: cleanup config-gen.d
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 31 May 2012 08:03:35 +0000 (10:03 +0200)]
build-sys: cleanup mount stuff in configure.am
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 31 May 2012 08:02:52 +0000 (10:02 +0200)]
build-sys: add UL_CONFLICTS_BUILD m4 macro
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 30 May 2012 15:36:44 +0000 (17:36 +0200)]
mount: (old) remove hybrid libmount code
The hybrid version with old mount and new mtab management from
libmount is not more supported.
Only two versions are supported:
1/ old mount in mount-deprecated/, --enable-deprecated-mount
2/ new sys-utils/mount.c, enabled by default
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 30 May 2012 15:29:01 +0000 (17:29 +0200)]
build-sys: default to new sys-utils/mount.c, add --enable-deprecated-mount
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 30 May 2012 15:17:49 +0000 (17:17 +0200)]
mount: (old) remove mtab lock test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 30 May 2012 15:16:11 +0000 (17:16 +0200)]
build-sys: convert mount/ to module, rename to mount-deprecated/
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 30 May 2012 14:10:11 +0000 (16:10 +0200)]
build-sys: convert login-utils/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 15:53:09 +0000 (17:53 +0200)]
build-sys: convert term-utils/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 30 May 2012 13:02:33 +0000 (15:02 +0200)]
build-sys: convert text-utils/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 15:49:37 +0000 (17:49 +0200)]
build-sys: convert libmount/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 15:44:15 +0000 (17:44 +0200)]
build-sys: convert libblkid/ to module
- create module
- remove unused libblkid/src/tst_types.c test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 23 May 2012 07:37:38 +0000 (09:37 +0200)]
build-sys: convert libuuid/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 22 May 2012 13:57:23 +0000 (15:57 +0200)]
build-sys: convert schedutils/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 22 May 2012 13:56:29 +0000 (15:56 +0200)]
build-sys: define per-test -DTEST_PROGRAM in lib/
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 May 2012 22:54:26 +0000 (00:54 +0200)]
build-sys: convert lib/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 May 2012 13:05:11 +0000 (15:05 +0200)]
build-sys: convert include/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 May 2012 13:02:27 +0000 (15:02 +0200)]
build-system: enable automake subdir-objects
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 May 2012 12:37:28 +0000 (14:37 +0200)]
build-sys: ignore .dirstamp file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Jun 2012 07:53:51 +0000 (09:53 +0200)]
whereis: cleanup man page, add note about $PATH
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=835211
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 21 Jun 2012 11:11:08 +0000 (13:11 +0200)]
tunelp: check fstat return code [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 21 Jun 2012 11:08:18 +0000 (13:08 +0200)]
lsblk: check sysfs_read_u64 return code [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 21 Jun 2012 10:54:31 +0000 (12:54 +0200)]
swaplabel: check blkid_probe_lookup_value() result [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 21 Jun 2012 10:14:34 +0000 (12:14 +0200)]
script: remove unused code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 21 Jun 2012 10:03:27 +0000 (12:03 +0200)]
agetty: more robust debug() macro, check ioctl result [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 21 Jun 2012 09:58:39 +0000 (11:58 +0200)]
lsblk: check ioctl result [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 21 Jun 2012 09:35:45 +0000 (11:35 +0200)]
tests: add lscpu test for box with 64 CPUs
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 4
Vendor ID: GenuineIntel
...
Signed-off-by: Karel Zak <kzak@redhat.com>