condition: unify condition logic in one file

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
shared: create files even if the SELinux policy has no context for them

The SELinux policy defines no context for some files. E.g.:
  $ matchpathcon /run/lock/subsys /dev/mqueue
  /run/lock/subsys        <<none>>
  /dev/mqueue     <<none>>

We still need to be able to create them.
In this case selabel_lookup_raw() returns ENOENT. We should then skip
setfscreatecon(), but still return success.
It was broken since c34255bdb2 ("label: unify code to make directories,
symlinks").

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
util: simplify proc_cmdline() to reuse get_process_cmdline()

Also, make all parsing of the kernel cmdline non-fatal.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
utf8: when looking at the next unichar, honour the size parameter, in utf8_is_printable_newline()

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
udev: use the systemd logging functions in udev tools

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
src/shared/util.{c,h}: import needed functions from upstream
udev: use properly the systemd logging functions

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
udev: switch to systemd logging functions

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
udev: move global property handling from libudev to udevd

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