diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-05-20 01:33:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-05-20 02:10:17 +0200 |
commit | 64ad8449679c53fefd20baea88fa593f226d59b0 (patch) | |
tree | 128f6352a0e49d503c5227aaae666e2f6de3930a /bus/bus.h | |
parent | bfad32422f1f78bce4de1e88a4afb5cc295bb877 (diff) | |
download | dbus-64ad8449679c53fefd20baea88fa593f226d59b0.tar.gz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |