git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move notifier socket to general availability
[exim.git]
/
src
/
src
/
macros.h
diff --git
a/src/src/macros.h
b/src/src/macros.h
index cc96c85163f84e9df39e0fe3303f96fafe3066ca..7f50dbb892d1b90d56e484871f347a219ba7b07b 100644
(file)
--- a/
src/src/macros.h
+++ b/
src/src/macros.h
@@
-152,12
+152,19
@@
enough to hold all the headers from a normal kind of message. */
into big_buffer_size and in some circumstances increased. It should be at least
as long as the maximum path length. */
into big_buffer_size and in some circumstances increased. It should be at least
as long as the maximum path length. */
-#if defined PATH_MAX && PATH_MAX > 16384
+#ifdef AUTH_HEIMDAL_GSSAPI
+ /* RFC 4121 section 5.2, SHOULD support 64K input buffers */
+# define __BIG_BUFFER_SIZE 65536
+#else
+# define __BIG_BUFFER_SIZE 16384
+#endif
+
+#if defined PATH_MAX && PATH_MAX > __BIG_BUFFER_SIZE
# define BIG_BUFFER_SIZE PATH_MAX
# define BIG_BUFFER_SIZE PATH_MAX
-#elif defined MAXPATHLEN && MAXPATHLEN >
16384
+#elif defined MAXPATHLEN && MAXPATHLEN >
__BIG_BUFFER_SIZE
# define BIG_BUFFER_SIZE MAXPATHLEN
#else
# define BIG_BUFFER_SIZE MAXPATHLEN
#else
-# define BIG_BUFFER_SIZE
16384
+# define BIG_BUFFER_SIZE
__BIG_BUFFER_SIZE
#endif
/* header size of pipe content
#endif
/* header size of pipe content
@@
-1093,4
+1100,7
@@
should not be one active. */
#define SVFMT_TAINT_NOCHK BIT(2)
#define SVFMT_TAINT_NOCHK BIT(2)
+#define NOTIFIER_SOCKET_NAME "exim_daemon_notify"
+#define NOTIFY_MSG_QRUN 1 /* Notify message types */
+
/* End of macros.h */
/* End of macros.h */