/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 plugin-runner.c

  • Committer: Teddy Hogeborn
  • Date: 2018-02-12 17:07:19 UTC
  • mfrom: (237.4.96 release)
  • Revision ID: teddy@recompile.se-20180212170719-pg26c4ob584d3xls
Merge from release branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
583
583
      if(arg[0] == '\0'){
584
584
        break;
585
585
      }
586
 
      /* FALLTHROUGH */
587
586
    default:
588
587
      return ARGP_ERR_UNKNOWN;
589
588
    }
1093
1092
    
1094
1093
    new_plugin->pid = pid;
1095
1094
    new_plugin->fd = pipefd[0];
1096
 
 
1097
 
    if(debug){
1098
 
      fprintf(stderr, "Plugin %s started (PID %" PRIdMAX ")\n",
1099
 
              new_plugin->name, (intmax_t) (new_plugin->pid));
1100
 
    }
1101
 
 
 
1095
    
1102
1096
    /* Unblock SIGCHLD so signal handler can be run if this process
1103
1097
       has already completed */
1104
1098
    ret = (int)TEMP_FAILURE_RETRY(sigprocmask(SIG_UNBLOCK,