/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

  • Committer: Teddy Hogeborn
  • Date: 2019-03-10 02:35:22 UTC
  • Revision ID: teddy@recompile.se-20190310023522-cvos2tw2si6t7if3
mandos-ctl: Minimize number of D-Bus calls

* mandos-ctl (Command.run): Now takes a {objpath: properties} dict,
                            followed by optional "bus" and "mandos"
                            arguments.  Use "bus" to connect to
                            clients when dispatching to method
                            run_on_one_client().  All callers changed.
  (IsEnabledCmd.run): New.
  (IsEnabledCmd.run_on_one_client): Remove.
  (ApproveCmd.run_on_one_client): Add busname to debug output.
  (DenyCmd.run_on_one_client): - '' -
  (main): In D-Bus debug output, change "name" to "busname".  Also,
          don't connect to clients, just use the object path as the
          key of the "clients" dict passed to Command.run().
  (TestCmd.clients): Changed to an {objpath: properties} dict.
  (TestCmd.one_client): - '' -
  (TestCmd.bus): New mock bus object having a get_object() method.
Filename Latest Rev Last Changed Committer Comment Size
..
askpass-fifo.c 979 5 years ago Teddy Hogeborn Update copyright year to 2019 * plugins.d/askpass 5.3 KB Diff Download File
askpass-fifo.xml 969 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 5.2 KB Diff Download File
mandos-client.c 975 5 years ago Teddy Hogeborn Fix warnings from -Wimplicit-fallthrough * plugin 86.1 KB Diff Download File
mandos-client.xml 969 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 32.6 KB Diff Download File
password-prompt.c 979 5 years ago Teddy Hogeborn Update copyright year to 2019 * plugins.d/askpass 14 KB Diff Download File
password-prompt.xml 969 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 9.7 KB Diff Download File
plymouth.c 923 6 years ago Teddy Hogeborn Update copyright year to 2018 * DBUS-API: Update 13.3 KB Diff Download File
plymouth.xml 969 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 10.3 KB Diff Download File
splashy.c 923 6 years ago Teddy Hogeborn Update copyright year to 2018 * DBUS-API: Update 11.6 KB Diff Download File
splashy.xml 969 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 10.5 KB Diff Download File
usplash.c 923 6 years ago Teddy Hogeborn Update copyright year to 2018 * DBUS-API: Update 16.1 KB Diff Download File
usplash.xml 969 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 11 KB Diff Download File