dbus/cmake
Matt Fischer 977293549d Set default maximum number of Unix fds according to OS
QNX has an arbitrary limit to the number of file descriptors
which may be passed in a message, which is smaller than the
current default.  This patch therefore changes the default from
a hardcoded constant to a macro, which is determined at configure
time by looking at the host operating system.

[This reduces the limit from 4096 (session)/1024 (system) to 128 fds
per message on QNX, and 1024 fds per message on other operating systems.
I think the reduced session bus limit on other OSs is a reasonable change
too, given that the default hard/soft ulimits in Linux are only 4096/1024
fds per process. -smcv]

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61176
Reviewed-by: Simon McVittie <simon.mcvittie.collabora.co.uk>
2013-04-11 13:34:55 +01:00
..
bus Moved docbook sources used by cmake into doc subdir and adapted cmake build system. 2013-02-14 13:27:22 +00:00
dbus Add function _dbus_get_peer_pid_from_tcp_handle() which returns pid and sid from tcp connection peer. 2013-04-05 11:17:26 +02:00
doc CMake linux fixes when using meinproc4 doc generator. 2013-03-04 18:27:08 +01:00
modules Fixed cmake cross compile timestamp creating. 2013-02-12 10:58:27 +00:00
test Revert "made session service dirs customizable: cmake part" 2012-01-04 18:20:15 +00:00
tools Moved docbook sources used by cmake into doc subdir and adapted cmake build system. 2013-02-14 13:27:22 +00:00
bus-test.bat.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
CMakeLists.txt Uses cmake provided expat find package. 2013-02-12 10:58:04 +00:00
config.h.cmake Set default maximum number of Unix fds according to OS 2013-04-11 13:34:55 +01:00
ConfigureChecks.cmake Use dbus/dbus-arch-deps.h.in as source for cmake too 2011-09-23 15:38:12 +02:00
dbus-env.bat.cmake Split DBUS_SESSION_BUS_DEFAULT_ADDRESS into listen, connect addresses and set better defaults 2012-08-13 19:57:13 +01:00
Doxyfile.cmake Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters. 2010-03-16 09:33:39 +01:00