Prep v230: Apply missing upstream fixes and updates (6/8) src/login.
tree-wide: rename draw_special_char to special_glyph That function doesn't draw anything on it's own, just returns a string, which sometimes is more than one character. Also remove "DRAW_" prefix from character names, TREE_* and ARROW and BLACK_CIRCLE are unambigous on their own, don't draw anything, and are always used as an argument to special_glyph(). Rename "DASH" to "MDASH", as there's more than one type of dash.
Prep v229: Remove remaining emacs settings [4/6] src/login
Prep v228: Add remaining updates from upstream (3/3) Apply remaining fixes and the performed move of utility functions into their own foo-util.[hc] files on the rest of elogind.
[4/5] Apply missing fixes from upstream
shared: add terminal-util.[ch]
use new name DRAW_TREE_VERTICAL Was renamed in 6b01f1d3911bd7c7eadbb8a3b4375bd3ac05c98f
loginctl: when showing device tree of seats with no devices show something useful
core,logind: libudev usage modernizations Always use cleanup logic and don't eat up errors returned by libudev
core,logind,networkd: check for udev device initialization via enumeration matches Instead of checking each device after we got it, check wuth an enumeration filter instead, to make it more efficient.
sysfs-show.c: return negative error introduced in 1ca208fb4f93e5869704af1812cbff7130a2fc03
Introduce udev object cleanup functions
logind: rename "seat-master" tag to "master-of-seat" We currently enforce that seats are to be named in the form of "seatXXX", i.e. need to begin with the 4 characters "seat". Thus, "seat-master" would qualify as a seat name. As seat names are frequently used as tags on devices, the "seat-master" tag might hence confuse logind if the user decides to name a seat "seat-master". Hence, avoid any ambuigity: let's rename the "seat-master" tag to "master-of-seat".
loginctl: don't show [UACCESS] info in device tree As the tree doesn't really necessarily show all device node devices and only those are marked for uaccess it's kinda pointless showing this at all, since it would give a pretty incomplete impression of the uaccess information.
loginctl: show seat master and uaccess devices in seat-status output
util: nicer tree drawings Draw trees more similar to pstree/findmnt/lsblk/...
util : fallback to plain ASCII drawing if locale is not UTF-8 When printing cgroup and sysfs hierarchies, avoid using UTF-8 box drawing characters if the locale is not UTF-8. https://bugzilla.redhat.com/show_bug.cgi?id=871153
util: split-out path-util.[ch]
relicense to LGPLv2.1 (with exceptions) We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
login: move seat udev rules to login subdir