summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-link-bus.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* networkd: link_object_find - don't accept invalid inputTom Gundersen2015-02-091-1/+2
| | | | Reported by Zbigniew.
* networkd: bus - switch to properly escaped object pathsTom Gundersen2015-02-091-2/+13
|
* networkd: use valid bus pathsMantas Mikulėnas2015-02-081-2/+3
| | | | | | 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.
* networkd: gracefully handle failure to emit signals when dbus is not connectedTom Gundersen2015-02-051-0/+3
| | | | When we get kdbus we don't need these hackse.
* networkd: add basic dbus APITom Gundersen2015-02-051-0/+122
Only the very basics, more to come. For now: $ busctl tree org.freedesktop.network1 └─/org/freedesktop/network1 └─/org/freedesktop/network1/link ├─/org/freedesktop/network1/link/1 ├─/org/freedesktop/network1/link/2 ├─/org/freedesktop/network1/link/3 ├─/org/freedesktop/network1/link/4 ├─/org/freedesktop/network1/link/5 ├─/org/freedesktop/network1/link/6 ├─/org/freedesktop/network1/link/7 ├─/org/freedesktop/network1/link/8 └─/org/freedesktop/network1/link/9 $ busctl introspect org.freedesktop.network1 /org/freedesktop/network1 NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.network1.Manager interface - - - .OperationalState property s "carrier" emits-change $ busctl introspect org.freedesktop.network1 /org/freedesktop/network1/link/1 NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.network1.Link interface - - - .AdministrativeState property s "unmanaged" emits-change .OperationalState property s "carrier" emits-change