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

  • Committer: teddy at recompile
  • Date: 2020-03-02 15:38:40 UTC
  • Revision ID: teddy@recompile.se-20200302153840-k4q8eka6l2re4gwb
Check for fork() returning -1

* dracut-module/password-agent.c (start_mandos_client): Check for
  fork() returning -1.
  (is_privileged): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
5958
5958
                                           test_fixture *fixture,
5959
5959
                                           __attribute__((unused))
5960
5960
                                           gconstpointer user_data){
5961
 
#ifndef __amd64__
5962
 
  g_test_skip("Skipping EMSGSIZE test on non-AMD64 platform");
5963
 
#else
5964
5961
  __attribute__((cleanup(cleanup_close)))
5965
5962
    const int epoll_fd = epoll_create1(EPOLL_CLOEXEC);
5966
5963
  g_assert_cmpint(epoll_fd, >=, 0);
6019
6016
  g_assert_cmpuint((unsigned int)queue->length, ==, 0);
6020
6017
  g_assert_true(string_set_contains(cancelled_filenames,
6021
6018
                                    question_filename));
6022
 
#endif
6023
6019
}
6024
6020
 
6025
6021
static void test_send_password_to_socket_retry(__attribute__((unused))