/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 dracut-module/password-agent.c

  • Committer: teddy at recompile
  • Date: 2020-03-21 16:23:36 UTC
  • mto: This revision was merged to the branch mainline in revision 396.
  • Revision ID: teddy@recompile.se-20200321162336-3wdi81k9x65ffyav
Update Debian Policy version to 4.5.0; no other changes necessary.

* debian/control (Standards-Version): Change to "4.5.0".

Show diffs side-by-side

added added

removed removed

Lines of Context:
868
868
  }
869
869
  close(pipefds[1]);
870
870
 
 
871
  if(pid == -1){
 
872
    error(0, errno, "Failed to fork()");
 
873
    close(pipefds[0]);
 
874
    return false;
 
875
  }
 
876
 
871
877
  if(not add_to_queue(queue, (task_context){
872
878
        .func=wait_for_mandos_client_exit,
873
879
        .pid=pid,
2190
2196
    }
2191
2197
    exit(EXIT_SUCCESS);
2192
2198
  }
 
2199
  if(pid == -1){
 
2200
    error(EXIT_FAILURE, errno, "Failed to fork()");
 
2201
  }
 
2202
 
2193
2203
  int status;
2194
2204
  waitpid(pid, &status, 0);
2195
2205
  if(WIFEXITED(status) and (WEXITSTATUS(status) == EXIT_SUCCESS)){
5948
5958
                                           test_fixture *fixture,
5949
5959
                                           __attribute__((unused))
5950
5960
                                           gconstpointer user_data){
 
5961
#ifndef __amd64__
 
5962
  g_test_skip("Skipping EMSGSIZE test on non-AMD64 platform");
 
5963
#else
5951
5964
  __attribute__((cleanup(cleanup_close)))
5952
5965
    const int epoll_fd = epoll_create1(EPOLL_CLOEXEC);
5953
5966
  g_assert_cmpint(epoll_fd, >=, 0);
6006
6019
  g_assert_cmpuint((unsigned int)queue->length, ==, 0);
6007
6020
  g_assert_true(string_set_contains(cancelled_filenames,
6008
6021
                                    question_filename));
 
6022
#endif
6009
6023
}
6010
6024
 
6011
6025
static void test_send_password_to_socket_retry(__attribute__((unused))