lib/strutils: add strtotimeval_or_err()

Signed-off-by: Karel Zak <kzak@redhat.com>
flock: use strtotimeval() from libcommon

Signed-off-by: Karel Zak <kzak@redhat.com>
include: add timer.h

Signed-off-by: Karel Zak <kzak@redhat.com>
flock: use include/timer.h

Signed-off-by: Karel Zak <kzak@redhat.com>
fsfreeze: clean up usage(), add -V

 - clean up usage()
 - add -V,--version
 - print usage() if not action specified
 - update man page

Signed-off-by: Karel Zak <kzak@redhat.com>
include/optutils: make collisions detection between options more robust

 - don't rely on the correct ul_excl_t usage
 - don't print --(null) for non-existing long options

Signed-off-by: Karel Zak <kzak@redhat.com>
fsfreeze: check for collision between options

Signed-off-by: Karel Zak <kzak@redhat.com>
include/timer: return setitimer return value

Signed-off-by: Karel Zak <kzak@redhat.com>
namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/

This typo causes namespace.h to always unconditionally define
CLONE_NEWNS rather than using the system definition.

Bug present since the initial version of unshare in commit
4205f1fda1ac32046125a2e0f3937b666186bfab.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Anton Cherkashyn <mail@antonc.com>
kill: add pretty printed list output (for compatibility with procps)

 * add -L, --table

References: http://www.freelists.org/post/procps/kill1-consolidation
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
kill: support --list=<signal>

The '=' is expected for optional arguments and required in procps version.

Signed-off-by: Karel Zak <kzak@redhat.com>