chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
manager: enforce limit on accepted number of names
[elogind.git]
/
manager.h
diff --git
a/manager.h
b/manager.h
index bd0c82ee7706d2a94a5abfb5c3211bf73f5d19fa..01490fc18026b6d77d4375f47a1ed2215c0a104b 100644
(file)
--- a/
manager.h
+++ b/
manager.h
@@
-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;