/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: 2019-02-10 05:45:25 UTC
  • mfrom: (237.4.102 release)
  • Revision ID: teddy@recompile.se-20190210054525-jo08spmpijwcrorc
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 */
586
587
    default:
587
588
      return ARGP_ERR_UNKNOWN;
588
589
    }
1092
1093
    
1093
1094
    new_plugin->pid = pid;
1094
1095
    new_plugin->fd = pipefd[0];
1095
 
    
 
1096
 
 
1097
    if(debug){
 
1098
      fprintf(stderr, "Plugin %s started (PID %" PRIdMAX ")\n",
 
1099
              new_plugin->name, (intmax_t) (new_plugin->pid));
 
1100
    }
 
1101
 
1096
1102
    /* Unblock SIGCHLD so signal handler can be run if this process
1097
1103
       has already completed */
1098
1104
    ret = (int)TEMP_FAILURE_RETRY(sigprocmask(SIG_UNBLOCK,