1. 28 Sep, 2011 1 commit
  2. 01 Dec, 2009 1 commit
  3. 24 Jul, 2007 1 commit
    • Richard Hughes's avatar
      2007-07-24 Richard Hughes <richard@hughsie.com> · 5cfa0506
      Richard Hughes authored
      * configure.in:
      * test/Makefile.am:
      * test/data/invalid-service-files-system/org.freedesktop.DBus.TestS
      uiteNoExec.service.in:
      * test/data/invalid-service-files-system/org.freedesktop.DBus.TestS
      uiteNoService.service.in:
      * test/data/invalid-service-files-system/org.freedesktop.DBus.TestS
      uiteNoUser.service.in:
      * test/data/valid-config-files-system/debug-allow-all-fail.conf.in:
      * test/data/valid-config-files-system/debug-allow-all-pass.conf.in:
      * test/data/valid-config-files/debug-allow-all-sha1.conf.in:
      * test/data/valid-config-files/debug-allow-all.conf.in:
      * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui
      teEchoService.service.in:
      * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui
      teSegfaultService.service.in:
      * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui
      teShellEchoServiceFail.service.in:
      * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui
      teShellEchoServiceSuccess.service.in:
      * test/data/valid-service-files/debug-echo.service.in:
      * test/data/valid-service-files/debug-segfault.service.in:
      * test/data/valid-service-files/debug-shell-echo-fail.service.in:
      * test/data/valid-service-files/debug-shell-echo-success.service.in:
      * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteEchoS
      ervice.service.in:
      * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteSegfa
      ultService.service.in:
      * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShell
      EchoServiceFail.service.in:
      * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShell
      EchoServiceSuccess.service.in:
      Add the data files needed by the system activation unit checks.
      5cfa0506
  4. 20 Aug, 2003 1 commit
    • Havoc Pennington's avatar
      2003-08-19 Havoc Pennington <hp@pobox.com> · d0c58857
      Havoc Pennington authored
      	* dbus/dbus-message.c (decode_string_field): support FIELD_SENDER
      	(dbus_message_is_error): fix this function
      
      	* bus/dbus-daemon-1.1: clarify logic on when <deny>/<allow> rules
      	match
      
      	* bus/policy.c (bus_client_policy_check_can_receive): fix code to
      	reflect clarified man page
      	(bus_client_policy_check_can_send): ditto
      
      	* bus/session.conf.in: fixup
      
      	* bus/system.conf.in: fixup
      d0c58857
  5. 14 Apr, 2003 1 commit
    • Havoc Pennington's avatar
      2003-04-13 Havoc Pennington <hp@pobox.com> · 777707ed
      Havoc Pennington authored
      	* dbus/dbus-mainloop.c: fix some reentrancy issues by refcounting
      	callbacks
      
      	* test/data/valid-config-files/debug-allow-all.conf.in: allow all
      	users
      
      	* dbus/dbus-transport.c (_dbus_transport_get_dispatch_status):
      	fix to only recover unused bytes if we're already authenticated
      	(_dbus_transport_get_is_authenticated): fix to still mark us
      	authenticated if there are unused bytes.
      
      	* bus/dispatch.c: implement security policy checking
      
      	* bus/connection.c (bus_transaction_send_from_driver): new
      
      	* bus/bus.c (bus_context_check_security_policy): new
      
      	* bus/dispatch.c (send_service_nonexistent_error): delete this,
      	now we just set the DBusError and it gets converted to an error
      	reply.
      
      	* bus/connection.c (allow_user_function): enable code using actual
      	data from the config file
      
      	* bus/policy.c (list_allows_user): handle wildcard rules for
      	user/group connection perms
      777707ed
  6. 06 Apr, 2003 1 commit
    • Havoc Pennington's avatar
      2003-04-06 Havoc Pennington <hp@pobox.com> · c8991b0f
      Havoc Pennington authored
      	* bus/bus.c (bus_context_new): print the address in here, rather
      	than in main(), because we need to do it before forking the daemon
      
      	* bus/dispatch.c (send_service_nonexistent_error): set the sender
      	on the service nonexistent error
      
      	* bus/driver.c (bus_driver_handle_acquire_service): set the
      	sender on the AcquireService reply
      
      	* test/data/valid-config-files/debug-allow-all.conf.in: Make test
      	server also listen on a UNIX socket so services can connect to it.
      c8991b0f
  7. 03 Apr, 2003 1 commit
  8. 31 Mar, 2003 2 commits
    • Havoc Pennington's avatar
      2003-03-31 Havoc Pennington <hp@pobox.com> · 29c71168
      Havoc Pennington authored
      	* 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
      29c71168
    • Havoc Pennington's avatar
      2003-03-30 Havoc Pennington <hp@pobox.com> · bc86794f
      Havoc Pennington authored
      	* 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>
      bc86794f
  9. 26 Mar, 2003 1 commit
    • Havoc Pennington's avatar
      2003-03-26 Havoc Pennington <hp@pobox.com> · 269d74f2
      Havoc Pennington authored
      	* 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
      269d74f2