plugin-runner: Release memory and close FD's correctly in all cases.
* plugins.d/mandos-client.c (main): Init "direntries" to NULL. Close "dir_fd" at fallback label. Do not free "direntries" if scandirat() or scandir() failed. Do free(direntries) at fallback label.
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
47
** TODO [#B] use scandirat(3) instead of readdir(3)
48
*** Must wait until GNU libc 2.15
46
49
** TODO [#C] use same file name rules as run-parts(8)
47
50
** kernel command line option for debug info
48
51
68
71
** TODO Use python-tlslite?
69
72
** TODO D-Bus AddClient() method on server object
70
73
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
74
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal :2:
75
TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
76
TODO Can use "invalidates" annotation to also emit on changed secret.
71
77
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2: