/mandos/release

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

« back to all changes in this revision

Viewing changes to plugin-runner.c

  • Committer: Teddy Hogeborn
  • Date: 2014-05-12 21:02:38 UTC
  • mto: (237.7.272 trunk)
  • mto: This revision was merged to the branch mainline in revision 313.
  • Revision ID: teddy@recompile.se-20140512210238-t6o8b1ieeojrs0xl
Do not run self-tests when building arch-indep Debian package.

* debian/rules (override_dh_auto_test-arch): New; does nothing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
985
985
    ret = set_cloexec_flag(pipefd[0]);
986
986
    if(ret < 0){
987
987
      error(0, errno, "set_cloexec_flag");
988
 
      TEMP_FAILURE_RETRY(close(pipefd[0]));
989
 
      TEMP_FAILURE_RETRY(close(pipefd[1]));
990
988
      exitstatus = EX_OSERR;
991
989
      goto fallback;
992
990
    }
993
991
    ret = set_cloexec_flag(pipefd[1]);
994
992
    if(ret < 0){
995
993
      error(0, errno, "set_cloexec_flag");
996
 
      TEMP_FAILURE_RETRY(close(pipefd[0]));
997
 
      TEMP_FAILURE_RETRY(close(pipefd[1]));
998
994
      exitstatus = EX_OSERR;
999
995
      goto fallback;
1000
996
    }
1014
1010
    } while(pid == -1 and errno == EINTR);
1015
1011
    if(pid == -1){
1016
1012
      error(0, errno, "fork");
1017
 
      TEMP_FAILURE_RETRY(sigprocmask(SIG_UNBLOCK,
1018
 
                                     &sigchld_action.sa_mask, NULL));
1019
 
      TEMP_FAILURE_RETRY(close(pipefd[0]));
1020
 
      TEMP_FAILURE_RETRY(close(pipefd[1]));
1021
1013
      exitstatus = EX_OSERR;
1022
1014
      goto fallback;
1023
1015
    }