summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Released 1.0.3DBUS_1_0_3John (J5) Palmieri2008-02-262-0/+22
|
* CVE-2008-0595 dbus security policy circumventionJohn (J5) Palmieri2008-02-262-6/+38
| | | | | | | | | | | * CVE-2008-0595 - security policy of the type <allow send_interface= "some.interface.WithMethods"/> work as an implicit allow for messages sent without an interface bypassing the default deny rules and potentially allowing restricted methods exported on the bus to be executed by unauthorized users. This patch fixes the issue. * bus/policy.c (bus_client_policy_check_can_send, bus_client_policy_check_can_receive): skip messages without an interface when evaluating an allow rule
* correctly unref connections without guids during shutdownJohn (J5) Palmieri2008-02-262-13/+56
| | | | | | | | | | * dbus/dbus-connection.c (close_connection_on_shutdown): new method split out from shared_connections_shutdown (shared_connections_shutdown): shutdown all shared connections without guids (_dbus_connection_ref_unlocked): handle OOM when prepending no guid connections to the shared_connections_no_guid list * Patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>
* 2007-07-18 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-07-182-4/+11
| | | | | | | * dbus/dbus-message.c (dbus_message_get_cached) (dbus_message_cache_or_finalize): don't mess with message from message cache outside of the cache lock. Bug #9164 from Jonathan Matthew.
* 2007-07-10 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-07-102-3/+14
| | | | | | | * dbus/dbus-connection.c (struct DBusConnection): Fix from Olivier Hochreutiner to avoid trying to protect individual bits in a word with different locks (make dispatch_acquired and io_path_acquired dbus_bool_t rather than bitfields)
* 2007-06-08 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-06-085-10/+33
| | | | | * backport fix to allow a server to use port=0 or omit port so the port can be auto-selected by the OS
* 2007-05-23 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-05-233-0/+12
| | | | | | | * bus/Makefile.am (install-data-hook): create session.d * bus/session.conf.in: add session.d for the session bus, so security policy can be extended
* 2007-04-27 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-04-272-3/+9
| | | | | | * dbus/dbus-sysdeps-unix.c (_dbus_open_socket): fix #10781 from Tobias Nygren, checking pointer to fd vs. 0 rather than checking the fd itself
* Backport from MAIN:Thiago Macieira2007-03-034-3/+87
| | | | | | | | | | | * dbus/dbus-sysdeps-unix.c: capture the dbus-launch stderr output and add it to the DBusError message we return. * tools/dbus-launch.1: * tools/dbus-launch.c: Add option --close-stderr to, well, close stderr before starting dbus-daemon. I hope adding an option to dbus-launch in the 1.0.x series was ok.
* 2007-01-31 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-02-012-0/+58
| | | | | * bus/dbus-daemon.1.in: write a section in the man page on running a test daemon for debugging purposes
* 2007-01-26 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-01-263-8/+45
| | | | | | | | | | * bus/session.conf.in: override all the default limits with much higher limits on the session bus, there is no reason the session bus should have low limits * bus/config-parser.c (bus_config_parser_new): increase default limits so they are less likely to be hit; in particular the max replies per connection was way too low
* * bump releaseJohn (J5) Palmieri2006-12-121-1/+1
|
* * Released 1.0.2John (J5) Palmieri2006-12-122-0/+10
|
* * bus/signal.c: Fix match_rule_equal errataJohn (J5) Palmieri2006-12-122-0/+9
| | | | | (CVE-2006-6107 - Patch from Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>)
* Backporting from HEAD:Thiago Macieira2006-11-222-1/+13
| | | | | | | | | * dbus/dbus-sysdeps-pthread.c (_dbus_pthread_mutex_lock, _dbus_pthread_condvar_wait, _dbus_pthread_condvar_wait_timeout): set pmutex->holder to pthread_self() after coming back from a conditional variable wait as well as in one codepath where it was forgotten. Approved by: Havoc Pennington.
* 2006-11-17 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-11-182-4/+19
| | | | | | | * update-dbus-docs.sh: allow setting fd.org username via env variable. Make it run autogen with --enable-xml-docs=yes --enable-doxygen-docs=yes so configure will fail if the required tools are missing.
* 2006-11-17 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-11-182-5/+18
| | | | * doc/dbus-faq.xml: minor FAQ tweaks
* * bump for next releaseJohn (J5) Palmieri2006-11-171-1/+1
|
* * Released 1.0.1John (J5) Palmieri2006-11-172-0/+10
|
* 2006-11-14 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-11-159-59/+174
| | | | | | | | * dbus/dbus-misc.c, dbus/dbus-misc.h: Move dbus_get_local_machine_id() to its own file, no substantive changes. There are a couple other things we might want to add that are "misc" so moving out of dbus-connection.[hc] which is big enough already.
* 2006-11-14 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-11-156-38/+94
| | | | | | | | | | | | | | * dbus/dbus-internals.c (_dbus_generate_uuid): The spec said the UUID had the timestamp last, but the implementation had it first; move it to last since I think it's a tiny bit nicer (easier to compare at a glance, faster to sort, less code), and will not cause any practical compatibility problems. Also, always convert the timestamp to big endian. * doc/dbus-specification.xml: Clean up the docs on the UUID. * tools/dbus-uuidgen.1: more prominently say it is not suitable as a replacement for regular uuidgen/RFC4122.
* * configure.in: Bump version to 1.0.1 for next stable releaseJohn (J5) Palmieri2006-11-144-3/+14
| | | | | | | | | * dbus/dbus-threads.h: fix DBUS_THREAD_FUNCTIONS_ALL_MASK to have the correct value so we don't assert when initalizing recursive threads * test/name-test/test-thread-init.c: call dbus_threads_init_default instead of _dbus_threads_init_debug since it is more of a real world test
* This commit was manufactured by cvs2svn to create branch 'dbus-1.0'.Ryan Lortie2006-11-100-0/+0
|
* * really release 1.0.0dbus-1.0.0John (J5) Palmieri2006-11-102-1/+7
| | | | * AUTHORS: added Peter and Tor of windows porting fame
* 2006-11-08 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-11-093-2/+35
| | | | | | | * doc/dbus-specification.xml: add a note about protocol stability * doc/TODO: Remove "important for 1.0" section, replace with "important for 1.2" section
* * Released 1.0.0John (J5) Palmieri2006-11-083-1/+13
|
* * README: remove some of the out of date flagsJohn (J5) Palmieri2006-11-083-9/+6
| | | | * doc/TODO: Remove todo items which are done
* * tools/dbus-monitor.c: Handle sigint so we flush stdoutJohn (J5) Palmieri2006-11-082-1/+21
| | | | (Patch from Olli Salli <olli dot salli at collabora dot co dot uk>)
* * tools/dbus-monitor.1: update the manpage for dbus-monitorJohn (J5) Palmieri2006-11-082-1/+21
| | | | (Patch from Olli Salli <olli dot salli at collabora dot co dot uk>)
* * AUTHORS: Update with all people listed in the ChangeLogJohn (J5) Palmieri2006-11-082-1/+46
|
* * tools/dbus-monitor.c: add profiling tools to dbus-monitorJohn (J5) Palmieri2006-11-082-4/+127
| | | | (Patch from Olli Salli <olli dot salli at collabora dot co dot uk>)
* 1-char changeHavoc Pennington2006-11-071-1/+1
|
* 2006-11-07 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-11-072-2/+43
| | | | | | | * HACKING: Update release instructions to include stuff about stable releases, branching, etc. May not be totally correct, please fix if needed, but keep instructions up-to-date so we do each stable release consistently in the future.
* 2006-11-07 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-11-076-48/+144
| | | | | | * doc/dbus-specification.xml, doc/dbus-faq.xml, README: various documentation updates. Bump faq/spec versions (not to 1.0; I don't think the spec will be "finished"/1.0 when we ship the 1.0 library).
* * bus/bus.c: Missed patch - pass in the context to the directory watchJohn (J5) Palmieri2006-11-062-1/+5
|
* * bump releaseJohn (J5) Palmieri2006-11-032-4/+4
|
* * Released D-Bus 1.0 RC 3(0.95)dbus-0.95John (J5) Palmieri2006-11-032-0/+30
|
* * bus/activation.c (bus_activation_new): don't fail if we can not readJohn (J5) Palmieri2006-11-032-2/+13
| | | | the directory as it may not exist
* * bus/config-parser.c (service_dirs_find_dir): useJohn (J5) Palmieri2006-11-023-14/+33
| | | | | | | | | | | _dbus_list_get_next_link so we don't get stuck in an infinite loop (start_busconfig_child): move processing of standard_session_servicedirs tags here because they have no content (bus_config_parser_content): check we don't have content in standard_session_servicedirs tag * tools/Makefile.am: Make sure the /var/lib/dbus directory is created Packagers need to own this directory
* * missed the ChangeLog on the last commitJohn (J5) Palmieri2006-11-021-0/+6
|
* * tools/run-with-tmp-session-bus.sh: fixed script to replace theJohn (J5) Palmieri2006-11-021-1/+1
| | | | | <standard_session_servicedirs> tag with a <sevicedir> tag that points to the test service directory
* * configure.in: Add a check for DIR *dirp->dd_fdJohn (J5) Palmieri2006-11-023-4/+29
| | | | | | * dbus/dbus-sysdeps-util-unix: if HAVE_DDFD is defined use DIR *dirp->dd_fd else use DIR *dirp->__dd_fd. This takes care of both Solaris and Irix
* 2006-11-01 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-11-023-6/+33
| | | | * bus/dbus-daemon.1.in: document standard_session_servicedirs
* * configure.in: expose DBUS_DATADIRJohn (J5) Palmieri2006-11-018-4/+368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * bus/config-parser.c: add the standard_session_servicedirs element to the parser (bus_config_parser_content): process the standard_session_servicedirs element by getting the standard directories from sysdeps and merging them into the service directory list (test_default_session_servicedirs): make sure we get what we expect * bus/session.conf.in: replace the servicedir tag with the standard_session_servicedirs tag * dbus/dbus-list.h: remove the typedef of DBusList and place it in dbus-sysdeps.h to avoid circular header dependencies * dbus/dbus-sysdeps.h: add the typedef of DBusList * dbus/dbus-sysdeps-unix.c (split_paths_and_append): utility function which takes a string of directories delimited by colons, parses them out, appends a suffix and puts them in a list ignoring empty elements (_dbus_get_standard_session_servicedirs): returns the standard directories for a session bus to look for service activation files on Unix which includes the XDG_DATA_HOME, XDG_DATA_DIRS and DBUS_DATADIR directories * test/data/valid-config-files/many-rules.conf: add the standard_session_servicedirs tag to the valid config file tests
* 2006-10-30 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-10-303-1/+17
| | | | | * tools/dbus-launch.1, doc/TODO: capture intent to change the command line options of dbus-launch a bit post 1.0
* 2006-10-27 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-10-282-1/+16
| | | | | * dbus/dbus-connection.c (dbus_connection_open_private): document how to choose shared vs. private connections
* 2006-10-27 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-10-287-33/+163
| | | | | | | | | | | | | | | | | | | | | * dbus/dbus-test.c: enclose more of the file in the DBUS_BUILD_TESTS check. * dbus/dbus-sysdeps-pthread.c (PTHREAD_CHECK): fix for DBUS_DISABLE_ASSERT case. * dbus/dbus-connection.c (dbus_connection_get_unix_user): document that it only works on the server side * dbus/dbus-bus.c: add a global lock covering the BusData we attach to each connection (internal_bus_get): lock our access to the BusData (dbus_bus_register): lock the entire registration process with _DBUS_LOCK(bus_datas). If we get the lock and registration is already complete, silently return (vs. previous behavior of aborting). (dbus_bus_set_unique_name): lock the BusData (dbus_bus_get_unique_name): lock the BusData
* * bus/config-parser.c (service_dirs_find_dir,John (J5) Palmieri2006-10-272-2/+58
| | | | | | | | | service_dirs_append_unique_or_free, service_dirs_append_link_unique_or_free): New static methods for only appending unique service directory names into the service directory list (merge_included, bus_config_parser_content): Only add unique service directory names into the list
* 2006-10-27 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-10-272-9/+27
| | | | | | | | * dbus/dbus-sysdeps-pthread.c: make the "count" and "holder" variables volatile, suggested by Thiago. Document struct fields. (PTHREAD_CHECK): remove pthread error checking if assertions are disabled, should reduce the no-assertions case to the bare minimum code.
* 2006-10-26 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-10-273-20/+103
| | | | | | | | * dbus/dbus-sysdeps-pthread.c (_dbus_pthread_mutex_lock): change to be recursive (_dbus_pthread_mutex_unlock): make it recursive (_dbus_pthread_condvar_wait): save/restore the recursion count (_dbus_pthread_condvar_wait_timeout): save/restore the recursion count