src/{libudev,udev}: minor renamings from upstream
src/shared: refactor shared code

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Merge pull request #96 from gentoo/refactor-shared

src/shared: refactor shared code
src/libudev/libudev.sym: mark most symbols as hidden

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
hwdb: update format description and document reloading

https://bugs.freedesktop.org/show_bug.cgi?id=82311

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
udev: never bypass our own logging framework and call vsyslog() directly from udev tools

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
udev: modernize net_id builtin a bit

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
src/shared/cgroup-util.c: code cleanup following upstream

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
src/shared: import many code cleanups from upstream

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
src/shared: import more code cleanups from upstream

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
src/shared: some stylistic changes

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
src/shared/path-util.c: revert change from realpath to canonicalize_file_name

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
src/shared/mkdir.h: add missing func prototype

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
src/scsi_id/Makefile.am,test/Makefile.am: fix build on debian jessie, issue #97

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
update hwdb

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
configure.ac and src/libudev/Makefile.am: bump to 1.10 = upstream 216

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
util: change return value of startswith() to non-const

This way we can use it on non-const strings, and don't end up with a
const'ified result.

This is similar to libc's strstr() which also takes a const string but
returns a non-const one.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
util: change return value of startswith() to non-const

This way we can use it on non-const strings, and don't end up with a
const'ified result.

This is similar to libc's strstr() which also takes a const string but
returns a non-const one.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Document "...|..." udev match syntax

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
keymap: Adjust for more Samsung 900X4 series

Reportedly also applies to NP900X4B, so relax the match to apply to all models
of this series.

https://launchpad.net/bugs/902332

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>