lib/xalloc: add xstrndup()

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid: remove duplicate includes

Signed-off-by: Karel Zak <kzak@redhat.com>
tests: make line(1) optional

Signed-off-by: Karel Zak <kzak@redhat.com>
blkid: use xalloc everywhere

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

Signed-off-by: Karel Zak <kzak@redhat.com>
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add --disable-cytune

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add --disable-bfs

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add --disable-hwclock

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add --disable-fdformat

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: make wall optional in bash-completion

Signed-off-by: Karel Zak <kzak@redhat.com>
docs: update v2.23-ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: release++ (v2.23-rc2)

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: fix mount.nfs segfault, rely on assert() rather than on nonnull

We use
   mnt_optstr_append_option(&o, mnt_fs_get_vfs_options(fs), NULL);

in mount.nfs, unfortunately mnt_optstr_append_option() has been marked
ass nonnull(1, 2). That's wrong because append and prepend should
robust enough to accept NULL as option name.

The patch also removes almost all __attribute__((nonnull). It seems
better to rely on assert() to have usable feedback. In many cases
(nonnull) is premature optimization for the library. This attribute
makes sense for things like strlen() or so...

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=948274
Signed-off-by: Karel Zak <kzak@redhat.com>
tests: use udevadm settle rather than sleep

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: add debug message to guess FS function

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