chiark / gitweb /
networkd: use valid bus paths
authorMantas Mikul─Śnas <grawity@gmail.com>
Fri, 6 Feb 2015 20:35:14 +0000 (22:35 +0200)
committerTom Gundersen <teg@jklm.no>
Sun, 8 Feb 2015 15:34:27 +0000 (16:34 +0100)
commit02f500532e4823584aae43cbe762914b4a0c0254
tree765929367ab599abbc639361698923bdadc7a5d6
parentb8719ebb57961f93a9aeeb49f0b9ba1f2bab7068
networkd: use valid bus paths

Object path components must start with [A-Za-z_] (AFAIK).
Also the value of 'p' is undefined if asprintf fails.
Compare to user_bus_path() in src/login/logind-user-dbus.c:281.
src/network/networkd-link-bus.c