diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-22 02:56:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-22 02:56:42 +0200 |
commit | 4f0f902fc8837999e5c9f3a6f7e2592cc6f096eb (patch) | |
tree | 5c752a0e2776784686d57376d48b426bc9952e54 /manager.h | |
parent | c497c7a9e4db487eab4f92421a74d721d9558186 (diff) |
manager: enforce limit on accepted number of names
Diffstat (limited to 'manager.h')
-rw-r--r-- | manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -29,6 +29,9 @@ #include "fdset.h" +/* Enforce upper limit how many names we allow */ +#define MANAGER_MAX_NAMES 2048 + typedef struct Manager Manager; typedef enum WatchType WatchType; typedef struct Watch Watch; |