1. 18 Dec, 2008 1 commit
  2. 12 Dec, 2008 3 commits
  3. 09 Dec, 2008 2 commits
    • Colin Walters's avatar
      Bug 18229: Allow signals · d8997344
      Colin Walters authored
      Our previous fix went too far towards lockdown; many things rely
      on signals to work, and there's no really good reason to restrict
      which signals can be emitted on the bus because we can't tie
      them to a particular sender.
    • Colin Walters's avatar
      Bug 18229: Allow signals · 920c3c02
      Colin Walters authored
      Our previous fix went too far towards lockdown; many things rely
      on signals to work, and there's no really good reason to restrict
      which signals can be emitted on the bus because we can't tie
      them to a particular sender.
  4. 05 Dec, 2008 1 commit
  5. 10 Nov, 2008 1 commit
  6. 23 May, 2007 1 commit
  7. 15 Mar, 2007 1 commit
  8. 26 Jan, 2007 1 commit
    • Havoc Pennington's avatar
      2007-01-26 Havoc Pennington <hp@redhat.com> · 8d3d8ff5
      Havoc Pennington authored
      	* 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
  9. 01 Nov, 2006 1 commit
    • John Palmieri's avatar
      * configure.in: expose DBUS_DATADIR · 5640f7a5
      John Palmieri authored
      * 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
  10. 03 Aug, 2006 1 commit
  11. 29 Aug, 2005 1 commit
    • John Palmieri's avatar
      * Release 0.36.2 · b701a78a
      John Palmieri authored
      * Add Havoc's patch that never got applied to HEAD (Bug #2436):
      * bus/policy.c (bus_policy_allow_user): change default "user is
      allowed" to be "user has same uid as the bus itself"; any
      allow/deny rules will override.
      * bus/session.conf.in: don't allow all users, since now by default
      the user that ran the bus can connect.
  12. 25 Oct, 2004 1 commit
    • John Palmieri's avatar
      John (J5) Palmieri <johnp@redhat.com> · 4612de01
      John Palmieri authored
              * dbus/dbus-sysdeps.c (fill_user_info): On errors do not free
              the DBusUserInfo structure since this is passed into the function.
              This would cause a double free when the function that allocated
              the structure would try to free it when an error occured.
              * (bus/session.conf.in, bus/Makefile.am, dbus/configure.in):
              use /usr/share/dbus-1/services instead of /usr/lib/dbus-1.0/services
              for service activation to avoid 32bit/64bit parallel install issues
  13. 18 Oct, 2004 1 commit
    • Colin Walters's avatar
      2004-10-18 Colin Walters <walters@verbum.org> · 736fa825
      Colin Walters authored
      	* bus/selinux.h: Add bus_selinux_enabled.
      	* bus/selinux.c (bus_selinux_enabled): Implement it.
      	* bus/config-parser.c (struct include): Add
      	if_selinux_enabled member.
      	(start_busconfig_child): Parse if_selinux_enabled
      	attribute for include.
      	(bus_config_parser_content): Handle it.
      	* bus/session.conf.in, bus/system.conf.in: Add
      	inclusion of context mapping to default config files;
      	conditional on SELinux being enabled.
      	* doc/busconfig.dtd: Add to if_selinux_enabled to default DTD.
      	* test/data/invalid-config-files/badselinux-1.conf,
      	Test files for bad syntax.
  14. 25 Sep, 2003 2 commits
  15. 21 Sep, 2003 1 commit
    • Havoc Pennington's avatar
      2003-09-21 Havoc Pennington <hp@pobox.com> · a683a80c
      Havoc Pennington authored
      	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
      	* 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
  16. 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
      	* 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
  17. 14 May, 2003 1 commit
    • James Willcox's avatar
      · e9cb382d
      James Willcox authored
      2003-05-13  James Willcox  <jwillcox@gnome.org>
      	* configure.in:
      	* bus/activation.c: (bus_activation_service_created),
      	* bus/driver.c: (bus_driver_send_service_deleted),
      	(bus_driver_send_service_created), (bus_driver_send_service_lost),
      	* bus/session.conf.in:
      	* dbus/dbus-bus.c: (dbus_bus_acquire_service),
      	(dbus_bus_service_exists), (dbus_bus_activate_service):
      	* dbus/dbus-bus.h:
      	Add some convenience API which lets you activate a service, and did a
      	bunch of s/0/DBUS_TYPE_INVALID/ in calls to dbus_message_append_args()
      	and dbus_message_get_args()
  18. 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
      	* test/data/valid-config-files/debug-allow-all.conf.in: allow all
      	* 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
      	* 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
  19. 06 Apr, 2003 1 commit
    • Havoc Pennington's avatar
      2003-04-06 Havoc Pennington <hp@pobox.com> · e45e4382
      Havoc Pennington authored
      	* bus/bus.c (bus_context_new): fix wrong handling of
      	server_data_slot_unref() in the error case.
      	* dbus/dbus-internals.h (_dbus_assert): change so it passes
      	"(condition) != 0" to _dbus_real_assert so that
      	"_dbus_assert (pointer)" doesn't cause a warning
      	* bus/main.c (main): accept --print-address option to print out
      	the message bus address
      	* dbus/dbus-sysdeps.c (_dbus_generate_random_ascii): export this
      	* dbus/dbus-transport.c (_dbus_transport_open): special error for
      	"tmpdir" option to unix: address on client side
      	* dbus/dbus-server.c (dbus_server_listen): handle "tmpdir" option
      	to unix: address
      	* configure.in (TEST_SOCKET_DIR): locate a temporary directory
      	we can use to create sockets in the test suite.
      	* bus/main.c (signal_handler): on SIGTERM, exit the daemon
      	cleanly. To be used for testing.
      	* dbus/dbus-spawn.c (babysit): use _dbus_set_signal_handler()
      	* dbus/dbus-sysdeps.c (_dbus_set_signal_handler): new
      	* dbus/dbus-server-debug-pipe.c (_dbus_transport_debug_pipe_new):
      	handle trying to call this when there's no servers active
  20. 03 Apr, 2003 1 commit
    • Havoc Pennington's avatar
      2003-04-03 Havoc Pennington <hp@pobox.com> · eeb88949
      Havoc Pennington authored
      	* bus/config-parser.c (bus_config_parser_unref): free
      	list of mechanisms, bug discovered by test suite enhancements
      	(putting system.conf and session.conf into suite)
      	* test/Makefile.am, test/test-service.c: add placeholder for a
      	test service that we'll activate as part of test suite. Doesn't
      	do anything yet.
      	* dbus/dbus-sysdeps.c (_dbus_setenv): support unsetenv by
      	setting NULL value, and use system malloc not dbus_malloc()
      	when we have unavoidable memleakage.
      	* dbus/dbus-bus.c (dbus_bus_get): fix bug where bus type of 0
      	didn't work, and support DBUS_BUS_ACTIVATION.
      	* bus/activation.c (child_setup): pass our well-known bus type to
      	the child
      	* bus/config-parser.c: support <type> to specify well-known type
      	* doc/dbus-specification.sgml: document the env variables to
      	locate well-known buses and find service activator
  21. 31 Mar, 2003 1 commit
    • 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