summaryrefslogtreecommitdiffstats
path: root/bus/bus.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-05-20 01:33:17 +0200
committerLennart Poettering <lennart@poettering.net>2009-05-20 02:10:17 +0200
commit64ad8449679c53fefd20baea88fa593f226d59b0 (patch)
tree128f6352a0e49d503c5227aaae666e2f6de3930a /bus/bus.h
parentbfad32422f1f78bce4de1e88a4afb5cc295bb877 (diff)
bus: make use of new unix fd limits
Create configuration settings and enforce message unix fd limits the same way we do for allocated message memory.
Diffstat (limited to 'bus/bus.h')
-rw-r--r--bus/bus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bus/bus.h b/bus/bus.h
index 74bdb821..aba17043 100644
--- a/bus/bus.h
+++ b/bus/bus.h
@@ -47,8 +47,11 @@ typedef struct BusMatchRule BusMatchRule;
typedef struct
{
long max_incoming_bytes; /**< How many incoming message bytes for a single connection */
+ long max_incoming_unix_fds; /**< How many incoming message unix fds for a single connection */
long max_outgoing_bytes; /**< How many outgoing bytes can be queued for a single connection */
+ long max_outgoing_unix_fds; /**< How many outgoing unix fds can be queued for a single connection */
long max_message_size; /**< Max size of a single message in bytes */
+ long max_message_unix_fds; /**< Max number of unix fds of a single message*/
int activation_timeout; /**< How long to wait for an activation to time out */
int auth_timeout; /**< How long to wait for an authentication to time out */
int max_completed_connections; /**< Max number of authorized connections */