/mandos/trunk

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

« back to all changes in this revision

Viewing changes to plugins.d/mandos-client.c

* mandos (Client.checked_ok): Set "expires" after setting timeout.
  (MultiprocessingMixIn.process_request): Return process object.
  (MultiprocessingMixInWithPipe.process_request): Receive proc object
                                                  and pass it to
                                                  add_pipe.  Do not
                                                  use super().
  (MultiprocessingMixInWithPipe.add_pipe): Take "proc" argument.  All
                                           callers changed.
  (MandosServer.add_pipe): Take "proc" argument.  All callers changed.
  (MandosServer.handle_ipc): Take "proc" argument.  All callers
                             changed.  Wait for process completion
                             when pipe closes.
  (main/cleanup): Remove any zombies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 * along with this program.  If not, see
27
27
 * <http://www.gnu.org/licenses/>.
28
28
 * 
29
 
 * Contact the authors at <mandos@fukt.bsnet.se>.
 
29
 * Contact the authors at <mandos@recompile.se>.
30
30
 */
31
31
 
32
32
/* Needed by GPGME, specifically gpgme_data_seek() */
127
127
bool debug = false;
128
128
static const char mandos_protocol_version[] = "1";
129
129
const char *argp_program_version = "mandos-client " VERSION;
130
 
const char *argp_program_bug_address = "<mandos@fukt.bsnet.se>";
 
130
const char *argp_program_bug_address = "<mandos@recompile.se>";
131
131
static const char sys_class_net[] = "/sys/class/net";
132
132
char *connect_to = NULL;
133
133