/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 mandos

  • Committer: Teddy Hogeborn
  • Date: 2009-09-04 16:32:22 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090904163222-l9wp25ng1e5ym0yq
* plugin-runner.c (main): When a plugin is killed by a signal, show
                          the signal name, not just the number, in the
                          debug log message.

* plugins.d/password-prompt.c (termination_handler): Store received
                                                     signal in
                                                     "signal_received".
  (main): If exiting due to signal, re-raise signal received instead
          of returning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        SO_BINDTODEVICE = None
78
78
 
79
79
 
80
 
version = "1.0.8"
 
80
version = "1.0.11"
81
81
 
82
82
logger = logging.Logger(u'mandos')
83
83
syslogger = (logging.handlers.SysLogHandler
811
811
                    client = c
812
812
                    break
813
813
            else:
814
 
                ipc.write(u"NOTFOUND %s\n" % fpr)
 
814
                ipc.write(u"NOTFOUND %s %s\n"
 
815
                          % (fpr, unicode(self.client_address)))
815
816
                session.bye()
816
817
                return
817
818
            # Have to check if client.still_valid(), since it is
900
901
    def process_request(self, request, client_address):
901
902
        """Overrides and wraps the original process_request().
902
903
        
903
 
        This function creates a new pipe in self.pipe 
 
904
        This function creates a new pipe in self.pipe
904
905
        """
905
906
        self.pipe = os.pipe()
906
907
        super(ForkingMixInWithPipe,