1. 07 Oct, 2004 1 commit
  2. 29 Sep, 2004 1 commit
    • Jon Trowbridge's avatar
      2004-09-28 Jon Trowbridge <trow@ximian.com> · 0c168e3e
      Jon Trowbridge authored
      	    * mono/BusDriver.cs: Changed BusDriver struct to remove
      	    the ServiceCreated and ServiceDeleted events and replace them
      	    with the new ServiceOwnerChanged event.
      	    * mono/example/BusListener.cs: Added a new example program,
      	    which listens for and reports any ServiceOwnerChanged events
      	    on the bus driver.
      	    * mono/example/Makefile.am (DESTDIR): Build changes for the
      	    new BusListener.cs example.
  3. 27 Sep, 2004 1 commit
  4. 24 Sep, 2004 1 commit
  5. 20 Sep, 2004 1 commit
    • Jon Trowbridge's avatar
      2004-09-20 Jon Trowbridge <trow@ximian.com> · 64b63e84
      Jon Trowbridge authored
      	    Patch from Nat Friedman <nat@novell.com>
      	    * mono/Makefile.am: A number of small build fixes to allow "make
      	    distcheck" to succeed.
      	    * mono/example/Makefile.am: "make distcheck" fixes.
      	    * mono/AssemblyInfo.cs.in: When signing the assembly, look for the
      	    key in @srcdir@.
      	    * test/Makefile.am: "make distcheck" fixes.
  6. 17 Sep, 2004 1 commit
    • Olivier Andrieu's avatar
      * dbus/dbus-sysdeps.c (_dbus_user_at_console): fix memleak in OOM. · 1658c8af
      Olivier Andrieu authored
      * doc/busconfig.dtd: update the DTD for the at_console attribute.
      * bus/driver.c (bus_driver_handle_hello): correctly handle Hello
      messages after the first one (bug #1389).
      * bus/dispatch.c (check_double_hello_message): add a test case for the
      double hello message bug.  (check_existent_service_activation): fix
      check of spawning error.
  7. 16 Sep, 2004 1 commit
  8. 12 Sep, 2004 1 commit
    • David Zeuthen's avatar
      2004-09-12 David Zeuthen <david@fubar.dk> · a24270a4
      David Zeuthen authored
      	Patch from Kay Sievers <kay.sievers@vrfy.org>
      	* bus/bus.c (bus_context_new):
      	* bus/bus.h:
      	* bus/main.c (usage)
      	Add commandline option --nofork to override configuration file
  9. 09 Sep, 2004 1 commit
  10. 04 Sep, 2004 2 commits
  11. 31 Aug, 2004 1 commit
    • Jon Trowbridge's avatar
      2004-08-30 Jon Trowbridge <trow@ximian.com> · 4a77a2dd
      Jon Trowbridge authored
      	    * mono/BusDriver.cs: Added.  This is a class for interacting with
      	    the org.freedesktop.DBus service.
      	    * mono/Message.cs: Added a mechanism to expose the message that is
      	    currently being dispatched via the static Message.Current
      	    property.  Added Message.Sender and Message.Destination
      	    * mono/Handler.cs: Expose the dispatched message via
      	    Message.Current when handling method calls.
      	    * mono/Service.cs: Expose the dispatched message via
      	    Message.Current when handling signal emissions.
      	    * mono/Connection.cs: Bind dbus_bus_get_base_service via the
      	    Connection.BaseService property.
  12. 29 Aug, 2004 2 commits
  13. 26 Aug, 2004 1 commit
  14. 25 Aug, 2004 2 commits
    • John Palmieri's avatar
      Console user security policy · b78d2220
      John Palmieri authored
      * bus/config-parser.c:
      (struct PolicyType): Add POLICY_CONSOLE
      (struct Element.d.policy): s/gid_or_uid/gid_uid_or_at_console
      (start_busconfig_child): Sets up console element when
      <policy at_console=""> is encountered in a policy file
      (append_rule_from_element): Convert console elements to console
      * bus/policy.c:
      (bus_policy_create_client_policy): Add console rules to the client
      policy based on if the client is at the console
      (bus_policy_append_console_rule): New function for adding a
      console rule to a policy
      (bus_policy_merge): Handle console rule merging
      * dbus/dbus-sysdeps.h: Added the DBUS_CONSOLE_DIR constant
      where we check for console user files
      * dbus/dbus-sysdeps.c:
      (_dbus_file_exists): New function which checks if the given
      file exists
      (_dbus_user_at_console): New function which does the system
      specific process of checking if the user is at the console
      * dbus/dbus-userdb.c:
      (_dbus_is_console_user): New function converts a UID to user name
      and then calls the system specific _dbus_user_at_console to
      see if the user is at the console and therefor a console user
    • Olivier Andrieu's avatar
      * bus/config-parser.c (set_limit): · 8a2c91b8
      Olivier Andrieu authored
      * bus/dbus-daemon-1.1.in:
      * test/data/valid-config-files/many-rules.conf: set the
      max_match_rules_per_connection limt from the config file.
      * doc/busconfig.dtd: update the DTD.
      * bus/driver.c: remove some unused variables.
  15. 24 Aug, 2004 1 commit
  16. 23 Aug, 2004 5 commits
    • Colin Walters's avatar
      *** empty log message *** · bb7876f0
      Colin Walters authored
    • Colin Walters's avatar
      *** empty log message *** · 642dcad6
      Colin Walters authored
    • Colin Walters's avatar
      2004-08-23 Colin Walters <walters@redhat.com> · ee78f280
      Colin Walters authored
      	* 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
      	* 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
    • Havoc Pennington's avatar
      might be nice if my patches compiled... · a7291aee
      Havoc Pennington authored
    • Havoc Pennington's avatar
      2004-08-23 Havoc Pennington <hp@redhat.com> · bd4db645
      Havoc Pennington authored
      	* dbus/dbus-sysdeps.c (_dbus_change_identity): add setgroups() to
      	drop supplementary groups, suggested by Steve Grubb
  17. 20 Aug, 2004 1 commit
  18. 17 Aug, 2004 1 commit
    • Joe Shaw's avatar
      2004-08-17 Joe Shaw <joeshaw@novell.com> · 00f0e767
      Joe Shaw authored
      	* configure.in: If --enable-mono is passed in, if we can't find
      	mono error out.
      	* mono/Makefile.am: Use /gacutil to install assemblies into the
      	GAC and not /root.
  19. 12 Aug, 2004 2 commits
  20. 11 Aug, 2004 1 commit
  21. 10 Aug, 2004 4 commits
  22. 03 Aug, 2004 1 commit
  23. 31 Jul, 2004 5 commits
  24. 30 Jul, 2004 1 commit
    • Havoc Pennington's avatar
      2004-07-24 Havoc Pennington <hp@redhat.com> · 1e9b185b
      Havoc Pennington authored
      	SELinux support from Matthew Rickard <mjricka@epoch.ncsc.mil>
      	* bus/selinux.c, bus/selinux.h: new file encapsulating selinux
      	* 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
  25. 29 Jul, 2004 1 commit
    • Olivier Andrieu's avatar
      * bus/config-loader-libxml.c: complete the implementation of libxml · 4076d31c
      Olivier Andrieu authored
      backend for config file loader. Doesn't work with full OOM test yet.
      * configure.in: change error when selecting libxml into a warning.
      * test/data/invalid-config-files: add two non-well-formed XML files.
      * glib/Makefile.am: libdbus_gtool always uses expat, not libxml.
      * dbus/dbus-transport-unix.c (unix_handle_watch): do not disconnect in
      case of DBUS_WATCH_HANGUP, several do_reading() may be necessary to
      read all the buffer. (bug #894)
      * bus/activation.c (bus_activation_activate_service): fix a potential
      assertion failure (bug #896). Small optimization in the case of
      auto-activation messages.
      * dbus/dbus-message.c (verify_test_message, _dbus_message_test): add
      test case for byte-through-vararg bug (#901). patch by Kimmo