dbus/bus
Colin Walters 66a09fa7c3 bus: Raise file descriptor limit to match configuration
The default configuration has hardcoded 2048 complete connections,
and 64 incomplete.  We need at least that number of file descriptors,
plus some for internal use.

In the bus, attempt to call setrlimit() before we drop privileges.
Practically speaking for this means the system bus gets it, the
session bus doesn't.

http://bugs.freedesktop.org/show_bug.cgi?id=33474

Reviewed-By: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-03 13:25:34 -05:00
..
.gitignore Ignore generated bus/org.freedesktop.dbus-session.plist 2010-12-15 09:43:11 +01:00
activation-exit-codes.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
activation-helper-bin.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
activation-helper.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
activation-helper.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
activation.c activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
activation.h activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
bus.c bus: Raise file descriptor limit to match configuration 2011-02-03 13:25:34 -05:00
bus.h activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
config-loader-expat.c Fixed gcc on windows limitation 2010-03-20 21:53:57 +01:00
config-loader-libxml.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
config-parser-common.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
config-parser-common.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
config-parser-trivial.c Merge branch 'dbus-1.2' 2010-06-22 17:25:20 +01:00
config-parser-trivial.h Merge branch 'dbus-1.2' 2010-06-22 17:25:20 +01:00
config-parser.c If a file included via <includedir/> is invalid, syslog and skip it 2011-01-31 19:16:00 +00:00
config-parser.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
connection.c Take care to free windows_sid in cache_peer_loginfo_string 2010-10-05 13:47:12 +01:00
connection.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dbus.service.in systemd: ensure that the system bus is unlikely to be killed on OOM 2011-01-18 23:46:15 +01:00
dbus.socket.in systemd: enable the dbus service unconditionally 2010-09-06 03:21:17 +02:00
desktop-file.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
desktop-file.h activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
dir-watch-default.c Fix warnings on Windows builds. 2010-04-14 08:26:40 +02:00
dir-watch-dnotify.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
dir-watch-inotify.c handle failure to register inotify shutdown function 2011-01-17 12:02:30 +00:00
dir-watch-kqueue.c kqueue set_watched_dirs: fix termination condition 2010-05-21 11:21:20 +01:00
dir-watch.h Clean up inotify watch handling 2010-02-01 16:22:56 -05:00
dispatch.c activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
dispatch.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
driver.c activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
driver.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
expirelist.c Cleaned up _dbus_verbose calls: function names and code line numbers are printed by default. 2010-03-27 23:28:00 +01:00
expirelist.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
main.c Extended autolaunch protocol with scope attribute. 2010-09-27 21:53:32 +02:00
Makefile.am Enable launchd. 2010-12-06 21:33:14 +01:00
messagebus-config.in Applied patches from cygwin port. 2010-08-10 08:25:24 +02:00
messagebus.in Fix use of $servicename in status 2010-07-09 11:52:59 -04:00
org.freedesktop.dbus-session.plist.in 10.4 is old so set more sensible launchd defaults. 2010-12-09 08:20:07 +01:00
policy.c Don't truncate pointers on Windows x64 platform 2010-05-03 10:48:38 +02:00
policy.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
rc.messagebus.in [legacy init script] Fix the use of $servicename 2010-04-23 12:02:19 -04:00
selinux.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
selinux.h Fix compilation in --disable-selinux case 2010-02-02 15:04:58 -05:00
services.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
services.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
session.conf.in Use nonce-tcp default session bus on Windows 2009-12-01 09:25:59 +01:00
signals.c Implement message type in match_rule_to_string 2011-01-31 15:31:11 +00:00
signals.h Rename DBusConnection *disconnected param to connection 2010-01-05 21:11:13 +01:00
system.conf.in Clean up and clarify default system policy 2008-12-18 15:34:24 -05:00
test-launch-helper.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-main.c bus-test: add support for only running one test 2011-02-01 11:47:43 +00:00
test-system.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test.c activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
test.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
utils.c Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00
utils.h Bug 21161 - Update the FSF address 2009-07-14 15:39:47 -04:00