service-process.c revision 6ec925f52d04ec8700e47cb005bd7ddc65ac5614
1505N/A#include "write-full.h"
1505N/A#include "env-util.h"
1505N/A#include "fd-close-on-exec.h"
1505N/A#include "restrict-access.h"
1505N/A#include "restrict-process-size.h"
1505N/A#include "master-service-settings.h"
1505N/A#include "dup2-array.h"
1505N/A#include "service-log.h"
1505N/A#include "service-auth-server.h"
3339N/A#include "service-auth-source.h"
1505N/A#include "service-process-notify.h"
3339N/A#include "service-process.h"
1715N/A bool give_anvil_fd)
1505N/A case SERVICE_TYPE_LOG:
2795N/A n += socket_listener_count;
2795N/A case SERVICE_TYPE_ANVIL:
2798N/A MASTER_LISTEN_FD_FIRST + n++);
2798N/A MASTER_LISTEN_FD_FIRST + n++);
1895N/A n++; socket_listener_count++;
1715N/A ssl_socket_count = 0;
2798N/A n++; socket_listener_count++;
2798N/A if (!give_anvil_fd)
2925N/Astatic void auth_success_write(void)
3070N/A bool disallow_root;
3009N/A case SERVICE_TYPE_CONFIG:
3234N/A case SERVICE_TYPE_LOG:
2795N/Astruct service_process *
2795N/A static unsigned int uid_counter = 0;
2798N/A case FATAL_LOGOPEN:
2798N/A case FATAL_LOGWRITE:
3070N/A case FATAL_LOGERROR:
2798N/A case FATAL_OUTOFMEM:
3070N/A case FATAL_EXEC:
2798N/A case FATAL_DEFAULT:
2798N/A if (core_dumps_disabled) {
3070N/A#ifdef HAVE_PR_SET_DUMPABLE
2798N/A bool default_fatal;