summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docs: add note about mount(8) options to TODOKarel Zak2012-02-231-2/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/strutils: move array bounds check in string_to_idarray() to appropriate ↵Chandan B Rajenda2012-02-231-2/+2
| | | | | | | | | | | place. string_to_idarray() will incorrectly exit with an error when the last element of the passed in array gets filled. However it should only exit with an error if there is more input. To fix this move the array bounds check. Signed-off-by: Chandan B Rajenda <chandan@linux.vnet.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* libblkid: add BLKID_PARTS_MAGIC to blkid_do_wipe() docsKarel Zak2012-02-221-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update copyright yearsKarel Zak2012-02-222-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup docsKarel Zak2012-02-228-32/+55
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: update docsKarel Zak2012-02-221-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: remove teaser proto for mnt_table_get_nameDave Reisner2012-02-223-3/+0Star
| | | | | | | | | | This function was never implemented, but the proto has existed since the inception of the library. As the libmnt_table struct doesn't include a member necessary to carry the name of the table, simply discard this prototype. If ever a need to break ABI comes up, perhaps this could be revisited. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
* docs: trivial documentation fixes and improvementsPetr Uzel2012-02-229-32/+32
| | | | Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
* cytune.8: fix formattingPetr Uzel2012-02-221-2/+2
| | | | | | | W: manual-page-warning /usr/share/man/man8/cytune.8.gz 178: warning: macro `chars',' not defined (possibly missing space after `ch') Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
* build-sys: fix building of wallPetr Uzel2012-02-221-1/+1
| | | | Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
* mkfs.bfs: add setlocaleDavidlohr Bueso2012-02-221-0/+4
| | | | Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* docs: add note about losetup to TODOKarel Zak2012-02-211-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: add note about fdisk to TODOKarel Zak2012-02-211-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: make minix tests more robustKarel Zak2012-02-212-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* unshare: add note about MS_SHARED to unshare.1Karel Zak2012-02-211-3/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add tools/ to EXTRA_DISTKarel Zak2012-02-211-0/+1
| | | | | Reported-by: Petr Uzel <petr.uzel@suse.cz> Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/fsprobe: mar this internal API as deprecatedKarel Zak2012-02-132-0/+7
| | | | | | | | | | | | The fsprobe has been added many years ago to provide unified API for - built-in libblkid - e2fsprogs libblkid - udev libvolume_id these all is unnecessary as we strictly depends on built-in libblkid. Signed-off-by: Karel Zak <kzak@redhat.com>
* login: add LOGIN_RETRIES, cleanup retries check codeKarel Zak2012-02-102-3/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* setsid: add "+" to getopt_long()Harald Hoyer2012-02-091-1/+1
| | | | | | | | | | | | otherwise setsid wants to interpret <program> arguments $ setsid sh -i setsid: invalid option -- 'i' Usage: setsid [options] <program> [arguments ...] Signed-off-by: Harald Hoyer <harald@redhat.com>
* tunelp: free allocation, use xallocSami Kerola2012-02-081-2/+2
| | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* switch_root: close open file after usage [cppcheck]Sami Kerola2012-02-081-0/+2
| | | | | | [sys-utils/switch_root.c:159]: (error) Resource leak: cfd Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* chcpu: use appropriate variable type [cppcheck]Sami Kerola2012-02-081-2/+2
| | | | | | [sys-utils/chcpu.c:251]: (style) Checking if unsigned variable 'maxcpus' is less than zero. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* taskset: use appropriate variable type [cppcheck]Sami Kerola2012-02-081-1/+1
| | | | | | [schedutils/taskset.c:182]: (style) Checking if unsigned variable 'ncpus' is less than zero. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* libblkid: verify arroy bound before reference [cppcheck]Sami Kerola2012-02-081-1/+1
| | | | | | [libblkid/src/read.c:428]: (style) Array index end is used before limits check Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* libblkid: allow return value to indicate error [cppcheck]Sami Kerola2012-02-081-1/+1
| | | | | | [libblkid/src/probe.c:1207]: (style) Checking if unsigned variable 'len' is less than zero. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* libblkid: clarify operation order [cppcheck]Sami Kerola2012-02-081-1/+1
| | | | | | [libblkid/src/cache.c:265]: (style) Suspicious condition (assignment+comparison), it can be clarified with parentheses Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* sfdisk: free variable which got the allocation [cppcheck]Sami Kerola2012-02-081-3/+6
| | | | | | | | | [fdisk/sfdisk.c:358]: (error) Memory leak: ss [kzak@redhat.com: - free after error] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: remove redundant declaration [cppcheck]Sami Kerola2012-02-081-4/+0Star
| | | | | | fdisk.h:116:12: warning: redundant redeclaration of 'valid_part_table_flag' [-Wredundant-decls] Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* raw: remove unnecessary return [cppcheck]Sami Kerola2012-02-081-2/+0Star
| | | | | | [disk-utils/raw.c:171]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* mkfs.cramfs: check blocksize user input [cppcheck]Sami Kerola2012-02-081-3/+8
| | | | | | | | | | | | Enhance user input checking and error messaging, while fixing cppcheck warning. [disk-utils/mkfs.cramfs.c:729]: (style) Checking if unsigned variable 'blksize' is less than zero. [kzak@redhat.com: fix coding style] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* mkfs.cramfs: close open file after usage [cppcheck]Sami Kerola2012-02-081-0/+1
| | | | | | [disk-utils/mkfs.cramfs.c:913]: (error) Resource leak: fd Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* libblkid: improve reiserfs and btrfs min. size limitsKarel Zak2012-02-082-3/+3
| | | | | Reported-by: Rogier Goossens <goossens.rogier@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* flock: add missing word »be« to flock.1Paul Menzel2012-02-081-1/+1
|
* flock: fix flock.1 grammar by removing »s«Paul Menzel2012-02-081-1/+1
|
* tools: use gpg-aggent in ko-release-genKarel Zak2012-02-071-1/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.21-rc2)Karel Zak2012-02-062-1/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update v2.21-ReleaseNotesKarel Zak2012-02-061-1/+130
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: remove >> 9 from GPT codeKarel Zak2012-02-061-2/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update AUTHORS fileKarel Zak2012-02-061-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* po: merge changesKarel Zak2012-02-0626-13016/+14497
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add --memcheck toKarel Zak2012-02-061-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: check localtime() resultKarel Zak2012-02-061-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* login: fix leak, improve strtok usageKarel Zak2012-02-061-2/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* vipw: use xalloc.hKarel Zak2012-02-061-1/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: use #ifdef fr selinux specific variablesKarel Zak2012-02-031-2/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: remove uneecessary codeKarel Zak2012-02-031-4/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lsblk: check stat() return codeKarel Zak2012-02-031-5/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* login: allocate buffer with shell nameKarel Zak2012-02-021-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hexdump: make code more robustKarel Zak2012-02-021-3/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/loopdev: remove dead assigment and null deferenceKarel Zak2012-02-021-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>