/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/askpass-fifo.c

  • 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:
29
29
#include <iso646.h>             /* and */
30
30
#include <errno.h>              /* errno, EEXIST */
31
31
#include <stdio.h>              /* perror() */
32
 
#include <stdlib.h>             /* EXIT_FAILURE, NULL, size_t, free(), 
 
32
#include <stdlib.h>             /* EXIT_FAILURE, NULL, size_t, free(),
33
33
                                   realloc(), EXIT_SUCCESS */
34
34
#include <fcntl.h>              /* open(), O_RDONLY */
35
35
#include <unistd.h>             /* read(), close(), write(),