summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.2.4.4permissivedbus-1.2.4.4permissiveColin Walters2009-01-071-1/+1
|
* Add Scott to HACKINGColin Walters2009-01-061-2/+1
|
* Bug 17060: Explicitly hard fail if expat is not availableColin Walters2009-01-061-11/+8
| | | | * configure.in: Tweak libxml/expat detection and handling.
* Bug 17969: Don't test for abstract sockets if explicitly disabledLionel Landwerlin2009-01-061-0/+2
| | | | Signed-off-by: Colin Walters <walters@verbum.org>
* Bug 18064 - more efficient validation for fixed-size type arraysJon Gosting2009-01-061-11/+60
| | | | | | | * dbus/dbus-marshal-validate.c: If an array is fixed size, skip validation Signed-off-by: Colin Walters <walters@verbum.org>
* Initialize AVC earlier so we can look up service security contextsJames Carter2009-01-061-5/+5
| | | | | | | * bus/bus.c: Initialize AVC earlier: http://lists.freedesktop.org/archives/dbus/2008-October/010493.html Signed-off-by: Colin Walters <walters@verbum.org>
* Print serial in dbus-monitorMichael Meeks2009-01-061-1/+2
| | | | | | * tools/dbus-print-message.c: Print serial too. Signed-off-by: Colin Walters <walters@verbum.org>
* [win32] Protect usage of SIGHUP with #ifdefTor Lillqvist2009-01-062-9/+16
| | | | Signed-off-by: Colin Walters <walters@verbum.org>
* Bug 15412: Add --address option to dbus-sendLawrence R. Steeger2009-01-061-6/+45
| | | | Signed-off-by: Colin Walters <walters@verbum.org>
* Bug 18446: Keep umask for session busMatt McCutchen2009-01-0611-10/+72
| | | | Signed-off-by: Colin Walters <walters@verbum.org>
* Fix cross-compiling with autotools.Diego E. 'Flameeyes' Pettenò2009-01-061-4/+4
| | | | | | | | | | | The AC_CANONICAL_TARGET macro and the $target_os variables are used for the target of compilers and other code-generation tools, and should not be used during cross-compile of generic software. Replace them with AC_CANONICAL_HOST and $host_os instead, as they should have been from the start. For a breakdown of what host, build and target machines are, please see http://blog.flameeyes.eu/s/canonical-target .
* Avoid possible use of uninitialized variablePeter Breitenlohner2009-01-061-1/+1
| | | | Signed-off-by: Colin Walters <walters@verbum.org>
* Enable -Werror by default with --enable-maintainer-mode, and change warningsColin Walters2009-01-061-6/+42
| | | | | | | Important compiler warnings were being lost in the noise from warnings we know about but aren't problems, and moreover made using -Werror difficult. Now we expect *all* developers and testers to be using -Werror.
* Various compiler warning fixesColin Walters2009-01-066-6/+8
|
* Release 1.2.4.2permissive.dbus-1.2.4.2permissiveColin Walters2008-12-181-1/+1
|
* Add requested_reply to send denials, and connection loginfo to "would deny"Colin Walters2008-12-181-31/+38
| | | | | | The requested_reply field is necessary in send denials too because it's used in the policy language. The connection loginfo lack in "would deny" was just an oversight.
* Add uid, pid, and command to security logsColin Walters2008-12-185-21/+228
| | | | | | | | Extend the current security logs with even more relevant information than just the message content. This requires some utility code to look up and cache (as a string) the data such as the uid/pid/command when a connection is authenticated.
* Change configure to reflect branchColin Walters2008-12-181-2/+6
| | | | We are creating a new stream off of the 1.2.4 release.
* Revert to default permissiveColin Walters2008-12-161-1/+1
| | | | This branch is intended to keep the old default-permissive.
* Merge commit '3d6abf64d0abb2718e082e120f14f8f923a4af59' into dbus-1.2Colin Walters2008-12-162-47/+46
|\
| * Clean up and clarify default system policyColin Walters2008-12-122-47/+46
| | | | | | | | | | The former was too reliant on old bugs and was generally unclear. This one makes explicit exactly what is allowed and not.
* | Add optional logging on allow rulesColin Walters2008-12-164-16/+34
| | | | | | | | | | This lets us have a backwards compatibility allow rule but still easily see when that rule is being used.
* | Add message type to security syslog entriesColin Walters2008-12-121-2/+6
| | | | | | | | It's part of the security check, we should have it in the log.
* | Add syslog of security denials and configuration file reloadsColin Walters2008-12-1213-23/+170
|/ | | | | We need to start logging denials so that they become more easily trackable and debuggable.
* Bump version for unstable cycleColin Walters2008-12-091-1/+1
|
* Release 1.2.8dbus-1.2.8Colin Walters2008-12-091-1/+1
|
* Another manpage update explicitly mentioning bare send_interfaceColin Walters2008-12-091-2/+6
| | | | | We need to fix all of the bare send_interface rules; see: https://bugs.freedesktop.org/show_bug.cgi?id=18961
* Add at_console docs to manpage, as well as brief <policy> forewardColin Walters2008-12-091-2/+17
| | | | We need some sort of general advice here.
* Bug 18229: Allow signalsColin Walters2008-12-095-1/+60
| | | | | | | 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.
* Release 1.2.6dbus-1.2.6Colin Walters2008-12-051-1/+1
|
* Bug 18229 - Change system.conf to correctly deny non-reply sends by defaultTomas Hoger2008-12-051-2/+12
| | | | | | | | | | | The previous rule <allow send_requested_reply="true"/> was actually applied to all messages, even if they weren't a reply. This meant that in fact the default DBus policy was effectively allow, rather than deny as claimed. This fix ensures that the above rule only applies to actual reply messages. Signed-off-by: Colin Walters <walters@verbum.org>
* Infrastructure for testing a "system like" bus in test suiteColin Walters2008-12-054-2/+125
| | | | | | The tmp-session-like-system.conf bus configuration has a security policy intended to mirror that of the system bus. This allows testing policy rules.
* Bump configure again for gitColin Walters2008-10-061-1/+1
|
* Release 1.2.4dbus-1.2.4Colin Walters2008-10-061-1/+1
|
* 2008-08-24 Peter McCurdy <pmccurdy@skeptopotamus>Peter McCurdy2008-10-011-1/+1
| | | | | | | | * dbus/dbus-marshal-recursive.c: A stray comma between two string literals caused incorrect output and a compiler warning. Signed-off-by: Colin Walters <walters@verbum.org>
* Bug 17280: Add a prototype for _dbus_credentials_add_adt_audit_data()Peter McCurdy2008-10-011-0/+3
| | | | | | | * dbus/dbus-credentials.h: Add a prototype for _dbus_credentials_add_adt_audit_data() Signed-off-by: Colin Walters <walters@verbum.org>
* Bug 17803: Panic from dbus_signature_validateColin Walters2008-10-012-0/+2
| | | | | | * dbus/dbus-marshal-validate.c: Ensure we validate a basic type before calling is_basic on it. * dbus-marshal-validate-util.c: Test.
* Bug 17061: Handle error return from sysconf correctlyJoe Marcus Clarke2008-10-012-2/+10
| | | | | | | | | * dbus/dbus-sysdeps-unix.c: * dbus/dbus-sysdeps-util-unix.c: Cast return from sysconf temporarily so we actually see -1. Signed-off-by: Colin Walters <walters@verbum.org>
* Bug 13387: Fix compilation failure with AI_ADDRCONFIGJens Granseuer2008-10-011-2/+2
| | | | Signed-off-by: Colin Walters <walters@verbum.org>
* Bug 17352: synchronize the file before renamingArtem Bityutskiy2008-10-011-0/+9
| | | | | | | | | | | | | | Dbus is doing atomic file updates by copying them, changing the copy, and re-naming them. However, it does not synchronize the file before re-naming, which results in corruption in case of unclean reboots. The reason for this is that file-systems have write-back cache and they postpone writing data to the media. This patch adds the missed fsync() for the Unix part. I do not have windows so cannot provide a windows port fix. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: Colin Walters <walters@verbum.org>
* Correctly dist 1.2.3 tarball with docs enableddbus-1.2.3Colin Walters2008-08-061-1/+1
|
* Bump configure.ac to 1.2.2Colin Walters2008-08-061-2/+2
|
* Bug 15646: Remove spurious debugging fprintf(stderrColin Walters2008-07-281-1/+0
|
* Bug 16727: Handle ERANGE for getgr; fixes user in many groupsMarc Brockschmidt2008-07-282-27/+96
| | | | | | | | | | Patch originally from Noèl Köthe. Modified by Colin Walters <walters@verbum.org> * dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-unix-utils.c: Use a while() loop to reallocate buffer if we get ERANGE return. This fixes the case where a user is in a large number of groups.
* Bug 16294: Don't lose inotify watch when config fails to parseColin Walters2008-07-281-9/+12
| | | | | | * bus/dir-watch-inotify.c: Always drop the watch in handle_inotify_watch; this ensures we always readd it correctly in bus_drop_all_directory_watches.
* Bug 16838: Use bash instead of sh to avoid breaking on UbuntuColin Walters2008-07-241-1/+1
|
* Merge branch 'master' of ssh://walters@git.freedesktop.org/git/dbus/dbusColin Walters2008-07-2412-20/+531
|\
| * Fix leaks in bus_activation_get_environment error pathsRay Strode2008-07-151-2/+5
| | | | | | | | | | | | | | | | Commit 91306ef938873fce8f2ae2d4a6b3282d0379c65a introduced two memory leaks on OOM error paths. In one case the environment string array wasn't getting freed, and in the other case it was getting freed with dbus_free instead of dbus_free_string_array.
| * Update man page to make the point of the <type> element more clearRay Strode2008-07-121-1/+15
| | | | | | | | | | | | | | | | There have been a number of patches in the past try to key system versus session bus policy off of the message bus type, when the policy should be distinguished from more fine-grained options in the individulal policy files. Hopefully, this man page update will make that more clear.
| * Add new UpdateActivationEnvironment bus messageRay Strode2008-07-123-0/+169
| | | | | | | | | | | | | | | | It adjusts the environment of activated bus clients. This is important for session managers that get started after the session bus daemon and want to influence the environment of desktop services that are started by the bus.