4299eb3c0907100fe95d2986984b48d40cc52841 |
|
08-Jul-2015 |
Daniel Erat <derat@google.com> |
Incorporate upstream changes to v1.6.8. Squash upstream commits up to and including the v1.6.8 release (upstream commit 1cad15cc). This repository's changes from upstream are now limited to: - addition of Android.mk, CleanSpec.mk, config.h, and NOTICE files - addition of dbus/dbus-arch-deps.h and removal from dbus/.gitignore (ebae2d21, f022f55d) - WANT_PIDFILE #ifdefs added to bus/bus.c to disable writing dbus-daemon's PID to a file (3100d06a) - TRACE_LOCKS set to 0 in dbus/dbus-connection.c (88a0ffe5) - DBUS_ANDROID_LOG added to dbus/dbus-internals.c to use logcat (7de15def) - ANDROID_MANAGED_SOCKET added to dbus/dbus-sysdeps-unix.c to use an SELinux-managed socket rather than a dbus-daemon-created Unix domain socket (3100d06a) Bug: 22328216 Change-Id: I793ebdf963d9b0740f0da28f1de593d088f08406
/external/dbus/bus/test-main.c
|
dbecdeabb20e0ce11121819c63373f0afba57c58 |
|
19-Mar-2010 |
Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> |
Consistently include <config.h> in all C source files and never in header files.
/external/dbus/bus/test-main.c
|
37019e9d271390fa8c62c1aae62d30bb9068adaa |
|
16-Jul-2009 |
Thiago Macieira <thiago@kde.org> |
Merge branch 'fd-passing' Conflicts: dbus/dbus-connection.c dbus/dbus-message-util.c dbus/dbus-sysdeps-unix.c
|
5baf2f856a9c6625993234855b07680da1c8916f |
|
11-Jul-2009 |
Tobias Mueller <fdo-bugs@cryptobitch.de> |
Bug 21161 - Update the FSF address No comment. Signed-off-by: Colin Walters <walters@verbum.org>
/external/dbus/bus/test-main.c
|
004f01fa451b0341e7ea69ce7f08a1c4690f759a |
|
22-Apr-2009 |
Lennart Poettering <lennart@poettering.net> |
unix-fd: add test for passing unix fds This adds a full test for passing multiple fds across a D-Bus connection.
/external/dbus/bus/test-main.c
|
d012387afef0ba02185ebe27bc6bb15551912e92 |
|
14-Jul-2007 |
Havoc Pennington <hp@redhat.com> |
2007-07-13 Havoc Pennington <hp@redhat.com> * Add indent-tabs-mode: nil to all file headers.
/external/dbus/bus/test-main.c
|
f61a63cefb4c931636b43ffa8f61ad3dd45d7b86 |
|
08-Sep-2006 |
John (J5) Palmieri <johnp@redhat.com> |
* bus/test-main.c (main): Initialize threading during tests * dbus/dbus-connection.c (_dbus_connection_new_for_transport): Unlock connection on error (generate_local_error_message): static method for generating an error message when we don't have a message to reply to (_dbus_connection_block_pending_call): Send a disconnect error instead of just a timeout (NULL) when the bus gets disconnected while blocking for a reply.
/external/dbus/bus/test-main.c
|
88f69757b93c7112447b97868c7dbde69dc00caa |
|
06-Sep-2006 |
John (J5) Palmieri <johnp@redhat.com> |
* doc/TODO, various source files: Audited todo's and FIXME's and prepended the ones we should be looking at with 1.0. Those prepended with 1.0? need clerification or might not be needed for 1.0
/external/dbus/bus/test-main.c
|
9b6814a59b359d237ec5b59d7983ddfd443c89d9 |
|
03-Nov-2004 |
Colin Walters <walters@verbum.org> |
2004-11-03 Colin Walters <walters@verbum.org> * bus/test-main.c (test_pre_hook): Fix test logic, thanks Joerg Barfurth <Joerg.Barfurth@Sun.COM>.
/external/dbus/bus/test-main.c
|
73ffe59d87864d61b9d22f199fc6375840bf39bb |
|
02-Nov-2004 |
Colin Walters <walters@verbum.org> |
2004-11-02 Colin Walters <walters@verbum.org> * bus/selinux.c (bus_selinux_init): Split into two functions, bus_selinux_pre_init and bus_selinux_post_init. (bus_selinux_pre_init): Just determine whether SELinux is enabled. (bus_selinux_post_init): Do everything else. * bus/main.c (main): Call bus_selinux_pre_init before parsing config file, and bus_selinux_post_init after. This ensures that we don't lose the policyreload notification thread that bus_selinux_init created before forking previously. * bus/test-main.c (test_pre_hook): Update for split.
/external/dbus/bus/test-main.c
|
ee78f2800f2642b4fff962b736296d87a7f12a17 |
|
23-Aug-2004 |
Colin Walters <walters@verbum.org> |
2004-08-23 Colin Walters <walters@redhat.com> * bus/selinux.h: Prototype bus_selinux_get_policy_root. * bus/selinux.c: Create a thread for policy reload notification. (bus_selinux_get_policy_root): Implement. Updated SELinux support from Matthew Rickard <mjricka@epoch.ncsc.mil> * bus/config-parser.c (start_busconfig_child) (bus_config_parser_content): Support SELinux-root relative inclusion. * configure.in <HAVE_SELINUX>: Add -lpthread. * bus/test-main.c (test_pre_hook, test_post_hook): New. (test_post_hook): Move memory checking into here. (test_pre_hook, test_post_hook): Move SELinux checks in here, but conditional on a DBUS_TEST_SELINUX environment variable. Unfortunately we can't run the SELinux checks as a normal user, since they won't have any permissions for /selinux. So this will have to be tested manually for now, until we have virtualization for most of libselinux.
/external/dbus/bus/test-main.c
|
43605a6f4e78a8c28afb4b1e924dff0301e0e95c |
|
10-Aug-2004 |
Havoc Pennington <hp@redhat.com> |
2004-08-09 Havoc Pennington <hp@redhat.com> * COPYING: switch to Academic Free License version 2.1 instead of 2.0, to resolve complaints about patent termination clause.
/external/dbus/bus/test-main.c
|
1e9b185b0c274ef0d684b1e43418388225321e72 |
|
30-Jul-2004 |
Havoc Pennington <hp@redhat.com> |
2004-07-24 Havoc Pennington <hp@redhat.com> SELinux support from Matthew Rickard <mjricka@epoch.ncsc.mil> * bus/selinux.c, bus/selinux.h: new file encapsulating selinux functionality * configure.in: add --enable-selinux * bus/policy.c (bus_policy_merge): add FIXME to a comment * bus/main.c (main): initialize and shut down selinux * bus/connection.c: store SELinux ID on each connection, to avoid repeated getting of the string context and converting it into an ID * bus/bus.c (bus_context_get_policy): new accessor, though it isn't used (bus_context_check_security_policy): check whether the security context of sender connection can send to the security context of recipient connection * bus/config-parser.c: add parsing for <selinux> and <associate> * dbus/dbus-transport.c (_dbus_transport_get_unix_fd): to implement dbus_connection_get_unix_fd() * dbus/dbus-connection.c (dbus_connection_get_unix_fd): new function, used by the selinux stuff
/external/dbus/bus/test-main.c
|
dd79fc73f08574698c18c6a35dc309d5ef33fde0 |
|
12-Mar-2004 |
Mikael Hallendal <micke@imendio.com> |
2004-03-12 Mikael Hallendal <micke@imendio.com> * bus/activation.c: - Added service file reloading. Each service files directory is kept in an hash table in BusActivation and each BusActivationEntry knows what .service-file it was read from. So when you try to activate a service the bus will check if it's been updated, removed or if new .service-files has been installed. - Test code at the bottom for the service file reloading. * bus/test-main.c: (main): * bus/test.h: - added service reloading test. * dbus/dbus-sysdeps.c: * dbus/dbus-sysdeps.h: (_dbus_delete_directory): Added.
/external/dbus/bus/test-main.c
|
a1df3040f29223eddaa3ace0fe018fcb28cddcd9 |
|
02-Dec-2003 |
Richard Hult <richard@imendio.com> |
2003-12-02 Richard Hult <richard@imendio.com> * Update AFL version to 2.0 throughout the source files to reflect the update that was done a while ago.
/external/dbus/bus/test-main.c
|
40751c847b18b4861f623fc83fc8742bc463363b |
|
11-Oct-2003 |
Havoc Pennington <hp@redhat.com> |
2003-10-11 Havoc Pennington <hp@pobox.com> * dbus/dbus-message.c (_dbus_message_test): add more test coverage, but #if 0 for now since they uncover a bug not fixed yet; I think in re_align_field_recurse() (re_align_field_recurse): add FIXME about broken assertion * dbus/dbus-sysdeps.c (_dbus_sysdeps_test): add more test coverage * bus/connection.c: share a couple code bits with expirelist.c * bus/expirelist.h, bus/expirelist.c: implement a generic expire-items-after-N-seconds facility, was going to share between expiring connections and replies, decided not to use for expiring connections for now. * bus/connection.c: add tracking of expected replies * COPYING: include AFL 2.0 (still need to change all the file headers)
/external/dbus/bus/test-main.c
|
a683a80c409cc4f2e57ba6a3e60d52f91b8657d0 |
|
21-Sep-2003 |
Havoc Pennington <hp@redhat.com> |
2003-09-21 Havoc Pennington <hp@pobox.com> Get matching rules mostly working in the bus; only actually parsing the rule text remains. However, the client side of "signal connections" hasn't been started, this patch is only the bus side. * dbus/dispatch.c: fix for the matching rules changes * bus/driver.c (bus_driver_handle_remove_match) (bus_driver_handle_add_match): send an ack reply from these method calls * glib/dbus-gproxy.c (dbus_gproxy_begin_call): fix order of arguments, reported by Seth Nickell * bus/config-parser.c (append_rule_from_element): support eavesdrop=true|false attribute on policies so match rules can be prevented from snooping on the system bus. * bus/dbus-daemon-1.1.in: consistently use terminology "sender" and "destination" in attribute names; fix some docs bugs; add eavesdrop=true|false attribute * bus/driver.c (bus_driver_handle_add_match) (bus_driver_handle_remove_match): handle AddMatch, RemoveMatch messages * dbus/dbus-protocol.h (DBUS_SERVICE_ORG_FREEDESKTOP_BROADCAST): get rid of broadcast service concept, signals are just always broadcast * bus/signals.c, bus/dispatch.c, bus/connection.c, bus/bus.c: mostly implement matching rules stuff (currently only exposed as signal connections)
/external/dbus/bus/test-main.c
|
fe1cb3a9a1fc6bcbfa1b3be74ac9d5867005210f |
|
15-Apr-2003 |
Havoc Pennington <hp@redhat.com> |
2003-04-14 Havoc Pennington <hp@redhat.com> * dbus/dbus-userdb.c: user database abstraction, mostly to get caching, but at some point we might want to be able to use a different database. * bus/dispatch.c (bus_dispatch_sha1_test): add a test that uses SHA1 conf file to test the sha1 auth mechanism, since the regular test always uses EXTERNAL when available. * configure.in, test/data/valid-config-files/debug-allow-all-sha1.conf.in: add conf file that requires use of sha1 auth
/external/dbus/bus/test-main.c
|
77eac31aee89346d1399193be6199b9b16fb77af |
|
11-Apr-2003 |
Havoc Pennington <hp@redhat.com> |
2003-04-11 Havoc Pennington <hp@pobox.com> * test/decode-gcov.c: add "below average functions" to the coverage report, and change how some of the code works. * bus/test-main.c: bracket some stuff in DBUS_BUILD_TESTS so it's not in the coverage stats. * test/test-service.c (main): use _dbus_verbose not fprintf in a couple places so running the test suite doesn't result in megaspam.
/external/dbus/bus/test-main.c
|
bc8b061eec0fd9de6552a9e6118c40283863b6dc |
|
06-Apr-2003 |
Havoc Pennington <hp@redhat.com> |
2003-04-06 Havoc Pennington <hp@pobox.com> * dbus/dbus-threads.c: Redo how the fake debug mutexes are done so it detects deadlocks and also we actually init threads when debugging.
/external/dbus/bus/test-main.c
|
29c71168cd17b11eed65023c97aff401d5305b01 |
|
31-Mar-2003 |
Havoc Pennington <hp@redhat.com> |
2003-03-31 Havoc Pennington <hp@pobox.com> * dbus/dbus-transport-unix.c (_dbus_transport_new_for_domain_socket) (_dbus_transport_new_for_tcp_socket): these didn't need the "server" argument since they are always client side * dbus/dbus-server.c (dbus_server_get_address): new function * bus/main.c (main): take the configuration file as an argument. * test/data/valid-config-files/debug-allow-all.conf: new file to use with dispatch.c tests for example * bus/test-main.c (main): require test data dir * bus/bus.c (bus_context_new): change this to take a configuration file name as argument * doc/config-file.txt (Elements): add <servicedir> * bus/system.conf, bus/session.conf: new files * dbus/dbus-bus.c (dbus_bus_get): look for system bus on well-known socket if none set * configure.in: create system.conf and session.conf
/external/dbus/bus/test-main.c
|
bc86794f23fa538a405813fb61b531c2eacc9ae1 |
|
31-Mar-2003 |
Havoc Pennington <hp@redhat.com> |
2003-03-30 Havoc Pennington <hp@pobox.com> * bus/config-parser.c: hacking * dbus/dbus-memory.c: don't use DBusList for the list of stuff to shut down, since it could cause weirdness with the DBusList lock * dbus/dbus-list.c (_dbus_list_test): add tests for the link-oriented stack routines (alloc_link): free the mempool if the first alloc from it fails * dbus/dbus-mempool.c (struct DBusMemBlock): fix alignment issue * dbus/dbus-string.c (UNICODE_VALID): sync new version of this from GLib (_dbus_string_skip_white): new * doc/config-file.txt (Elements): add <includedir>
/external/dbus/bus/test-main.c
|
269d74f214f87bed0f6fd58f1c848240d31e0b9f |
|
26-Mar-2003 |
Havoc Pennington <hp@redhat.com> |
2003-03-26 Havoc Pennington <hp@pobox.com> * bus/test-main.c, dbus/dbus-test.c (main): check memleaks after every test so it's quick and easy to see which leaked, and so we test multiple dbus_shutdown() calls * configure.in: change configure.in XML stuff to also support expat * config-loader-libxml.c: some hacking * config-loader-expat.c: some hacking * config-parser.c: some hacking, plus tests
/external/dbus/bus/test-main.c
|
90ed1d84588a84697051e643175452c50d682ece |
|
26-Mar-2003 |
Havoc Pennington <hp@redhat.com> |
2003-03-25 Havoc Pennington <hp@redhat.com> * throughout - add more _DBUS_ASSERT_ERROR_IS_CLEAR * configure.in: add --with-xml option to specify XML library, right now only libxml is supported. * bus/config-loader-libxml.c, config-parser.c: sync some minor nonworking code between home and work, still just stubs
/external/dbus/bus/test-main.c
|
c3af5ccdbc22e8990d04ec2f89ad1f2e053655e9 |
|
24-Mar-2003 |
Havoc Pennington <hp@redhat.com> |
2003-03-23 Havoc Pennington <hp@pobox.com> * dbus/dbus-threads.c (dbus_mutex_new, dbus_condvar_new): with DBUS_BUILD_TESTS, actually alloc/free a block of memory for the mutex, so we can check for proper memory management and OOM handling. * dbus/dbus-dataslot.c: remove the mutex from DBusDataSlotAllocator and lock it manually when using it, to simplify fitting it into the global slots framework. * dbus/dbus-threads.c (init_static_locks): rework how we're handling global locks so they are easily shut down. * bus/policy.c (bus_policy_append_rule): fix * bus/test-main.c (main): check for memleaks * dbus/dbus-test.c (dbus_internal_do_not_use_run_tests): make test suite check for memleaks * dbus/dbus-memory.c: add support in test mode for tracking number of outstanding blocks
/external/dbus/bus/test-main.c
|
1fbf6fa49c90010f3f255f60944920ef8908701c |
|
18-Mar-2003 |
Havoc Pennington <hp@redhat.com> |
2003-03-17 Havoc Pennington <hp@redhat.com> * bus/test-main.c (main): make it print something as it runs so make check doesn't look stuck * doc/negotiation.txt, doc/dbus-sasl-profile.txt: remove from CVS, now obsolete
/external/dbus/bus/test-main.c
|
4c95a9782c65f88e2904c44abeb734a1b00f6353 |
|
15-Mar-2003 |
Havoc Pennington <hp@redhat.com> |
2003-03-14 Havoc Pennington <hp@redhat.com> * dbus/dbus-memory.c: add a "detect buffer overwrites on free" cheesy hack * dbus/dbus-transport-debug.c: rework this a good bit to be less complicated. hopefully still works. * dbus/dbus-server-debug.c (handle_new_client): remove timeout manually * glib/dbus-gmain.c (timeout_handler): don't remove timeout after running it * dbus/dbus-message.c (dbus_message_copy): rename from dbus_message_new_from_message, fix it up to copy all the message fields, add test case * bus/dispatch.c (bus_dispatch_test): add some more test code, not quite passing yet
/external/dbus/bus/test-main.c
|
3bea935316ff048e68dea6a26c2e8e9fd314477f |
|
14-Mar-2003 |
Havoc Pennington <hp@redhat.com> |
2003-03-13 Havoc Pennington <hp@redhat.com> * dbus/dbus-timeout.c (_dbus_timeout_list_set_functions): handle out of memory * dbus/dbus-watch.c (_dbus_watch_list_set_functions): handle out of memory * dbus/dbus-connection.h: Make AddWatchFunction and AddTimeoutFunction return a bool so they can fail on out-of-memory * bus/bus.c (bus_context_new): set up timeout handlers * bus/connection.c (bus_connections_setup_connection): set up timeout handlers * glib/dbus-gmain.c: adapt to the fact that set_functions stuff can fail * bus/bus.c (bus_context_new): adapt to changes * bus/connection.c: adapt to changes * test/watch.c: adapt to DBusWatch changes * bus/dispatch.c (bus_dispatch_test): started adding this but didn't finish
/external/dbus/bus/test-main.c
|
d65b73884cb876276b6bd73f4b1dfcd920984a8a |
|
13-Mar-2003 |
Havoc Pennington <hp@redhat.com> |
2003-03-13 Havoc Pennington <hp@pobox.com> * bus/test.c, bus/test.h, bus/Makefile.am, bus/test-main.c: set up a test framework as for the library
/external/dbus/bus/test-main.c
|