diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2023-09-01 00:21:30 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2023-09-01 00:21:30 +0200 |
commit | 1206661f8d4c6203288a1ed9e219dd5fe6ba5b83 (patch) | |
tree | 636ce04bcc27d5cb6039e22c9faacea3e9582bed | |
parent | 35227d3937eacce73d0deaaa5239b0602555fe45 (diff) |
Lower ipc packet size to the default of net.local.dgram.maxdgram
-rw-r--r-- | jaildaemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jaildaemon.c b/jaildaemon.c index 8efd5a2..d9f673f 100644 --- a/jaildaemon.c +++ b/jaildaemon.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <syslog.h> | 22 | #include <syslog.h> |
23 | #include <libutil.h> | 23 | #include <libutil.h> |
24 | 24 | ||
25 | #define IPC_PACKETSIZE 4096 | 25 | #define IPC_PACKETSIZE 2048 |
26 | #define MAGIC_EXIT_CODE 42 | 26 | #define MAGIC_EXIT_CODE 42 |
27 | enum { IAM_DAEMON, IAM_CLIENT, IAM_FORKSLAVE }; | 27 | enum { IAM_DAEMON, IAM_CLIENT, IAM_FORKSLAVE }; |
28 | enum { TASK_SINGLESHOT, TASK_RESPAWN, TASK_RESPAWN_IMMEDIATE, TASK_RESPAWNING }; | 28 | enum { TASK_SINGLESHOT, TASK_RESPAWN, TASK_RESPAWN_IMMEDIATE, TASK_RESPAWNING }; |